Compiling newlib from gcc-arm-none-eabi-*-src.tar.bz2

Asked by Martin Velek

I am sorry with flooding the Answers section, I am changing the commercial solution (gcc based) with the pure open source variant.
--

It is possible to compile the newlib library extracted from gcc-arm-none-eabi-*-src.tar.bz2 with the already precompiled binaries from gcc-arm-none-eabi-*-linux.tar.bz2? I mean to extract the newlib source to somewhere, compile it and than replace the libc, libg, crt0.s and ../arm-none-eabi/include/newlib.h in the binary directory.

What ./configure arguments should I use?
../configure --target=arm-none-eabi -enable-newlib-io-long-long --enable-newlib-register-fini --disable-newlib-supplied-syscalls --disable-nls (taken from build-toolchain.sh)

I am asking because of references to https://answers.launchpad.net/gcc-arm-embedded/+question/246018
and https://bugs.launchpad.net/gcc-arm-embedded/+bug/1303369

Best
Martin

Question information

Language:
English Edit question
Status:
Answered
For:
GNU Arm Embedded Toolchain Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Terry Guo (terry.guo) said :
#1

I think you can do such thing with configuration arguments you mentioned.

Can you help with this problem?

Provide an answer of your own, or ask Martin Velek for more information if necessary.

To post a message you must log in.