This is the mail archive of the
newlib@sourceware.cygnus.com
mailing list for the newlib project.
How to use newlib
- To: Sascha Ziemann <szi at aibon dot ping dot de>
- Subject: How to use newlib
- From: Doug Evans <dje at transmeta dot com>
- Date: Thu, 27 Apr 2000 12:06:52 -0700 (PDT)
- Cc: newlib at sourceware dot cygnus dot com
- References: <7uln1zwm8c.fsf@olivia.aibon.ping.de>
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).