public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* GCC Build
@ 2000-02-04  9:31                     ` Gregory P. Sherwood
  2000-02-06 19:06                       ` Alexandre Oliva
  2000-04-01  0:00                       ` Gregory P. Sherwood
  0 siblings, 2 replies; 28+ messages in thread
From: Gregory P. Sherwood @ 2000-02-04  9:31 UTC (permalink / raw)
  To: gcc-help

I'm trying to build (make bootstrap)  GCC 2.95.2 & keep getting the 
following error:

   -c `echo /usr/local/src/gcc-2.95.2/gcc/cccp.c | sed 's,^\./,,'`
In file included from /usr/local/src/gcc-2.95.2/gcc/cccp.c:21:
config.h:8: /usr/local/gnu/xm-.h: No such file or directory
make[1]: *** [cccp.o] Error 1
make[1]: Leaving directory `/usr/local/gnu/gcc'
make: *** [all-gcc] Error 2

It looks like the process is trying to find files actually located in
   /usr/local/src/gcc-2.95.2/gcc/config/

Any ideas would be greatly appreciated.

Cheers,
   Greg

http://www.talarian.com


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: GCC Build
  2000-02-04  9:31                     ` GCC Build Gregory P. Sherwood
@ 2000-02-06 19:06                       ` Alexandre Oliva
  2000-02-07  9:20                         ` Gregory P. Sherwood
  2000-04-01  0:00                         ` Alexandre Oliva
  2000-04-01  0:00                       ` Gregory P. Sherwood
  1 sibling, 2 replies; 28+ messages in thread
From: Alexandre Oliva @ 2000-02-06 19:06 UTC (permalink / raw)
  To: Gregory P. Sherwood; +Cc: gcc-help

On Feb  4, 2000, "Gregory P. Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the target
platform you've configured for?

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: GCC Build
  2000-02-06 19:06                       ` Alexandre Oliva
@ 2000-02-07  9:20                         ` Gregory P. Sherwood
  2000-04-01  0:00                           ` Gregory P. Sherwood
  2000-04-01  0:00                         ` Alexandre Oliva
  1 sibling, 1 reply; 28+ messages in thread
From: Gregory P. Sherwood @ 2000-02-07  9:20 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

I think I had something screwed up in my default path, load library path
or something with the "--prefix" option when I ran the
configure.  I redid it & it worked fine.

Thanks for getting back to me.

Cheers,
  Greg

****************************************************************
Gregory P.
Sherwood                        
Talarian Corporation
Webmaster                                  
333 Distel Circle
Email:
Greg.Sherwood@talarian.com          
Los Altos, CA 94022
                                    http://www.talarian.com
Voice: 650.965.8050 x:162  Fax: 650.965.9077  Page:
888.732.4398
****************************************************************


At 2/7/00 01:06 AM, Alexandre Oliva wrote:
On Feb  4, 2000, "Gregory P.
Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the
target
platform you've configured for?

-- 
Alexandre Oliva
http://www.ic.unicamp.br/~oliva
IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


^ permalink raw reply	[flat|nested] 28+ messages in thread

* GCC Build
  2000-02-04  9:31                     ` GCC Build Gregory P. Sherwood
  2000-02-06 19:06                       ` Alexandre Oliva
@ 2000-04-01  0:00                       ` Gregory P. Sherwood
  1 sibling, 0 replies; 28+ messages in thread
From: Gregory P. Sherwood @ 2000-04-01  0:00 UTC (permalink / raw)
  To: gcc-help

I'm trying to build (make bootstrap)  GCC 2.95.2 & keep getting the 
following error:

   -c `echo /usr/local/src/gcc-2.95.2/gcc/cccp.c | sed 's,^\./,,'`
In file included from /usr/local/src/gcc-2.95.2/gcc/cccp.c:21:
config.h:8: /usr/local/gnu/xm-.h: No such file or directory
make[1]: *** [cccp.o] Error 1
make[1]: Leaving directory `/usr/local/gnu/gcc'
make: *** [all-gcc] Error 2

It looks like the process is trying to find files actually located in
   /usr/local/src/gcc-2.95.2/gcc/config/

Any ideas would be greatly appreciated.

Cheers,
   Greg

http://www.talarian.com


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: GCC Build
  2000-02-07  9:20                         ` Gregory P. Sherwood
@ 2000-04-01  0:00                           ` Gregory P. Sherwood
  0 siblings, 0 replies; 28+ messages in thread
From: Gregory P. Sherwood @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 1549 bytes --]

I think I had something screwed up in my default path, load library path
or something with the "--prefix" option when I ran the
configure.  I redid it & it worked fine.

Thanks for getting back to me.

Cheers,
  Greg

****************************************************************
Gregory P.
Sherwood                        
Talarian Corporation
Webmaster                                  
333 Distel Circle
Email:
Greg.Sherwood@talarian.com          
Los Altos, CA 94022
                                    http://www.talarian.com
Voice: 650.965.8050 x:162  Fax: 650.965.9077  Page:
888.732.4398
****************************************************************


At 2/7/00 01:06 AM, Alexandre Oliva wrote:
On Feb  4, 2000, "Gregory P.
Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the
target
platform you've configured for?

-- 
Alexandre Oliva
http://www.ic.unicamp.br/~oliva
IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: GCC Build
  2000-02-06 19:06                       ` Alexandre Oliva
  2000-02-07  9:20                         ` Gregory P. Sherwood
@ 2000-04-01  0:00                         ` Alexandre Oliva
  1 sibling, 0 replies; 28+ messages in thread
From: Alexandre Oliva @ 2000-04-01  0:00 UTC (permalink / raw)
  To: Gregory P. Sherwood; +Cc: gcc-help

On Feb  4, 2000, "Gregory P. Sherwood" <Greg.Sherwood@talarian.com> wrote:

> config.h:8: /usr/local/gnu/xm-.h: No such file or directory

Looks like something went wrong with `configure'.  What's the target
platform you've configured for?

-- 
Alexandre Oliva http://www.ic.unicamp.br/~oliva IC-Unicamp, Bra[sz]il
oliva@{lsd.ic.unicamp.br,guarana.{org,com}} aoliva@{acm,computer}.org
oliva@{gnu.org,kaffe.org,{egcs,sourceware}.cygnus.com,samba.org}
** I may forward mail about projects to mailing lists; please use them

^ permalink raw reply	[flat|nested] 28+ messages in thread

* gnu gcc in BSDI 4.0.1
@ 2000-07-28  0:03                     ` assakhof
  2000-07-28  0:09                       ` Alexandre Oliva
  0 siblings, 1 reply; 28+ messages in thread
From: assakhof @ 2000-07-28  0:03 UTC (permalink / raw)
  To: gcc-help

Hi,

I got this error when building gnu-gcc in BSDI 4.0.1.

fini.o: In function `main':
/var/src/gcc-2.95.2/gcc/f/fini.c:318: undefined reference to `__eprintf'
fini.o: In function `testname':
/var/src/gcc-2.95.2/gcc/f/fini.c:638: undefined reference to `__eprintf'
/var/src/gcc-2.95.2/gcc/f/fini.c:639: undefined reference to `__eprintf'
fini.o: In function `testnames':
/var/src/gcc-2.95.2/gcc/f/fini.c:712: undefined reference to `__eprintf'
/var/src/gcc-2.95.2/gcc/f/fini.c:713: undefined reference to `__eprintf'
make[2]: *** [fini] Error 1
make[2]: Leaving directory `/var/src/gcc_obj/gcc/f'
make[1]: *** [f771] Error 2
make[1]: Leaving directory `/var/src/gcc_obj/gcc'
make: *** [all-gcc] Error 2


Anybody 've an idea to solve this ?

Thanks in advance,

--assakhof

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  0:03                     ` gnu gcc in BSDI 4.0.1 assakhof
@ 2000-07-28  0:09                       ` Alexandre Oliva
  2000-07-28  5:50                         ` assakhof
  0 siblings, 1 reply; 28+ messages in thread
From: Alexandre Oliva @ 2000-07-28  0:09 UTC (permalink / raw)
  To: assakhof; +Cc: gcc-help

On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:

> /var/src/gcc-2.95.2/gcc/f/fini.c:713: undefined reference to `__eprintf'

> Anybody 've an idea to solve this ?

Try `make bootstrap', in case you didn't, as per the installation
instructions.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  0:09                       ` Alexandre Oliva
@ 2000-07-28  5:50                         ` assakhof
  2000-07-28  6:00                           ` Alexandre Oliva
  0 siblings, 1 reply; 28+ messages in thread
From: assakhof @ 2000-07-28  5:50 UTC (permalink / raw)
  To: gcc-help

At 04:09 AM 7/28/2000 -0300, Alexandre Oliva wrote:
>On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:
>
> > /var/src/gcc-2.95.2/gcc/f/fini.c:713: undefined reference to `__eprintf'
>
> > Anybody 've an idea to solve this ?
>
>Try `make bootstrap', in case you didn't, as per the installation
>instructions.

I've tried that too. I got this error message:

---8<---- snip --

/var/tmp/ccVb72jg.s: Assembler messages:
/var/tmp/ccVb72jg.s:121: Error: Alignment not a power of 2
make[2]: *** [libgcc2.a] Error 1
make[2]: Leaving directory `/var/src/gcc_obj/gcc'
make[1]: *** [bootstrap] Error 2
make[1]: Leaving directory `/var/src/gcc_obj/gcc'
make: *** [bootstrap] Error 2

Do I need to install GNU binutils ?

Rgds,

--assakhof

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  5:50                         ` assakhof
@ 2000-07-28  6:00                           ` Alexandre Oliva
  2000-07-28 18:05                             ` assakhof
  0 siblings, 1 reply; 28+ messages in thread
From: Alexandre Oliva @ 2000-07-28  6:00 UTC (permalink / raw)
  To: assakhof; +Cc: gcc-help

On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:

> /var/tmp/ccVb72jg.s:121: Error: Alignment not a power of 2

Incompatibility between GCC and the assembler.  Which assembler are
you using?

> Do I need to install GNU binutils ?

Maybe.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28  6:00                           ` Alexandre Oliva
@ 2000-07-28 18:05                             ` assakhof
  2000-07-29 10:51                               ` Alexandre Oliva
  0 siblings, 1 reply; 28+ messages in thread
From: assakhof @ 2000-07-28 18:05 UTC (permalink / raw)
  To: gcc-help

At 10:00 AM 7/28/2000 -0300, Alexandre Oliva wrote:
>On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:
>
> > /var/tmp/ccVb72jg.s:121: Error: Alignment not a power of 2
>
>Incompatibility between GCC and the assembler.  Which assembler are
>you using?

# as -V
GNU assembler version 2.8.1 (bsd/os), using BFD version 2.8.1

> > Do I need to install GNU binutils ?
>
>Maybe.

I get binutils-2.10, so I decide to install it. But then I got this error 
(during binutils installation):

trad-core.c: In function `trad_unix_core_file_p':
trad-core.c:188: `USRSTACK' undeclared (first use this function)
trad-core.c:188: (Each undeclared identifier is reported only once
trad-core.c:188: for each function it appears in.)
make[3]: *** [trad-core.lo] Error 1
make[3]: Leaving directory `/var/src/binutils-2.10/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/src/binutils-2.10/bfd'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/var/src/binutils-2.10/bfd'
make: *** [all-bfd] Error 2

But there were no word USRSTACK in trad-core.c ... It make me confuse.

FYI, I used GNU make-3.79 . Any help greatly appreciated.

Rgds,

--assakhof

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gnu gcc in BSDI 4.0.1
  2000-07-28 18:05                             ` assakhof
@ 2000-07-29 10:51                               ` Alexandre Oliva
  0 siblings, 0 replies; 28+ messages in thread
From: Alexandre Oliva @ 2000-07-29 10:51 UTC (permalink / raw)
  To: assakhof; +Cc: gcc-help

On Jul 28, 2000, assakhof <assakhof@mimos.my> wrote:

> I get binutils-2.10, so I decide to install it. But then I got this
> error (during binutils installation):

Then you should report the problem to the binutils mailing list.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 28+ messages in thread

* code broken by gcc 3.0
@ 2001-08-15 23:46                     ` Brent Phillips
  2001-08-16 18:18                       ` Alexandre Oliva
  0 siblings, 1 reply; 28+ messages in thread
From: Brent Phillips @ 2001-08-15 23:46 UTC (permalink / raw)
  To: gcc-help

Hi,

I've just upgraded to gcc 3.0, and (no surprise) my code breaks. But, I 
can't figure out what is the source of this error. Any suggestions are 
greatly appreciated!

In file included from /usr/include/g++-v3/bits/stl_algobase.h:44,
from /usr/include/g++-v3/bits/std_memory.h:20,
from /usr/include/g++-v3/bits/std_string.h:43,
from /usr/include/g++-v3/bits/localefwd.h:42,
from /usr/include/g++-v3/bits/std_ios.h:43,
from /usr/include/g++-v3/bits/std_ostream.h:39,
from /usr/include/g++-v3/bits/std_iostream.h:40,
from /usr/include/g++-v3/backward/iostream.h:32,
from /usr/include/g++-v3/backward/iterator.h:33,
from /usr/include/g++-v3/backward/algobase.h:31,
from /usr/include/g++-v3/backward/vector.h:31,
from ../include/LmIdSet.h:15,
from ../include/LmPlayerDB.h:21,
from LmPlayerDBF.cpp:15:
/usr/include/g++-v3/bits/std_cstdlib.h: At global scope:
/usr/include/g++-v3/bits/std_cstdlib.h:103: `system' not declaredmake: *** 
[LmPlayerDBF.o] Error 1


Sincerely,

Brent

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: code broken by gcc 3.0
  2001-08-15 23:46                     ` code broken by gcc 3.0 Brent Phillips
@ 2001-08-16 18:18                       ` Alexandre Oliva
  2001-08-16 22:05                         ` Brent Phillips
  0 siblings, 1 reply; 28+ messages in thread
From: Alexandre Oliva @ 2001-08-16 18:18 UTC (permalink / raw)
  To: Brent Phillips; +Cc: gcc-help

On Aug 16, 2001, Brent Phillips <brent@lyrastudios.com> wrote:

> /usr/include/g++-v3/bits/std_cstdlib.h: At global scope:
> /usr/include/g++-v3/bits/std_cstdlib.h:103: `system' not declared

It looks like a declaration for function system() is missing in the
standard header files of whatever OS you're running, and such a
declaration appears to be necessary for std_cstdlib.h to compile
properly.  We have to either fixinc stdlib.h or introduce a configure
test in libstdc++-v3 that detects whether there is a declaration of
::system() in stdlib.h.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: code broken by gcc 3.0
  2001-08-16 18:18                       ` Alexandre Oliva
@ 2001-08-16 22:05                         ` Brent Phillips
  0 siblings, 0 replies; 28+ messages in thread
From: Brent Phillips @ 2001-08-16 22:05 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

Hi,

Looking in stdlib.h, I find:

/* Execute the given line as a shell command.  */
extern int system (__const char *__command) __THROW;

Experimenting with a test program, I found that this error always occurs 
unless <stdlib.h> and <unistd.h> are both included before <vector>.

HOWEVER...my app still won't compile, even after adding  <stdlib.h> and 
<unistd.h> before <vector>. What's going on here?

Sincerely,

Brent


At 10:15 PM 8/16/2001 -0300, Alexandre Oliva wrote:
>On Aug 16, 2001, Brent Phillips <brent@lyrastudios.com> wrote:
>
> > /usr/include/g++-v3/bits/std_cstdlib.h: At global scope:
> > /usr/include/g++-v3/bits/std_cstdlib.h:103: `system' not declared
>
>It looks like a declaration for function system() is missing in the
>standard header files of whatever OS you're running, and such a
>declaration appears to be necessary for std_cstdlib.h to compile
>properly.  We have to either fixinc stdlib.h or introduce a configure
>test in libstdc++-v3 that detects whether there is a declaration of
>::system() in stdlib.h.
>
>--
>Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
>Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
>CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
>Free Software Evangelist    *Please* write to mailing lists, not to me


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
  2009-03-30 10:28 ` Jason Pernito
  2009-03-30 10:32   ` M R Swami Reddy
@ 2009-03-30 10:37   ` M R Swami Reddy
  1 sibling, 0 replies; 28+ messages in thread
From: M R Swami Reddy @ 2009-03-30 10:37 UTC (permalink / raw)
  To: Jason Pernito; +Cc: gcc-help

Hi,
Thanks for reply.
Its working..
=====
ldd cc1
         libmpfr.so.1 => 
/scratch/kafi/downloads/mpfr/mpfr-2.3.1/rel/lib/libmpfr.so.1 (0x008f1000)
         libgmp.so.3 => 
/scratch/kafi/downloads/gmp/gmp-4.2.3/rel/lib/libgmp.so.3 (0x00fc9000)
         libc.so.6 => /lib/tls/libc.so.6 (0x0051c000)
         /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00291000)
====

Thanks
Swami

Jason Pernito wrote:
> On Mon, Mar 30, 2009 at 6:09 PM, M R Swami Reddy <MR.Swami.Reddy@nsc.com> wrote:
>> Hello,
>>
>> I am building the gcc tools for crx-elf target. During the build:
>> ===
>> build-trunk/crx-elf/libgcc/config.log:
>> ...
>> ./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open
>> shared object file: No such file or directory.
>> ...
>> ===
>> Set the LD_LIBRARY_PATH for LD_LIBRARY_PATH for libmpfr.so.1 and libgmp.so.1
>> as follows:
>> ===
>>> echo $LD_LIBRARY_PATH
>> /scratch/kafi/downloads/mpfr/mpfr-2.3.1/rel/lib:/scratch/kafi/downloads/gmp/gmp-4.2.3/rel/lib
>> ==
>>
>> Please let me know, if any more setting required.
>>
>> gcc version with gcc trunk sources:
>> ===
>> gcc version 4.5.0 20090330 (experimental) (GCC)
>> ==
> 
> 
> Were you able to successfully build both gmp and mpfr? Take note that
> if you are building them separately (not built within the gcc source
> tree that you have), you have to build gmp first before the mpfr.
> 
> HTH,
> -jason


^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
  2009-03-30 10:28 ` Jason Pernito
@ 2009-03-30 10:32   ` M R Swami Reddy
  2009-03-30 10:37   ` M R Swami Reddy
  1 sibling, 0 replies; 28+ messages in thread
From: M R Swami Reddy @ 2009-03-30 10:32 UTC (permalink / raw)
  To: Jason Pernito; +Cc: gcc-help

>> build-trunk/crx-elf/libgcc/config.log:
>> ...
>> ./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open
>> shared object file: No such file or directory.
>> ...
>> ===
>> Set the LD_LIBRARY_PATH for LD_LIBRARY_PATH for libmpfr.so.1 and libgmp.so.1
>> as follows:
>> ===
>>> echo $LD_LIBRARY_PATH
>> /scratch/kafi/downloads/mpfr/mpfr-2.3.1/rel/lib:/scratch/kafi/downloads/gmp/gmp-4.2.3/rel/lib
>> ==
>>
>> Please let me know, if any more setting required.
>>
>> gcc version with gcc trunk sources:
>> ===
>> gcc version 4.5.0 20090330 (experimental) (GCC)
>> ==
> 
> 
> Were you able to successfully build both gmp and mpfr? Take note that
> if you are building them separately (not built within the gcc source
> tree that you have), you have to build gmp first before the mpfr.

I built both gcc 4.4.0 20090313 version of gcc (sources from trunk) with above 
libraries.
And today, I just updated the sources (using 'svn up') and tried to build,
but failed with above error.

Thanks
Swami

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
  2009-03-30 10:09 gcc build M R Swami Reddy
@ 2009-03-30 10:28 ` Jason Pernito
  2009-03-30 10:32   ` M R Swami Reddy
  2009-03-30 10:37   ` M R Swami Reddy
  0 siblings, 2 replies; 28+ messages in thread
From: Jason Pernito @ 2009-03-30 10:28 UTC (permalink / raw)
  To: M R Swami Reddy; +Cc: gcc-help

On Mon, Mar 30, 2009 at 6:09 PM, M R Swami Reddy <MR.Swami.Reddy@nsc.com> wrote:
> Hello,
>
> I am building the gcc tools for crx-elf target. During the build:
> ===
> build-trunk/crx-elf/libgcc/config.log:
> ...
> ./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open
> shared object file: No such file or directory.
> ...
> ===
> Set the LD_LIBRARY_PATH for LD_LIBRARY_PATH for libmpfr.so.1 and libgmp.so.1
> as follows:
> ===
>> echo $LD_LIBRARY_PATH
> /scratch/kafi/downloads/mpfr/mpfr-2.3.1/rel/lib:/scratch/kafi/downloads/gmp/gmp-4.2.3/rel/lib
> ==
>
> Please let me know, if any more setting required.
>
> gcc version with gcc trunk sources:
> ===
> gcc version 4.5.0 20090330 (experimental) (GCC)
> ==


Were you able to successfully build both gmp and mpfr? Take note that
if you are building them separately (not built within the gcc source
tree that you have), you have to build gmp first before the mpfr.

HTH,
-jason
-- 
"Regard your soldiers as your children,
  and they will follow you into the deepest valleys.
  Look on them as your beloved sons,
  and they will stand by you even unto death!"

  - Sun Tzu, the art of war

^ permalink raw reply	[flat|nested] 28+ messages in thread

* gcc build
@ 2009-03-30 10:09 M R Swami Reddy
  2009-03-30 10:28 ` Jason Pernito
  0 siblings, 1 reply; 28+ messages in thread
From: M R Swami Reddy @ 2009-03-30 10:09 UTC (permalink / raw)
  To: gcc-help

Hello,

I am building the gcc tools for crx-elf target. During the build:
===
build-trunk/crx-elf/libgcc/config.log:
...
./gcc/cc1: error while loading shared libraries: libmpfr.so.1: cannot open 
shared object file: No such file or directory.
...
===
Set the LD_LIBRARY_PATH for LD_LIBRARY_PATH for libmpfr.so.1 and libgmp.so.1
as follows:
===
 > echo $LD_LIBRARY_PATH
/scratch/kafi/downloads/mpfr/mpfr-2.3.1/rel/lib:/scratch/kafi/downloads/gmp/gmp-4.2.3/rel/lib
==

Please let me know, if any more setting required.

gcc version with gcc trunk sources:
===
gcc version 4.5.0 20090330 (experimental) (GCC)
==

Thanks
Swami

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
  2005-03-02 14:50 ` Stephen Torri
@ 2005-03-02 15:19   ` corey taylor
  0 siblings, 0 replies; 28+ messages in thread
From: corey taylor @ 2005-03-02 15:19 UTC (permalink / raw)
  To: Stephen Torri; +Cc: Alfredo Buttari, gcc-help

FYI, this was the code in question so that we aren't scrolling through
that code in an email:

/* Function used in the macros.  */
struct __jmp_buf_tag;
extern int __sigsetjmp (struct __jmp_buf_tag __env[1], int __savemask) __THROW;

Complains that struct __jmp_buf_tag is an incomplete type if I
understand the error right and assuming int isn't the cause.

corey


On Wed, 02 Mar 2005 09:50:18 -0500, Stephen Torri <storri@torri.org> wrote:
> On Wed, 2005-03-02 at 10:57 +0100, Alfredo Buttari wrote:
> > Hi,
> > I found this post from you:
> >
> > http://gcc.gnu.org/ml/gcc-help/2005-02/msg00099.html
> >
> > did you finally solve the problem? I have exactly the same problem and
> > have no idea on how to solve it.
> > Can tou please help me?
> 
> I am sorry but I cannot remember what I did. It must not be that
> important. I have posted your message to the general gcc-help mailing
> list. Its a good place to start with build or usage problems for gcc.
> You can join up at gcc.gnu.org
> 
> Stephen
> 
> 
>

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
       [not found] <42258E26.60506@ing.uniroma2.it>
@ 2005-03-02 14:50 ` Stephen Torri
  2005-03-02 15:19   ` corey taylor
  0 siblings, 1 reply; 28+ messages in thread
From: Stephen Torri @ 2005-03-02 14:50 UTC (permalink / raw)
  To: Alfredo Buttari; +Cc: gcc-help

[-- Attachment #1: Type: text/plain, Size: 552 bytes --]

On Wed, 2005-03-02 at 10:57 +0100, Alfredo Buttari wrote:
> Hi,
> I found this post from you:
> 
> http://gcc.gnu.org/ml/gcc-help/2005-02/msg00099.html
> 
> did you finally solve the problem? I have exactly the same problem and 
> have no idea on how to solve it.
> Can tou please help me?

I am sorry but I cannot remember what I did. It must not be that
important. I have posted your message to the general gcc-help mailing
list. Its a good place to start with build or usage problems for gcc.
You can join up at gcc.gnu.org

Stephen

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: Gcc build.
  2000-08-08 11:56 Gcc build steve Waugh
@ 2000-08-08 18:19 ` Alexandre Oliva
  0 siblings, 0 replies; 28+ messages in thread
From: Alexandre Oliva @ 2000-08-08 18:19 UTC (permalink / raw)
  To: steve Waugh; +Cc: help-gcc

On Aug  8, 2000, steve Waugh <zssteven@yahoo.com> wrote:

> I am trying to modify some passes of gcc and am building the
> compiler each time I make some changes to the code.

If you just want to test the changes you've done, use `make cc1'
instead of `make bootstrap'.  This would re-compile only files you
have changed.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Gcc build.
@ 2000-08-08 11:56 steve Waugh
  2000-08-08 18:19 ` Alexandre Oliva
  0 siblings, 1 reply; 28+ messages in thread
From: steve Waugh @ 2000-08-08 11:56 UTC (permalink / raw)
  To: help-gcc

Hi,

I am trying to modify some passes of gcc and am
building the compiler each time I make some changes to
the code.This takes a real long time and I was
wondering if someone could give me a better idea to do
the same.

Thanks,

Steve

__________________________________________________
Do You Yahoo!?
Kick off your party with Yahoo! Invites.
http://invites.yahoo.com/

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
  2000-07-26 13:06   ` Jonathan L. Starr
@ 2000-07-26 13:27     ` Alexandre Oliva
  0 siblings, 0 replies; 28+ messages in thread
From: Alexandre Oliva @ 2000-07-26 13:27 UTC (permalink / raw)
  To: Jonathan L. Starr; +Cc: gcc-help

On Jul 26, 2000, "Jonathan L. Starr" <starr@belsoft.com> wrote:

> I downloaded a source tar.gz file from one of the mirrors to which
> you refer.

There's no file called gcc-2.95.2-2-src.tar in gcc.gnu.org, so there
shouldn't be any in its mirrors.  You probably got the wrong file, or
the wrong mirror.

> Should a source tar.gz be platform-specific?

It might be.  I don't know, since you didn't get one of the files we
supply.

> Should it not build on Sun OS4.1.3 at all?

The official GCC 2.95.2 does build on SunOS 4.1.3.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
  2000-07-26 11:05 ` Alexandre Oliva
@ 2000-07-26 13:06   ` Jonathan L. Starr
  2000-07-26 13:27     ` Alexandre Oliva
  0 siblings, 1 reply; 28+ messages in thread
From: Jonathan L. Starr @ 2000-07-26 13:06 UTC (permalink / raw)
  To: Alexandre Oliva; +Cc: gcc-help

I did not make myself clear.

I downloaded a source tar.gz file from one of the mirrors to which
you refer.  I then could not build it.  Should a source tar.gz
be platform-specific?  Should it not build on Sun OS4.1.3 at all?
Or did I do something wrong?

>I downloaded gcc-2.95.2-2-src.tar from a Cygnus mirror and tried
>to build on a Sun OS4.1.3 system.  The build failed because
>directory libiberty in the directory above gcc (gcc-2.95.2-2)
>was a link to ../common, which did not exist, and so some things
>were considered missing (ostack.c, libiberty.a).

-- 
Alexandre Oliva wrote:
> 
> On Jul 22, 2000, "Jonathan L. Starr" <starr@belsoft.com> wrote:
> 
> > I downloaded gcc-2.95.2-2-src.tar from a Cygnus mirror
> 
> What is a `Cygnus mirror'?  If you want GCC, get it from gcc.gnu.org
> or mirrors.  Maybe you're downloading some version of GCC specific for
> Cygwin?
> 
> --
> Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
> Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
> CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
> Free Software Evangelist    *Please* write to mailing lists, not to me

-- Jonathan Starr
   starr@belsoft.com
   (781) 862-2343

^ permalink raw reply	[flat|nested] 28+ messages in thread

* Re: gcc build
  2000-07-22 13:29 Jonathan L. Starr
@ 2000-07-26 11:05 ` Alexandre Oliva
  2000-07-26 13:06   ` Jonathan L. Starr
  0 siblings, 1 reply; 28+ messages in thread
From: Alexandre Oliva @ 2000-07-26 11:05 UTC (permalink / raw)
  To: Jonathan L. Starr; +Cc: gcc-help

On Jul 22, 2000, "Jonathan L. Starr" <starr@belsoft.com> wrote:

> I downloaded gcc-2.95.2-2-src.tar from a Cygnus mirror

What is a `Cygnus mirror'?  If you want GCC, get it from gcc.gnu.org
or mirrors.  Maybe you're downloading some version of GCC specific for
Cygwin?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

^ permalink raw reply	[flat|nested] 28+ messages in thread

* gcc build
@ 2000-07-26  7:51 Jonathan L. Starr
  0 siblings, 0 replies; 28+ messages in thread
From: Jonathan L. Starr @ 2000-07-26  7:51 UTC (permalink / raw)
  To: gcc-help

I downloaded gcc-2.95.2-2-src.tar from a Cygnus mirror and tried
to build on a Sun OS4.1.3 system.  The build failed because
directory libiberty in the directory above gcc (gcc-2.95.2-2)
was a link to ../common, which did not exist, and so some things
were considered missing (ostack.c, libiberty.a).

What do I need to do?

Thanks for any help.
-- 

-- Jonathan Starr
   starr@belsoft.com
   (781) 862-2343

^ permalink raw reply	[flat|nested] 28+ messages in thread

* gcc build
@ 2000-07-22 13:29 Jonathan L. Starr
  2000-07-26 11:05 ` Alexandre Oliva
  0 siblings, 1 reply; 28+ messages in thread
From: Jonathan L. Starr @ 2000-07-22 13:29 UTC (permalink / raw)
  To: gcc-help

I downloaded gcc-2.95.2-2-src.tar from a Cygnus mirror and tried
to build on a Sun OS4.1.3 system.  The build failed because
directory libiberty in the directory above gcc (gcc-2.95.2-2)
was a link to ../common, which did not exist, and so some things
were considered missing (ostack.c, libiberty.a).

What do I need to do?

Thanks for any help.
-- 

-- Jonathan Starr
   starr@belsoft.com
   (781) 862-2343

^ permalink raw reply	[flat|nested] 28+ messages in thread

end of thread, other threads:[~2009-03-30 10:37 UTC | newest]

Thread overview: 28+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <Gregory>
     [not found] ` <P.>
     [not found]   ` <Sherwood"'s>
     [not found]     ` <message>
     [not found]       ` <of>
     [not found]         ` <"Fri,>
     [not found]           ` <28>
     [not found]           ` <04>
     [not found]             ` <Feb>
     [not found]               ` <2000>
     [not found]                 ` <09:33:58>
     [not found]                   ` <-0800>
2000-02-04  9:31                     ` GCC Build Gregory P. Sherwood
2000-02-06 19:06                       ` Alexandre Oliva
2000-02-07  9:20                         ` Gregory P. Sherwood
2000-04-01  0:00                           ` Gregory P. Sherwood
2000-04-01  0:00                         ` Alexandre Oliva
2000-04-01  0:00                       ` Gregory P. Sherwood
     [not found]                 ` <15:11:10>
     [not found]                   ` <+0800>
2000-07-28  0:03                     ` gnu gcc in BSDI 4.0.1 assakhof
2000-07-28  0:09                       ` Alexandre Oliva
2000-07-28  5:50                         ` assakhof
2000-07-28  6:00                           ` Alexandre Oliva
2000-07-28 18:05                             ` assakhof
2000-07-29 10:51                               ` Alexandre Oliva
     [not found]         ` <"Wed,>
     [not found]           ` <15>
     [not found]             ` <Aug>
     [not found]               ` <2001>
     [not found]                 ` <23:41:29>
     [not found]                   ` <-0700>
2001-08-15 23:46                     ` code broken by gcc 3.0 Brent Phillips
2001-08-16 18:18                       ` Alexandre Oliva
2001-08-16 22:05                         ` Brent Phillips
2009-03-30 10:09 gcc build M R Swami Reddy
2009-03-30 10:28 ` Jason Pernito
2009-03-30 10:32   ` M R Swami Reddy
2009-03-30 10:37   ` M R Swami Reddy
     [not found] <42258E26.60506@ing.uniroma2.it>
2005-03-02 14:50 ` Stephen Torri
2005-03-02 15:19   ` corey taylor
  -- strict thread matches above, loose matches on Subject: below --
2000-08-08 11:56 Gcc build steve Waugh
2000-08-08 18:19 ` Alexandre Oliva
2000-07-26  7:51 gcc build Jonathan L. Starr
2000-07-22 13:29 Jonathan L. Starr
2000-07-26 11:05 ` Alexandre Oliva
2000-07-26 13:06   ` Jonathan L. Starr
2000-07-26 13:27     ` Alexandre Oliva
     [not found] <Brent>

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).