Can't build m68k-elf target with gcc-3.3.2 or gcc-3.4-20031224 tree
Bernardo Innocenti
bernie@develer.com
Tue Dec 30 18:14:00 GMT 2003
Peter Barada wrote:
>>You can't enable c++ on m68k-elf because it's an embedded target
>>and libstdc++ requires an underlying C library to work.
>>
>>Either do --enable-languages='c' or add --with-newlib and build
>>newlib along with (or before) GCC.
>
> I go the newlib route, and its a three step processes(after you've
> build binutils for your target and have installed them in ${LOCAL}/bin:
Another possibility would be creating a combined tree and
building everything in a single step. This page explains how
to do it:
http://gcc.gnu.org/simtest-howto.html
I find it very useful when you need to build a full blown toolchain
(everything from binutils to gdb).
Suggestion: wouldn't it be nice to extract the combined tree docs
from simtest-howto.html and move them to a specific page? I guess
most people would ignore that useful piece of documentation thinking
that it's only useful for running the testsuite.
--
// Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/ http://www.develer.com/
More information about the Gcc
mailing list