Support for Cygnus-style trees has been removed

Lukas Martini lutoma@ohai.su
Tue Nov 3 17:02:00 GMT 2015


Hi,

sorry, should've been more clear:

Yes, compiling newlib per se works if I use the existing ./configure
script in the releases. However, as I'm building it for a custom kernel
instead of a bare-metal machine or linux, I have to add a new directory
under newlib/libc/sys, change the configuration scripts to be aware of
the new architecture, and then reconfigure newlib. Which does not appear
to be working, because of the issue mentioned in my initial email.

Lukas

On 11/03/2015 01:48 PM, Freddie Chopin wrote:
> Hello!
> 
> I'm actually able to build newlib with most recent automake on Arch Linux - 
> maybe that's just a issue of the configure flags that you are using? For the 
> toolchain that I build I use almost the same flags as ARM uses for their bare-
> metal toolchain.
> 
> newlib-cygwin/configure  \
>     --target=arm-none-eabi \
>     --prefix=$INSTALLDIR_NATIVE \
>     --infodir=$INSTALLDIR_NATIVE_DOC/info \
>     --mandir=$INSTALLDIR_NATIVE_DOC/man \
>     --htmldir=$INSTALLDIR_NATIVE_DOC/html \
>     --pdfdir=$INSTALLDIR_NATIVE_DOC/pdf \
>     --enable-newlib-io-c99-formats \
>     --enable-newlib-io-long-long \
>     --disable-newlib-supplied-syscalls \
>     --enable-newlib-reent-small \
>     --disable-newlib-atexit-dynamic-alloc \
>     --disable-newlib-fvwrite-in-streamio \
>     --disable-newlib-fseek-optimization \
>     --disable-newlib-wide-orient \
>     --disable-newlib-unbuf-stream-opt \
>     --enable-newlib-global-atexit \
>     --disable-nls
> 
> With these options it works fine...
> 
> Regards,
> FCh
> 



    Lukas

-- 
Lukas Martini
https://lutoma.org
Twitter: @lutoma
Jabber: lutoma@ohai.su

If possible, please consider replying with PGP encryption.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://sourceware.org/pipermail/newlib/attachments/20151103/967a0639/attachment.sig>


More information about the Newlib mailing list