Skip to content
This repository was archived by the owner on Jan 11, 2020. It is now read-only.
This repository was 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

@sdrsdr

Description

@sdrsdr

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions