This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: Error Building Newlib for arm-none-eabi
- From: R0b0t1 <r030t1 at gmail dot com>
- To: newlib at sourceware dot org
- Date: Tue, 20 Feb 2018 20:45:57 -0600
- Subject: Re: Error Building Newlib for arm-none-eabi
- Authentication-results: sourceware.org; auth=none
Sorry list, I'm not seeing replies in my mailbox. I recently read this
on the web interface:
```
Robot,
Are you sure you have the PATH right, etc?
I just did:
/home/jaap/tst-newlib/gcc-arm-none-eabi-7-2017-q4-major/src/newlib/configure \
--build=x86_64-linux-gnu \
--host=x86_64-linux-gnu \
--target=arm-none-eabi \
--prefix=/home/jaap/tst-newlib/gcc-arm-none-eabi-7-2017-q4-major/build-native/target-libs
\
--disable-newlib-supplied-syscalls \
--enable-newlib-reent-small \
--disable-newlib-fvwrite-in-streamio \
--disable-newlib-fseek-optimization \
--disable-newlib-wide-orient \
--disable-newlib-unbuf-stream-opt \
--enable-newlib-global-atexit \
--enable-newlib-retargetable-locking \
--disable-nls
make -j8
The newlib version I used to test this is the version in git
ea543d3ffa129dd4976aa19d47cf6c8f7ce09a11
(with comment line fix declaration of fhandler_socket::socketpair)
and it did compile without any error.
Jaap de Wolff
```
I tried HEAD at the time of writing and the commit you referenced.
Both give me the same error in gets.c. PATH is set properly, if I do
not set it properly the scripts can not find arm-none-eabi-cc. Is
there anything else I should make sure is in the path?
I used your options provided.
Cheers,
R0b0t1