DragonFly BSD
DragonFly commits List (threaded) for 2005-06
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/share/mk Makefile bsd.cpu.gcc40.mk bsd.cpu.mk src/gnu/usr.bin/cc40 Makefile Makefile.inc Makefile.langs Makefile.tgt src/gnu/usr.bin/cc40/c++ Makefile g++40.1 src/gnu/usr.bin/cc40/c++filt Makefile src/gnu/usr.bin/cc40/cc ...


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Thu, 09 Jun 2005 11:16:54 -0700

Simon 'corecode' Schubert wrote:
On 06.06.2005, at 01:03, Simon 'corecode' Schubert wrote:

On 06.06.2005, at 00:43, Simon Schubert wrote:

# Install new bsd.*.mk files
cd /usr/src/share/mk
make install


# Make needed directories
mtree -deU -f /usr/src/etc/mtree/BSD.usr.dist -p /usr
mtree -deU -f /usr/src/etc/mtree/BSD.include.dist -p /usr/include

# Now build gcc40 with the system compiler
cd /usr/src/gnu/usr.bin/cc40
make obj
make depend
make all
make install

I did all the above with no problems.



# if you like a gcc40 compiled gcc40, do those as well:
make cleandir
make cleandir

I was very surprised that the second cleandir did something very different than first. Can you explain briefly?


env CCVER=gcc40 make depend

This step failed. I hope the warning below may give some clue:


===> cc_tools/gengenrtl
Warning: Object directory not changed from original /usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl


Note that I definitely did a make obj -- more than once.

And soon after that warning was this error:
CCVER=gcc40 OBJFORMAT_PATH=/ PATH=/usr/bin:/bin:/usr/sbin:/sbin cc -O -pipe -I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../cc_prep -I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../cc_prep -I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/gcc -I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/gcc/config -I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/include -I/usr/src/gnu/usr.bin/cc40/cc_tools/gengenrtl/..//../../../../contrib/gcc-4.0/libcpp/include -DIN_GCC -DHAVE_CONFIG_H -DPREFIX=\"/usr\" -DPREFIX1=\"/usr\" -DPREFIX2=\"/usr\" -DHAVE_STDLIB_H -DHAVE_STRING_H -DGENERATOR_FILE -I. -static -o gengenrtl.nx gengenrtl.no errors.no ../libiberty/libiberty.na
//usr/libexec/binutils215/elf/ld: cannot find -lgcc



Thinking that perhaps I needed to make libgcc I went from there to the gnu/lib steps you posted, but I got the same error for a missing -lgcc -- using either gcc34 and gcc40.

Any hints?



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]