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]

Re: How to use newlib


Doug Evans <dje@transmeta.com> writes:

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

Is it not possible to use newlib with Linux on Intel?  I would like to
use newlib for a Linux bootdisk, but that is not possible?

What I did:

The configure in the newlib-1.8.2 does not do anything.  I created in
the newlib-1.8.2 directory two build directories for libgloss and
newlib and run configure without any arguments in those directories.
Then I have copied the libs and headers by hand to a new directory.

Sascha

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