Skip to content
This repository has been archived by the owner on Jan 11, 2020. It is now read-only.

./configure --host=arm-none-eabi fails with current arm gcc toolchain #3

Open
sdrsdr opened this issue Jul 12, 2017 · 0 comments
Open
Assignees
Labels

Comments

@sdrsdr
Copy link

sdrsdr commented Jul 12, 2017

barematal toolchains such as arm-none-eabi do need alot of tweaking to get to create executables and one of this tweak is providing a minimalistic libc that should not depend on the compiler being able to create executables especially one referencing _exit symbol in them :)

c:/cygwin/opt/armtoolchain/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/lib\libc.a(lib_a-exit.o): In function `exit':
exit.c:(.text.exit+0x2c): undefined reference to `_exit'
collect2.exe: error: ld returned 1 exit status
configure:2797: $? = 1
configure:2835: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "libc11"
| #define PACKAGE_TARNAME "libc11"
| #define PACKAGE_VERSION "e4ca94f"
| #define PACKAGE_STRING "libc11 e4ca94f"
| #define PACKAGE_BUGREPORT "arto@bendiken.net"
| #define PACKAGE_URL "http://libc11.org/"
| #define PACKAGE "libc11"
| #define VERSION "e4ca94f"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2840: error: in `/usr/src/libc11':
configure:2842: error: C compiler cannot create executables
@artob artob self-assigned this Oct 2, 2017
@artob artob added the bug label Oct 2, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Development

No branches or pull requests

2 participants