This is the mail archive of the newlib@sourceware.cygnus.com mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

How to use newlib


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).

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]