Toolchain for at91sam9261 ?

All design tool related questions: compiler, assembler, linker. Embedded programming questions: assembler, C code.

Moderator: nferre

wowy
Posts: 7
Joined: Wed Mar 04, 2015 4:04 pm

Toolchain for at91sam9261 ?

Fri Mar 20, 2015 11:12 am

Hello,

I am currently working on a board (sbc6000x, linux 2.6.24) and would like to make a little application for it.
When i recieved the board, i got a cd with some source and a toolchain ( arm-linux-gcc-3.4.5-glibc-2.3.6-linux ). I installed the toolchain correctly (a little "hello world" script can be compiled to an exec without issue). The board come with a little exec to test the board/lcd display. I was thinking of compiling the source of it, to test the toolchain and be sure that nothing was wrong. So i open my terminal, export the path to the compiler, type "make" but it gives me an error.

Code: Select all

make[1]: Entering directory `/home/spi/Bureau/appsbc'
linking ...
arm-linux-gcc  -L ./lib -lts -lpthread -o appsbc init/main.o driver/key/key.o driver/keypad/keypad.o driver/lcd/lcd.o driver/rtc/rtc.o driver/gpio/gpio.o driver/com/com.o driver/usb/usb.o driver/sd/sd.o driver/eeprom/eeprom.o app/fb/fbutils.o app/font/font_8x16.o app/font/font_8x8.o
init/main.o: file not recognized: File format not recognized
collect2: ld returned 1 exit status
make[1]: *** [appsbc] Error 1
make[1]: Leaving directory `/home/spi/Bureau/appsbc'
make: *** [all] Error 2
spi@spi-HP-Compaq-dc7800-Convertible-Minitower:~/Bureau/appsbc$ 
Does anyone here work with this kind of device and know a toolchain working ?

Return to “Development Tools”

Who is online

Users browsing this forum: Baidu [Spider] and 1 guest