Forum: ARM programming with GCC/GNU tools EFSL on Vista

von Tuan P. (tuanpa)

Rate this post
0 useful
not useful

I'm successfull building the efsl. However, I got error when building
the example for at91sam7s256. I'm using WinARM-20060606.

The compliter stuck at this line for a while and then display "make: ***
[main.elf] Error 1"

Linking: main.elf
arm-elf-gcc -mthumb -mcpu=arm7tdmi -mthumb-interwork -I. -gdwarf-2
-Os -ffunction-sections -fdata-sections -Wall -Wcast-align -Wimplicit
-Wpointer-arith -Wswitch -Wredundant-decls -Wreturn-type -Wshadow
-Wunused -Wa,-adhlns=common/Cstartup.lst  -I./common -I../../inc
-IC:\work\app\WinARM-20060606\WinARM\arm-elf\include -MD -MP -MF
.dep/main.elf.d common/Cstartup.o common/swi_handler.o
common/Cstartup_SAM7.o main.o dbgu.o syscalls.o swi_handler_user.o
systime.o     --output main.el
f -nostartfiles -Wl,-Map=main.map,--cref,--gc-sections -lc  -lm -lc
-lgcc   -L./common -L../../ -lefsl -T./common/AT91SAM7S256-ROM.ld
make: *** [main.elf] Error 1

Could you please help me to fix it?
Thank you

von Tuan P. (tuanpa)

Rate this post
0 useful
not useful
I found that problem relating to the PATH environment. It works now.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.