3
Here's the key details of what worked for me, in case anyone else needs them.
4
There may well be better ways to do some of this, but ....
8
The badge4 has a StrongArm-1110 processor and a StrongArm-1111 coprocessor.
10
Assume that the garbage collector distribution is unpacked into /home/arm/gc6.0,
11
which is visible to both the ARM machine and a linux desktop (e.g. via NFS mounting).
13
Assume that you have a file /home/arm/config.site with contents something like the
14
example attached below. Notice that our local ARM toolchain lives in
17
Go to /home/arm/gc6.0 directory. Do
18
CONFIG_SITE=/home/arm/config.site ./configure --target=arm-linux
19
--prefix=/home/arm/gc6.0
24
The main garbage collector library should now be in ../gc6.0/lib/libgc.so.
26
To test the garbage collector, first do the following on your desktop
29
Then do the following on the ARM machine
33
Do not try to do "make test" (the usual way of running the test
34
program). This does not work and seems to erase some of the important
37
The gctest program claims to have succeeded. Haven't run any further tests
38
with it, though I'll be doing so in the near future.
40
-------------------------------
41
# config.site for configure
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
51
# Names of the cross-compilers
52
CC=/skiff/local/bin/arm-linux-gcc
53
CXX=/skiff/local/bin/arm-linux-gcc
55
# The cross compiler specific options
56
CFLAGS="-O2 -fno-exceptions"
57
CXXFLAGS="-O2 -fno-exceptions"
58
CPPFLAGS="-O2 -fno-exceptions"
62
AR=/skiff/local/bin/arm-linux-ar
63
RANLIB=/skiff/local/bin/arm-linux-ranlib
64
NM=/skiff/local/bin/arm-linux-nm
65
ac_cv_path_NM=/skiff/local/bin/arm-linux-nm
66
ac_cv_func_setpgrp_void=yes
67
x_includes=/skiff/local/arm-linux/include/X11
68
x_libraries=/skiff/local/arm-linux/lib/X11