public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* make bootstrap and make not working for gcc-4.4.1
@ 2009-09-04 14:28 Margaret Doll
  2009-09-04 14:39 ` Paolo Carlini
  2009-09-04 14:42 ` Paolo Carlini
  0 siblings, 2 replies; 8+ messages in thread
From: Margaret Doll @ 2009-09-04 14:28 UTC (permalink / raw)
  To: gcc

I need help in installing gcc in /usr/local.

After configuring gcc in /usr/local/gcc-4.4.1/objdir using

../gcc/configure --prefix=/usr/local/ --enable-threads=[osix --enable- 
shared --enable-languages=c++,java --enable-bootstrap

I try

make bootstrap
make:  ** No rule to make target 'bootstrp'.  Stop
make
	ends in

/bin/sh:  line1:  build/genmodes:  No such file or directlry
make:  ***[s-modes-h] Error 127

I need the gcj compiler for some software that I am trying to install.

The system is a RedHat system running:  2.4.21-58ELsmp

I have installed redhat-java-rpm-scripts-1.0.2-2
	gcc-3.2.3-59
	texinfo-4.9
	mpfr-2.4.1
	gmp-4.1.2-6

The output from the compile is:

> Script started on Thu 03 Sep 2009 10:50:43 AM EDT
> ^[]0;root@casey:/usr/local/gcc-4.4.1/objdir\a[root@casey objdir]#  
> exit\b\b\b\bmake bootstrap\b\b\b\b\b\b\b\b\b\b\b\b\b\b../gcc/configure --prefix=/usr/ 
> local --enable-threads=posix --enable-shared
> d --enable-languages=c++,java
> checking build system type... i686-pc-linux-gnu
> checking host system type... i686-pc-linux-gnu
> checking target system type... i686-pc-linux-gnu
> checking LIBRARY_PATH variable... ok
> checking GCC_EXEC_PREFIX variable... ok
> checking whether to place generated files in the source directory...  
> no
> checking whether a default linker was specified... no
> checking whether a default assembler was specified... no
> checking for gcc... gcc
> checking for C compiler default output file name... a.out
> checking whether the C compiler works... yes
> checking whether we are cross compiling... no
> checking for suffix of executables...
> checking for suffix of object files... o
> checking whether we are using the GNU C compiler... yes
> checking whether gcc accepts -g... yes
> checking for gcc option to accept ANSI C... none needed
> checking whether gcc and cc understand -c and -o together... yes
> checking for gnatbind... no
> checking for gnatmake... no
> checking whether compiler driver understands Ada... no
> checking how to run the C preprocessor... gcc -E
> checking for egrep... grep -E
> checking for ANSI C header files... yes
> checking for sys/types.h... yes
> checking for sys/stat.h... yes
> checking for stdlib.h... yes
> checking for string.h... yes
> checking for memory.h... yes
> checking for strings.h... yes
> checking for inttypes.h... yes
> checking for stdint.h... yes
> checking for unistd.h... yes
> checking minix/config.h usability... no
> checking minix/config.h presence... no
> checking for minix/config.h... no
> checking whether it is safe to define __EXTENSIONS__... yes
> checking how to run the C preprocessor... gcc -E
> checking for inline... inline
> checking for void *... yes
> checking size of void *... 4
> checking for short... yes
> checking size of short... 2
> checking for int... yes
> checking size of int... 4
> checking for long... yes
> checking size of long... 4
> checking for long long... yes
> checking for long long... (cached) yes
> checking size of long long... 8
> checking for __int64... no
> checking whether gcc supports -W... yes
> checking whether gcc supports -Wall... yes
> checking whether gcc supports -Wwrite-strings... yes
> checking whether gcc supports -Wstrict-prototypes... yes
> checking whether gcc supports -Wmissing-prototypes... yes
> checking whether gcc supports -Wcast-qual... yes
> checking whether gcc supports -Wold-style-definition... no
> checking whether gcc supports -Wc++-compat... no
> checking whether gcc supports -Wmissing-format-attribute... yes
> checking whether gcc supports -pedantic -Wno-long-long -Wno-variadic- 
> macros -Wno-overlength-strings... no
> checking valgrind.h usability... no
> checking valgrind.h presence... no
> checking for valgrind.h... no
> configure: WARNING: fixed-point is not supported for this target
> checking whether make sets $(MAKE)... yes
> checking for gawk... gawk
> checking whether ln -s works... yes
> checking whether ln works... yes
> checking for ranlib... ranlib
> checking for a BSD compatible install... /usr/local/bin/install -c
> checking for cmp's capabilities... gnucompare
> checking for mktemp... yes
> checking for makeinfo... makeinfo
> checking for modern makeinfo... yes
> checking for recent Pod::Man... yes
> checking for flex... flex
> checking for bison... bison
> checking for nm... nm
> checking for ar... ar
> checking for ANSI C header files... (cached) yes
> checking whether time.h and sys/time.h may both be included... yes
> checking whether string.h and strings.h may both be included... yes
> checking for sys/wait.h that is POSIX.1 compatible... yes
> checking for limits.h... yes
> checking for stddef.h... yes
> checking for string.h... (cached) yes
> checking for strings.h... (cached) yes
> checking for stdlib.h... (cached) yes
> checking for time.h... yes
> checking for iconv.h... yes
> checking for fcntl.h... yes
> checking for unistd.h... (cached) yes
> checking for sys/file.h... yes
> checking for sys/time.h... yes
> checking for sys/mman.h... yes
> checking for sys/resource.h... yes
> checking for sys/param.h... yes
> checking for sys/times.h... yes
> checking for sys/stat.h... (cached) yes
> checking for direct.h... no
> checking for malloc.h... yes
> checking for langinfo.h... yes
> checking for ldfcn.h... no
> checking for locale.h... yes
> checking for wchar.h... yes
> checking for thread.h... no
> checking for pthread.h... yes
> checking for CHAR_BIT... yes
> checking whether byte ordering is bigendian... no
> checking for collect2 libraries... none required
> checking for library containing exc_resume... no
> checking for library containing ldexp... none required
> checking for inttypes.h... yes
> checking for times... yes
> checking for clock... yes
> checking for kill... yes
> checking for getrlimit... yes
> checking for setrlimit... yes
> checking for atoll... yes
> checking for atoq... no
> checking for sysconf... yes
> checking for strsignal... yes
> checking for getrusage... yes
> checking for nl_langinfo... yes
> checking for gettimeofday... yes
> checking for mbstowcs... yes
> checking for wcswidth... yes
> checking for mmap... yes
> checking for mincore... yes
> checking for setlocale... yes
> checking for clearerr_unlocked... yes
> checking for feof_unlocked... yes
> checking for ferror_unlocked... yes
> checking for fflush_unlocked... yes
> checking for fgetc_unlocked... yes
> checking for fgets_unlocked... yes
> checking for fileno_unlocked... yes
> checking for fprintf_unlocked... no
> checking for fputc_unlocked... yes
> checking for fputs_unlocked... yes
> checking for fread_unlocked... yes
> checking for fwrite_unlocked... yes
> checking for getchar_unlocked... yes
> checking for getc_unlocked... yes
> checking for putchar_unlocked... yes
> checking for putc_unlocked... yes
> checking whether mbstowcs works... yes
> checking for ssize_t... yes
> checking for caddr_t... yes
> checking for uid_t in sys/types.h... yes
> checking type of array argument to getgroups... gid_t
> checking for sys/mman.h... (cached) yes
> checking for mmap... (cached) yes
> checking whether read-only mmap of a plain file works... yes
> checking whether mmap from /dev/zero works... yes
> checking for MAP_ANON(YMOUS)... yes
> checking whether mmap with MAP_ANON(YMOUS) works... yes
> checking for pid_t... yes
> checking for unistd.h... (cached) yes
> checking for vfork.h... no
> checking for fork... yes
> checking for vfork... yes
> checking for working fork... yes
> checking for working vfork... (cached) yes
> checking for ld used by GCC... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for shared library run path origin... done
> checking for iconv... yes
> checking for iconv declaration...
>          extern size_t iconv (iconv_t cd, char * *inbuf, size_t  
> *inbytesleft, char * *outbuf, size_t *outbytesleft);
> checking for LC_MESSAGES... yes
> checking for nl_langinfo and CODESET... yes
> checking whether getenv is declared... yes
> checking whether atol is declared... yes
> checking whether asprintf is declared... yes
> checking whether sbrk is declared... yes
> checking whether abort is declared... yes
> checking whether atof is declared... yes
> checking whether getcwd is declared... yes
> checking whether getwd is declared... yes
> checking whether strsignal is declared... yes
> checking whether strstr is declared... yes
> checking whether strverscmp is declared... yes
> checking whether errno is declared... yes
> checking whether snprintf is declared... yes
> checking whether vsnprintf is declared... yes
> checking whether vasprintf is declared... yes
> checking whether malloc is declared... yes
> checking whether realloc is declared... yes
> checking whether calloc is declared... yes
> checking whether free is declared... yes
> checking whether basename is declared... yes
> checking whether getopt is declared... no
> checking whether clock is declared... yes
> checking whether getpagesize is declared... yes
> checking whether clearerr_unlocked is declared... yes
> checking whether feof_unlocked is declared... yes
> checking whether ferror_unlocked is declared... yes
> checking whether fflush_unlocked is declared... yes
> checking whether fgetc_unlocked is declared... yes
> checking whether fgets_unlocked is declared... yes
> checking whether fileno_unlocked is declared... yes
> checking whether fprintf_unlocked is declared... no
> checking whether fputc_unlocked is declared... yes
> checking whether fputs_unlocked is declared... yes
> checking whether fread_unlocked is declared... yes
> checking whether fwrite_unlocked is declared... yes
> checking whether getchar_unlocked is declared... yes
> checking whether getc_unlocked is declared... yes
> checking whether putchar_unlocked is declared... yes
> checking whether putc_unlocked is declared... yes
> checking whether getrlimit is declared... yes
> checking whether setrlimit is declared... yes
> checking whether getrusage is declared... yes
> checking whether ldgetname is declared... no
> checking whether times is declared... yes
> checking whether sigaltstack is declared... yes
> checking for struct tms... yes
> checking for clock_t... yes
> checking for .preinit_array/.init_array/.fini_array support... yes
> checking if mkdir takes one argument... no
> Using `../gcc/config/i386/i386.c' for machine-specific logic.
> Using `../gcc/config/i386/i386.md' as machine description file.
> Using the following target machine macro files:
> 	../gcc/config/i386/i386.h
> 	../gcc/config/i386/unix.h
> 	../gcc/config/i386/att.h
> 	../gcc/config/dbxelf.h
> 	../gcc/config/elfos.h
> 	../gcc/config/svr4.h
> 	../gcc/config/linux.h
> 	../gcc/config/i386/linux.h
> Using host-linux.o for host machine hooks.
> checking for __cxa_atexit... yes
> checking whether NLS is requested... no
> checking for a sed that does not truncate output... /bin/sed
> checking for fgrep... grep -F
> checking for ld used by gcc... /usr/bin/ld
> checking if the linker (/usr/bin/ld) is GNU ld... yes
> checking for BSD- or MS-compatible name lister (nm)... nm
> checking the name lister (nm) interface... BSD nm
> checking whether ln -s works... yes
> checking the maximum length of command line arguments... 98304
> checking whether the shell understands some XSI constructs... yes
> checking whether the shell understands "+="... no
> checking for /usr/bin/ld option to reload object files... -r
> checking for objdump... objdump
> checking how to recognize dependent libraries... pass_all
> checking for strip... strip
> checking for ranlib... (cached) ranlib
> checking command to parse nm output from gcc object... ok
> checking for dlfcn.h... yes
> checking for objdir... .libs
> checking if gcc supports -fno-rtti -fno-exceptions... yes
> checking for gcc option to produce PIC... -fPIC -DPIC
> checking if gcc PIC flag -fPIC -DPIC works... yes
> checking if gcc static flag -static works... yes
> checking if gcc supports -c -o file.o... yes
> checking if gcc supports -c -o file.o... (cached) yes
> checking whether the gcc linker (/usr/bin/ld) supports shared  
> libraries... yes
> checking whether -lc should be explicitly linked in... no
> checking dynamic linker characteristics... GNU/Linux ld.so
> checking how to hardcode library paths into programs... immediate
> checking whether stripping libraries is possible... yes
> checking if libtool supports shared libraries... yes
> checking whether to build shared libraries... yes
> checking whether to build static libraries... yes
> checking what assembler to use...
> checking what linker to use...
> checking what nm to use...
> checking what objdump to use... not found
> checking for readelf... /usr/bin/readelf
> checking what readelf to use... /usr/bin/readelf
> checking assembler for .balign and .p2align... no
> checking assembler for .p2align with maximum skip... no
> checking assembler for .literal16... no
> checking assembler for working .subsection -1... no
> checking assembler for .weak... no
> checking assembler for .weakref... no
> checking assembler for .nsubspa comdat... no
> checking assembler for .hidden... no
> checking linker for .hidden support... no
> checking linker read-only and read-write section mixing... unknown
> checking assembler for .sleb128 and .uleb128... no
> check

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

* Re: make bootstrap and make not working for gcc-4.4.1
  2009-09-04 14:28 make bootstrap and make not working for gcc-4.4.1 Margaret Doll
@ 2009-09-04 14:39 ` Paolo Carlini
  2009-09-04 14:42 ` Paolo Carlini
  1 sibling, 0 replies; 8+ messages in thread
From: Paolo Carlini @ 2009-09-04 14:39 UTC (permalink / raw)
  To: Margaret Doll; +Cc: gcc

Margaret Doll wrote:
> I need help in installing gcc in /usr/local.
>
> After configuring gcc in /usr/local/gcc-4.4.1/objdir using
>
> ../gcc/configure --prefix=/usr/local/ --enable-threads=[osix
> --enable-shared --enable-languages=c++,java --enable-bootstrap
>
> I try
>
> make bootstrap
> make:  ** No rule to make target 'bootstrp'.  Stop
Evidently, you misspelled bootstrap as bootstrp. Also,
--enable-bootstrap is the default in your case, and just make is fine. I
can also see a typo posix as [osix, and, again, that --enable-threads is
redundant, is the default, likewise for --enable-shared.

Paolo.

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

* Re: make bootstrap and make not working for gcc-4.4.1
  2009-09-04 14:28 make bootstrap and make not working for gcc-4.4.1 Margaret Doll
  2009-09-04 14:39 ` Paolo Carlini
@ 2009-09-04 14:42 ` Paolo Carlini
  2009-09-04 16:08   ` Margaret Doll
  1 sibling, 1 reply; 8+ messages in thread
From: Paolo Carlini @ 2009-09-04 14:42 UTC (permalink / raw)
  To: Margaret Doll; +Cc: gcc

Margaret Doll wrote:
> I need help in installing gcc in /usr/local.
>
> After configuring gcc in /usr/local/gcc-4.4.1/objdir using
>
> ../gcc/configure --prefix=/usr/local/ --enable-threads=[osix
> --enable-shared --enable-languages=c++,java --enable-bootstrap
Last but not least, from your build dir you should invoke the toplevel
configure, that is the one in gcc-4.4.1, not in gcc-4.4.1/gcc.

Paolo.

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

* Re: make bootstrap and make not working for gcc-4.4.1
  2009-09-04 14:42 ` Paolo Carlini
@ 2009-09-04 16:08   ` Margaret Doll
  2009-09-04 19:01     ` Fwd: " Margaret Doll
  2009-09-05 16:34     ` Dave Korn
  0 siblings, 2 replies; 8+ messages in thread
From: Margaret Doll @ 2009-09-04 16:08 UTC (permalink / raw)
  To: gcc


On Sep 4, 2009, at 10:42 AM, Paolo Carlini wrote:

> Margaret Doll wrote:
>> I need help in installing gcc in /usr/local.
>>
>> After configuring gcc in /usr/local/gcc-4.4.1/objdir using
>>
>> ../gcc/configure --prefix=/usr/local/ --enable-threads=[osix
>> --enable-shared --enable-languages=c++,java --enable-bootstrap
> Last but not least, from your build dir you should invoke the toplevel
> configure, that is the one in gcc-4.4.1, not in gcc-4.4.1/gcc.
>
> Paolo.

The [osix  was a typo.  My email system is not on my server.

I added the --enable-bootstrap because I was not getting a bootstrap  
option

I was following the instructions on the build from http://gcc.gnu.org/java/build-snapshot.html

5. Compile and install gcc/gcj/libgcj
  $ cd compile
  $ mkdir objdir
  $ cd objdir
  $ ../gcc/configure --enable-threads=posix --prefix=/home/joerg/gcc \  
--enable-shared --enable-languages=c++,java \ --with-as=/opt/gnu/bin/ 
as --with-ld=/opt/gnu/bin/ld
  $ make bootstrap
  $ make
  $ make install
Which doesn't work.
cd /usr/local/gcc-4.1.1
./configure
ends in the error that I have the wrong version of mpfr.h.   I am  
using mpfr-2.4.1.   The error log says that I should be using
mpfr 2.3.2+
I will look for mpfr 2.3.2 and try again.


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

* Fwd: make bootstrap and make not working for gcc-4.4.1
  2009-09-04 16:08   ` Margaret Doll
@ 2009-09-04 19:01     ` Margaret Doll
  2009-09-04 19:13       ` Richard Guenther
  2009-09-05 16:34     ` Dave Korn
  1 sibling, 1 reply; 8+ messages in thread
From: Margaret Doll @ 2009-09-04 19:01 UTC (permalink / raw)
  To: gcc



Begin forwarded message:

> From: Margaret Doll <Margaret_Doll@brown.edu>
> Date: September 4, 2009 12:07:51 PM EDT
> To: gcc@gcc.gnu.org
> Subject: Re: make bootstrap and make not working for gcc-4.4.1
>
>
> On Sep 4, 2009, at 10:42 AM, Paolo Carlini wrote:
>
>> Margaret Doll wrote:
>>> I need help in installing gcc in /usr/local.
>>>
>>> After configuring gcc in /usr/local/gcc-4.4.1/objdir using
>>>
>>> ../gcc/configure --prefix=/usr/local/ --enable-threads=[osix
>>> --enable-shared --enable-languages=c++,java --enable-bootstrap
>> Last but not least, from your build dir you should invoke the  
>> toplevel
>> configure, that is the one in gcc-4.4.1, not in gcc-4.4.1/gcc.
>>
>> Paolo.
>
> The [osix  was a typo.  My email system is not on my server.
>
> I added the --enable-bootstrap because I was not getting a bootstrap  
> option
>
> I was following the instructions on the build from http://gcc.gnu.org/java/build-snapshot.html
>
> 5. Compile and install gcc/gcj/libgcj
> $ cd compile
> $ mkdir objdir
> $ cd objdir
> $ ../gcc/configure --enable-threads=posix --prefix=/home/joerg/gcc \  
> --enable-shared --enable-languages=c++,java \ --with-as=/opt/gnu/bin/ 
> as --with-ld=/opt/gnu/bin/ld
> $ make bootstrap
> $ make
> $ make install
> Which doesn't work.
> cd /usr/local/gcc-4.1.1
> ./configure
> ends in the error that I have the wrong version of mpfr.h.   I am  
> using mpfr-2.4.1.   The error log says that I should be using
> mpfr 2.3.2+
> I will look for mpfr 2.3.2 and try again.

I am still using mpfr 2.4.1 installed in /usr/local

I started with a clean gcc-4.4.1 directory
cd /usr/local/gcc-4.4.1
mkdir objdir
cd objdir
../configure  --prefix=/usr/local/ --enable-threads=posix --enable- 
shared --enable-languages=c++,java --with-gmp --with-mpfr

make bootstrap
	
	goes on for many minutes and ends with

/i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include - 
isystem /usr/l
ocal/i686-pc-linux-gnu/sys-include
checking for suffix of object files... configure: error: in `/usr/ 
local/gcc-4.4.1/i68
6-pc-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[2]: *** [configure-stage1-target-libgcc] Error 1
make[2]: Leaving directory `/usr/local/gcc-4.4.1'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/usr/local/gcc-4.4.1'
make: *** [bootstrap] Error 2

Looking in config.log I found

configure:3450: checking for suffix of object files
configure:3471: gcc -c   conftest.c >&5
configure:3474: $? = 0
configure:3498: result: o

What was I supposed to do to make this work?



>
>

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

* Re: make bootstrap and make not working for gcc-4.4.1
  2009-09-04 19:01     ` Fwd: " Margaret Doll
@ 2009-09-04 19:13       ` Richard Guenther
  0 siblings, 0 replies; 8+ messages in thread
From: Richard Guenther @ 2009-09-04 19:13 UTC (permalink / raw)
  To: Margaret Doll; +Cc: gcc

On Fri, Sep 4, 2009 at 9:01 PM, Margaret Doll<Margaret_Doll@brown.edu> wrote:
>
>
> Begin forwarded message:
>
>> From: Margaret Doll <Margaret_Doll@brown.edu>
>> Date: September 4, 2009 12:07:51 PM EDT
>> To: gcc@gcc.gnu.org
>> Subject: Re: make bootstrap and make not working for gcc-4.4.1
>>
>>
>> On Sep 4, 2009, at 10:42 AM, Paolo Carlini wrote:
>>
>>> Margaret Doll wrote:
>>>>
>>>> I need help in installing gcc in /usr/local.
>>>>
>>>> After configuring gcc in /usr/local/gcc-4.4.1/objdir using
>>>>
>>>> ../gcc/configure --prefix=/usr/local/ --enable-threads=[osix
>>>> --enable-shared --enable-languages=c++,java --enable-bootstrap
>>>
>>> Last but not least, from your build dir you should invoke the toplevel
>>> configure, that is the one in gcc-4.4.1, not in gcc-4.4.1/gcc.
>>>
>>> Paolo.
>>
>> The [osix  was a typo.  My email system is not on my server.
>>
>> I added the --enable-bootstrap because I was not getting a bootstrap
>> option
>>
>> I was following the instructions on the build from
>> http://gcc.gnu.org/java/build-snapshot.html
>>
>> 5. Compile and install gcc/gcj/libgcj
>> $ cd compile
>> $ mkdir objdir
>> $ cd objdir
>> $ ../gcc/configure --enable-threads=posix --prefix=/home/joerg/gcc \
>> --enable-shared --enable-languages=c++,java \ --with-as=/opt/gnu/bin/as
>> --with-ld=/opt/gnu/bin/ld
>> $ make bootstrap
>> $ make
>> $ make install
>> Which doesn't work.
>> cd /usr/local/gcc-4.1.1
>> ./configure
>> ends in the error that I have the wrong version of mpfr.h.   I am using
>> mpfr-2.4.1.   The error log says that I should be using
>> mpfr 2.3.2+
>> I will look for mpfr 2.3.2 and try again.
>
> I am still using mpfr 2.4.1 installed in /usr/local
>
> I started with a clean gcc-4.4.1 directory
> cd /usr/local/gcc-4.4.1
> mkdir objdir
> cd objdir
> ../configure  --prefix=/usr/local/ --enable-threads=posix --enable-shared
> --enable-languages=c++,java --with-gmp --with-mpfr
>
> make bootstrap
>
>        goes on for many minutes and ends with
>
> /i686-pc-linux-gnu/lib/ -isystem /usr/local/i686-pc-linux-gnu/include
> -isystem /usr/l
> ocal/i686-pc-linux-gnu/sys-include
> checking for suffix of object files... configure: error: in
> `/usr/local/gcc-4.4.1/i68
> 6-pc-linux-gnu/libgcc':
> configure: error: cannot compute suffix of object files: cannot compile
> See `config.log' for more details.
> make[2]: *** [configure-stage1-target-libgcc] Error 1
> make[2]: Leaving directory `/usr/local/gcc-4.4.1'
> make[1]: *** [stage1-bubble] Error 2
> make[1]: Leaving directory `/usr/local/gcc-4.4.1'
> make: *** [bootstrap] Error 2
>
> Looking in config.log I found
>
> configure:3450: checking for suffix of object files
> configure:3471: gcc -c   conftest.c >&5
> configure:3474: $? = 0
> configure:3498: result: o
>
> What was I supposed to do to make this work?

Adjust your LD_LIBRARY_PATH to pick up the shared libraries in
/usr/local where gmp/mpfr are installed.

Wrong config.log btw, the relevant one is i686-pc-linux-gnu/libgcc/config.log

Richard.

>
>
>>
>>
>
>

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

* Re: make bootstrap and make not working for gcc-4.4.1
  2009-09-04 16:08   ` Margaret Doll
  2009-09-04 19:01     ` Fwd: " Margaret Doll
@ 2009-09-05 16:34     ` Dave Korn
  2009-09-08 14:01       ` Margaret Doll
  1 sibling, 1 reply; 8+ messages in thread
From: Dave Korn @ 2009-09-05 16:34 UTC (permalink / raw)
  To: Margaret Doll; +Cc: gcc

Margaret Doll wrote:

> I was following the instructions on the build from
> http://gcc.gnu.org/java/build-snapshot.html
> 
> 5. Compile and install gcc/gcj/libgcj
>  $ cd compile
>  $ mkdir objdir
>  $ cd objdir
>  $ ../gcc/configure --enable-threads=posix --prefix=/home/joerg/gcc \
> --enable-shared --enable-languages=c++,java \ --with-as=/opt/gnu/bin/as
> --with-ld=/opt/gnu/bin/ld
>  $ make bootstrap
>  $ make
>  $ make install

  ? I thought we weren't supposed to use "make bootstrap" any more, that it
was the default you got from just running plain "make".  I'd omit the "make
bootstrap" and just go straight to the next line.

> cd /usr/local/gcc-4.1.1
> ./configure
> ends in the error that I have the wrong version of mpfr.h. I am using
> mpfr-2.4.1. The error log says that I should be using mpfr 2.3.2+

  Possibly you have an old version lying around and it's finding it first?
Does it help if you add a suitable --with-mpfr= option?  Otherwise you may
have to reproduce the failing autoconf test to figure out why it thinks you
have an outdated mpfr header.


    cheers,
      DaveK

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

* Re: make bootstrap and make not working for gcc-4.4.1
  2009-09-05 16:34     ` Dave Korn
@ 2009-09-08 14:01       ` Margaret Doll
  0 siblings, 0 replies; 8+ messages in thread
From: Margaret Doll @ 2009-09-08 14:01 UTC (permalink / raw)
  To: gcc

With the addition of the definition the LD_LIBRARY_PATH, the  
configuration, make bootstrap, make and make install
worked.

Thanks to everyone that gave me suggestions.


On Sep 5, 2009, at 12:48 PM, Dave Korn wrote:

> Margaret Doll wrote:
>
>> I was following the instructions on the build from
>> http://gcc.gnu.org/java/build-snapshot.html
>>
>> 5. Compile and install gcc/gcj/libgcj
>> $ cd compile
>> $ mkdir objdir
>> $ cd objdir
>> $ ../gcc/configure --enable-threads=posix --prefix=/home/joerg/gcc \
>> --enable-shared --enable-languages=c++,java \ --with-as=/opt/gnu/ 
>> bin/as
>> --with-ld=/opt/gnu/bin/ld
>> $ make bootstrap
>> $ make
>> $ make install
>
>  ? I thought we weren't supposed to use "make bootstrap" any more,  
> that it
> was the default you got from just running plain "make".  I'd omit  
> the "make
> bootstrap" and just go straight to the next line.
>
>> cd /usr/local/gcc-4.1.1
>> ./configure
>> ends in the error that I have the wrong version of mpfr.h. I am using
>> mpfr-2.4.1. The error log says that I should be using mpfr 2.3.2+
>
>  Possibly you have an old version lying around and it's finding it  
> first?
> Does it help if you add a suitable --with-mpfr= option?  Otherwise  
> you may
> have to reproduce the failing autoconf test to figure out why it  
> thinks you
> have an outdated mpfr header.
>
>
>    cheers,
>      DaveK

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

end of thread, other threads:[~2009-09-08 14:01 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-09-04 14:28 make bootstrap and make not working for gcc-4.4.1 Margaret Doll
2009-09-04 14:39 ` Paolo Carlini
2009-09-04 14:42 ` Paolo Carlini
2009-09-04 16:08   ` Margaret Doll
2009-09-04 19:01     ` Fwd: " Margaret Doll
2009-09-04 19:13       ` Richard Guenther
2009-09-05 16:34     ` Dave Korn
2009-09-08 14:01       ` Margaret Doll

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).