How to use newlib

Doug Evans dje@transmeta.com
Thu Apr 27 12:07:00 GMT 2000


Sascha Ziemann writes:
 > Hi,
 > 
 > what is the right way to use newlib?  I tried to compile a simple
 > hello world, but I get only errors:

You don't say what options you passed to configure.
Always always ALWAYS specify these.

 > gcc -Wall -I../newlib-1.8.2.inst/i686-pc-linux-gnu/include   -c hello.c -o hello.o

Guessing that it's i686-pc-linux-gnu ...
newlib-1.8.2 doesn't support it (IIRC).


More information about the Newlib mailing list