You are not logged in.
Pages: 1
Topic closed
Hi,
Ive downloaded the cross-arm-elf packages from community. And I got a few problems with it:
First I needed the stdio.h file, which seems not to be included in the package...?
further, the arm-elf-ld is not configured to use sysroot..
I get these two error-messages when I follow the "gnuarm.org -> support" example -- which I thought would work. I find this pretty uphill to make this work, but I will dick deeper into it.
I've made et work partly by adding another include-directory
$ arm-elf-gcc -mcpu=arm7tdmi -mthumb -O2 -g -c hello.c
hello.c:1:19: error: stdio.h: No such file or directory
$ arm-elf-gcc -mcpu=arm7tdmi -mthumb -O2 -g -I /usr/local/arm/arm-elf/include/ -c hello.c
$ arm-elf-gcc -mcpu=arm7tdmi -mthumb -o hello hello.o -lc/usr/bin/arm-elf-ld: this linker was not configured to use sysroots
collect2: ld returned 1 exit status
Anyway, please post fixes and let me know if I'm the only one who has this problem
the c-code is just a hello world one
#include <stdio.h>
int main(void)
{
printf "hello world \n"
return 0;
}
Offline
You are not alone to have this problem:
/usr/bin/arm-elf-ld: this linker was not configured to use sysroots
I got this when trying to compile a basic "blink" example program.
Does someone knows how to solve this ?
thx,
Olivier
Offline
Any news?
Offline
I think you should make a bug report so that the devs see it.
Offline
I'm having this problem too.
Offline
The package maintainer didn't respond 11 months ago, so it's reasonable to assume he won't now either.
Closing this thread - post a bug, as previously suggested.
Offline
Pages: 1
Topic closed