This is the mail archive of the newlib@sourceware.org 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]
Other format: [Raw text]

Re: Support for Cygnus-style trees has been removed


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.

Attachment: signature.asc
Description: OpenPGP digital signature


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