Open Source & Linux Lab

It's better when it's simple

User Tools

Site Tools


etc:common_activities:gcc_vectorization:toolchain_ia64

ia64 toolchain

glibc-2.3.6 собирается gcc-3.4.5 с помощью crosstool. следует поправить TARBALLS_DIR и RESULT_TOP в файлике demo-ia64.sh и запустить его. в $RESULT_TOP/gcc-3.4.5-glibc-2.3.6/ia64-unknown-linux-gnu/ia64-unknown-linux-gnu/ появляется собранный glibc и остальные библиотеки.

этим можно компилировать статические и динамические бинарники для ia64:

[dumb@stripy ia64]$ /home/dumb/ws/xgcc/crosstool/root/gcc-3.4.5-glibc-2.3.6/ia64-unknown-linux-gnu/bin/ia64-unknown-linux-gnu-gcc -static test.c
[dumb@stripy ia64]$ file a.out
a.out: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), statically linked, for GNU/Linux 2.4.18, not stripped
[dumb@stripy ia64]$ /home/dumb/Documents/Download/soft/emulators/ski-1.3.2/build/root/usr/local/bin/bskinc a.out
helo, world
[dumb@stripy ia64]$ /home/dumb/ws/xgcc/crosstool/root/gcc-3.4.5-glibc-2.3.6/ia64-unknown-linux-gnu/bin/ia64-unknown-linux-gnu-gcc test.c
[dumb@stripy ia64]$ file a.out
a.out: ELF 64-bit LSB executable, IA-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.4.18, not stripped
[dumb@stripy ia64]$ /home/dumb/Documents/Download/soft/emulators/ski-1.3.2/build/root/usr/local/bin/bskinc -simroot /home/dumb/ws/xgcc/crosstool/root/gcc-3.4.5-glibc-2.3.6/ia64-unknown-linux-gnu/ia64-unknown-linux-gnu a.out
helo, world
etc/common_activities/gcc_vectorization/toolchain_ia64.txt · Last modified: 2008/05/03 19:35 by jcmvbkbc