readme.arm.cross

来自「Boost provides free peer-reviewed portab」· CROSS 代码 · 共 69 行

CROSS
69
字号
From: Margaret FleckHere's the key details of what worked for me, in case anyone else needs them.There may well be better ways to do some of this, but ....   -- MargaretThe badge4 has a StrongArm-1110 processor and a StrongArm-1111 coprocessor.  Assume that the garbage collector distribution is unpacked into /home/arm/gc6.0,which is visible to both the ARM machine and a linux desktop (e.g. via NFS mounting).Assume that you have a file /home/arm/config.site with contents something like theexample attached below.  Notice that our local ARM toolchain lives in/skiff/local.Go to /home/arm/gc6.0 directory.  Do  CONFIG_SITE=/home/arm/config.site ./configure --target=arm-linux--prefix=/home/arm/gc6.0On your desktop, do:   make   make installThe main garbage collector library should now be in ../gc6.0/lib/libgc.so.  To test the garbage collector, first do the following on your desktop   make gctest   ./gctestThen do the following on the ARM machine   cd .libs   ./lt-gctestDo not try to do "make test" (the usual way of running the testprogram).  This does not work and seems to erase some of the importantfiles.The gctest program claims to have succeeded.  Haven't run any further testswith it, though I'll be doing so in the near future.-------------------------------# config.site for configure# Modified from the one provided by Bradley D. LaRonde# Edited by Andrej Cedilnik <acedil1@csee.umbc.edu># Used some of solutions by Tilman Vogel <Tilman.Vogel@web.de># Ported for iPAQ Familiar by Oliver Kurth <oliver.kurth@innominate.com># Further modified by Margaret Fleck for the badge4HOSTCC=gcc# Names of the cross-compilersCC=/skiff/local/bin/arm-linux-gccCXX=/skiff/local/bin/arm-linux-gcc# The cross compiler specific optionsCFLAGS="-O2 -fno-exceptions"CXXFLAGS="-O2 -fno-exceptions"CPPFLAGS="-O2 -fno-exceptions"LDFLAGS=""# Some other programsAR=/skiff/local/bin/arm-linux-arRANLIB=/skiff/local/bin/arm-linux-ranlibNM=/skiff/local/bin/arm-linux-nmac_cv_path_NM=/skiff/local/bin/arm-linux-nmac_cv_func_setpgrp_void=yesx_includes=/skiff/local/arm-linux/include/X11x_libraries=/skiff/local/arm-linux/lib/X11

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?