linux build broken?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

linux build broken?

Lukas Straub
Hello Everyone,
I just tried to build newlib as standalone libc for linux.
I used the following configure:
 ../newlib-cygwin/newlib/configure --prefix=/opt/my-newlib --host=i386-linux-gnu -disable-shared
But during compilation, it actually includes headers from the build host, and errors out.
What am I doing wrong?

Regards,
Lukas Straub
Reply | Threaded
Open this post in threaded view
|

Re: linux build broken?

Christer Solskogen-3
On 26.02.2020 10:37, Lukas Straub wrote:
> Hello Everyone,
> I just tried to build newlib as standalone libc for linux.
> I used the following configure:
>   ../newlib-cygwin/newlib/configure --prefix=/opt/my-newlib --host=i386-linux-gnu -disable-shared
> But during compilation, it actually includes headers from the build host, and errors out.
> What am I doing wrong?
>

Last time I checked i386-linux-gnu is not a supported target for newlib.

--
chs