Glomation
 
Advanced Search
Welcome, Guest. Please login or register.

Login with username, password and session length
May 22, 2012, 04:07:10 AM
News: Glomation introduced new wireless ready low cost GESBC-9260S
Pages: [1]
Topic Tools  
Read November 10, 2010, 11:06:21 AM #0
patrick

Using arm-elf-gcc

Has anyone used the arm-elf-gcc compiler to build for the 9G20? I have recently tried but any code I run on the 9G20 just seg fault, even simple a hello world.

What -cpu= arg do you use?
Do I need to link the standard libs?

Thanks.
 
Read November 18, 2010, 12:11:04 PM #1
admin

Re: Using arm-elf-gcc

The arm-linux-gcc must be used if the program is to be run in Linux environment.  The arm-elf-gcc is used to compile program that runs without Linux.
 
Read November 27, 2010, 05:53:50 AM #2
patrick

Re: Using arm-elf-gcc

The arm-linux-gcc must be used if the program is to be run in Linux environment.  The arm-elf-gcc is used to compile program that runs without Linux.


Thanks for the reply. I had actually discovered my mistake and with the help of a tool called Crosstool_NG managed to build an arm-linux-gcc toolchain which seems to work.
 
Pages: [1]
Jump to:  

Theme Update by Runic Warrior Originally created by m3talc0re