You are not logged in.

#1 2009-01-09 10:20:16

hrsvan
Member
Registered: 2007-11-11
Posts: 25

arm-elf

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

#2 2009-09-14 20:37:23

my64
Member
From: France
Registered: 2007-12-30
Posts: 88

Re: arm-elf

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

#3 2009-10-26 16:45:10

nickoe
Member
From: Denmark
Registered: 2009-06-30
Posts: 7

Re: arm-elf

Any news?

Offline

#4 2009-10-26 17:02:13

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: arm-elf

I think you should make a bug report so that the devs see it.

Offline

#5 2010-09-07 15:51:06

synthead
Member
Registered: 2006-05-09
Posts: 1,337

Re: arm-elf

I'm having this problem too.

Offline

#6 2010-09-07 17:42:40

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: arm-elf

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

Board footer

Powered by FluxBB