Re: gcc-3.4.1
Kaz Kojima <[email protected]> Wed, 07 Jul 2004 08:16:04 +0900 (JST)
| Newsgroups | gmane.linux.ports.sh.devel,gmane.linux.ports.sh.general |
|---|---|
| Message-ID | <[email protected]> |
>> Thanks a lot for the check up steps! I downloaded gcc-3.4.0 today and >> tried to compile gcc with following steps >> >> $./configure --target=sh --host=i386 --program-prefix=/opt/sh-linux- >> $make >> >> After that i m getting error as below >> >> as: .....unrecognized option '--big' > > You might have an out of date binutils, given that 'as' is part of binutils. > > If you're building a cross-compiler, have you tried using > http://kegel.com/crosstool ? The 0.28-rc28 snapshot should be > ok with gcc-3.4.0 (it builds gcc-3.4.1, too, but might not > have all the needed patches yet). I strongly recommend Dan's crosstool. The full bootstrap sequence of a cross toolchain for linux might be 1. binutils 2. gcc (without target headers and libc) 3. glibc 4. gcc (with target headers and libc) and each stage needs its own how-to's and tweaks. Crosstool would solve all of them. Regards, kaz ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com