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: "Simon 'corecode' Schubert" <corecode@xxxxxxxxxxxx>
Date: Thu, 9 Jun 2005 21:03:56 +0200

On 09.06.2005, at 20:16, walt wrote:
# 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?

Nope, I don't know. something with objdir I think, but I don't know.

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.

Now that's weird.

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

ha! it's a native binary. try this:

env CCVER=gcc40 HOST_CCVER=gcc34 make depend

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.

same in this dir then, but it sets CCVER itself (see Makefile.inc):

env HOST_CCVER=gcc34 make depend


Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \

Attachment: PGP.sig
Description: This is a digitally signed message part

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