]> git.proxmox.com Git - ceph.git/blame - ceph/src/boost/tools/build/src/engine/boehm_gc/doc/README.arm.cross
bump version to 12.2.2-pve1
[ceph.git] / ceph / src / boost / tools / build / src / engine / boehm_gc / doc / README.arm.cross
CommitLineData
7c673cae
FG
1From: Margaret Fleck
2
3Here's the key details of what worked for me, in case anyone else needs them.
4There may well be better ways to do some of this, but ....
5 -- Margaret
6
7
8The badge4 has a StrongArm-1110 processor and a StrongArm-1111 coprocessor.
9
10Assume that the garbage collector distribution is unpacked into /home/arm/gc6.0,
11which is visible to both the ARM machine and a linux desktop (e.g. via NFS mounting).
12
13Assume that you have a file /home/arm/config.site with contents something like the
14example attached below. Notice that our local ARM toolchain lives in
15/skiff/local.
16
17Go to /home/arm/gc6.0 directory. Do
18 CONFIG_SITE=/home/arm/config.site ./configure --target=arm-linux
19--prefix=/home/arm/gc6.0
20
21On your desktop, do:
22 make
23 make install
24The main garbage collector library should now be in ../gc6.0/lib/libgc.so.
25
26To test the garbage collector, first do the following on your desktop
27 make gctest
28 ./gctest
29Then do the following on the ARM machine
30 cd .libs
31 ./lt-gctest
32
33Do not try to do "make test" (the usual way of running the test
34program). This does not work and seems to erase some of the important
35files.
36
37The gctest program claims to have succeeded. Haven't run any further tests
38with it, though I'll be doing so in the near future.
39
40-------------------------------
41# config.site for configure
42
43# Modified from the one provided by Bradley D. LaRonde
44# Edited by Andrej Cedilnik <acedil1@csee.umbc.edu>
45# Used some of solutions by Tilman Vogel <Tilman.Vogel@web.de>
46# Ported for iPAQ Familiar by Oliver Kurth <oliver.kurth@innominate.com>
47# Further modified by Margaret Fleck for the badge4
48
49HOSTCC=gcc
50
51# Names of the cross-compilers
52CC=/skiff/local/bin/arm-linux-gcc
53CXX=/skiff/local/bin/arm-linux-gcc
54
55# The cross compiler specific options
56CFLAGS="-O2 -fno-exceptions"
57CXXFLAGS="-O2 -fno-exceptions"
58CPPFLAGS="-O2 -fno-exceptions"
59LDFLAGS=""
60
61# Some other programs
62AR=/skiff/local/bin/arm-linux-ar
63RANLIB=/skiff/local/bin/arm-linux-ranlib
64NM=/skiff/local/bin/arm-linux-nm
65ac_cv_path_NM=/skiff/local/bin/arm-linux-nm
66ac_cv_func_setpgrp_void=yes
67x_includes=/skiff/local/arm-linux/include/X11
68x_libraries=/skiff/local/arm-linux/lib/X11