Subject: Re: [dcdev] arm7
To: None <dcdev@yahoogroups.com>
From: M. R. Brown <marcusb@uwm.edu>
List: port-dreamcast
Date: 02/20/2001 10:02:24
On Mon, 19 Feb 2001, gee308 wrote:

> Just in case anyone is having trouble building the cross compiler for the arm7, if you followed the hitmen's instructions to build sh-elf-gcc, you do the same for the arm7, except after you do:
> 
> $ cd ../build-gcc
> $ ../gcc-2.95.2/configure --target=arm-elf --prefix=/usr/local --without-headers --without-libs 
> 
> You don't need to add the "-Dinhibit_libc" hack, only the first time.
> just do a : make LANGUAGES="c" all install
> Jason
>

The latest gcc snapshots seem to be doing a lot better with the
-Dinhibit_libc feature.  If you use:

$ ./configure ... --without-headers --with-newlib

for ANY target, gcc won't complain.  The --with-newlib doesn't mean that
you HAVE to compile newlib in the future, it's just a hint to gcc that you
could be.

BTW, the --without-libs flag isn't necessary.

M. R.