Sign in Join
Wiki copytemporary

Binutils/ru

English · Français · Magyar · Русский · 中文(中国)

В большинстве случаев для кросс-компиляции с одной платформы на другую кросс-утилиты (Binutils), то есть ассемблер, компоновщик и т.д.

Если нет готовых утилит для кросс-компиляции с основной платформы (host) на целевую (target) платформу то вы можете их скомпилировать, самостоятельно взяв исходные тексты с домашней страницы проекта (http://www.gnu.org/software/binutils/))

Типичный пример конфигурирования кросс-утилит для использования с fpc:

pascal
 ./configure --target=arm-linux \
 --prefix=/usr/local/lib/arm-linux \
 --bindir=/usr/local/bin --mandir=/usr/local/share/man --infodir=/usr/local/share/info \
 --program-prefix=arm-linux- \
 --disable-werror

Для Unix подобных систем цель (target) и префикс определены довольно чётко, для других систем такого определения нет.

Список параметров:

Платформа Цель (Target) Префикс
Windows (32 bit) i386-mingw32 i386-win32
Win CE (Intel) i386-wince i386-wince
Win CE (arm) arm-wince-pe arm-wince
Win CE (i386) i386-wince i386-wince
Solaris i386-? i386-?
OS/2 i386-? i386-?
Symbian OS i386-? i386-?
Mac OS X (Intel) i386-darwin i386-darwin
Mac OS X (PowerPC) powerpc-darwin powerpc-darwin
iPhoneOS arm-darwin? arm-darwin?
Amiga OS powerpc-? powerpc-?
MorphOS powerpc-? powerpc-?
arm-gba ? arm-gba
arm-nds ? arm-nds
arm-embedded ? ?
arm-symbian ? ?
arm-PalmOS ? ?

From the Free Pascal wiki, page "Binutils/ru", as it stood on 2015-07-14 after a change by FTurtle, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's Licensing page. If you have concerns about this material, message the admin.

Revision 3, last changed by WikiArchive .

Edited on wiki.freepascal.org by 3 people, 2010–2015

From the official wiki's backup of 26 May 2024: who edited this page there, and when. Edits made there after that date were not recorded, and the earlier versions are not shown here; the main page says why.

WhenWhoWhat changed
Mr.SmartRussian translated
Mr.Smart (minor)
Mr.Smart (minor)
Olaf (minor)
FTurtle (minor)
FTurtle (minor)
FTurtle

Talk about this page

Nobody has opened a bench for this page yet. Sign in to open one.