mips-elf with newlib

Michael N. Moran mike@mnmoran.org
Mon Oct 30 16:56:00 GMT 2006


Bill Gatliff wrote:
> Michael N. Moran wrote:
> 
>>
>> ../gcc-4.0.2/configure \
>>       --target=mips-elf \
>>       --prefix=/tools/gnu/gcc/4.0.2/mips-elf \
>>       --with-newlib \
>>       --disable-newlib-supplied-syscalls \
>>       --enable-languages=c,c++
> 
> Try adding a --with-gnu-as --with-gnu-ld, and drop the c++ until you 
> have c built.

Thanks for the advice Bill.

Sadly, there was no change in the result for this config:

../gcc-4.0.2/configure \
     --target=mips-elf \
     --prefix=/tools/gnu/gcc/4.0.2/mips-elf \
     --with-newlib \
     --disable-newlib-supplied-syscalls \
     --enable-languages=c \
     --with-gnu-as \
     --with-gnu-ld

BTW, my host GCC looks like this:

# gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/specs
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man 
--infodir=/usr/share/info --enable-shared --enable-threads=posix 
--disable-checking --with-system-zlib --enable-__cxa_atexit 
--host=i386-redhat-linux
Thread model: posix
gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)


-- 
Michael N. Moran           (h) 770 516 7918
5009 Old Field Ct.         (c) 678 521 5460
Kennesaw, GA, USA 30144    http://mnmoran.org

"So often times it happens, that we live our lives in chains
  and we never even know we have the key."
The Eagles, "Already Gone"

The Beatles were wrong: 1 & 1 & 1 is 1



--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list