реклама на сайте
подробности

 
 
> Сборка arm-elf-gcc
forever failure
сообщение Mar 8 2007, 15:50
Сообщение #1


Местный
***

Группа: Участник
Сообщений: 256
Регистрация: 6-03-05
Из: Екатеринбург
Пользователь №: 3 112



Пытаюсь собрать компилятор и на этапе компиляции libssp получаю такую ошибку:

checking for C compiler default output file name... configure: error: C compiler cannot create executables

В чём тут может быть причина ?
У меня: ОС - SuSE Linux 9.2; компилятор собирающий - gcc 3.3.4; собираемый - gcc 4.1.1;binutils - 2.17;
ключи configure: --target=arm-elf --prefix=$HOME/local --enable-interwork --enable-multilib --enable-languages="c" --with-headers=../newlib-1.15.0/newlib/libc/include

Причём, при сборке gcc версии 3.4.4 и binutils 2.15 возникала таже ошибка.
Go to the top of the page
 
+Quote Post
 
Start new topic
Ответов
vanokuten
сообщение Mar 12 2007, 01:05
Сообщение #2


Частый гость
**

Группа: Участник
Сообщений: 116
Регистрация: 18-12-04
Из: Минск
Пользователь №: 1 550



Цитата(forever failure @ Mar 8 2007, 14:50) *
Пытаюсь собрать компилятор и на этапе компиляции libssp получаю такую ошибку:

checking for C compiler default output file name... configure: error: C compiler cannot create executables

В чём тут может быть причина ?
У меня: ОС - SuSE Linux 9.2; компилятор собирающий - gcc 3.3.4; собираемый - gcc 4.1.1;binutils - 2.17;
ключи configure: --target=arm-elf --prefix=$HOME/local --enable-interwork --enable-multilib --enable-languages="c" --with-headers=../newlib-1.15.0/newlib/libc/include

Причём, при сборке gcc версии 3.4.4 и binutils 2.15 возникала таже ошибка.


Ребята не изобретайте велосипед!
Если arm-linux система с uCLinux тогда
http://buildroot.uclibc.org/

если с glibc тогда:
http://kegel.com/crosstool/

Вы еще на этапе компилера застряли - а вам еще предстоит с glibc/uclibc повозиться
Вышеупомянутые сслыки сделают все за вас


--------------------
Go to the top of the page
 
+Quote Post
vanokuten
сообщение Mar 12 2007, 13:39
Сообщение #3


Частый гость
**

Группа: Участник
Сообщений: 116
Регистрация: 18-12-04
Из: Минск
Пользователь №: 1 550



/src/test> arm-elf-gdb arm.elf
GNU gdb 6.6
Copyright © 2006 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "--host=i686-pc-linux-gnu --target=arm-elf"...
(gdb) target sim
Connected to the simulator.
(gdb) break main
Breakpoint 1 at 0x8228: file test.cpp, line 6.
(gdb) run
Starting program: /home/sprog/src/test/arm.elf
warning: No program loaded.
Segmentation fault

-------------------------------------------------------

Используйте skyeye!!!


--------------------
Go to the top of the page
 
+Quote Post



Reply to this topicStart new topic
1 чел. читают эту тему (гостей: 1, скрытых пользователей: 0)
Пользователей: 0

 


RSS Текстовая версия Сейчас: 23rd July 2025 - 03:10
Рейтинг@Mail.ru


Страница сгенерированна за 0.0192 секунд с 7
ELECTRONIX ©2004-2016