One note, however.

When I "make install", raco does not add -m64 to either CFLAGS or LDFLAGS.
(And since I was root to install, gcc wasn't visible, either). Through a
bit of trail and error, I figured out to put them in the environment as in:

LDFLAGS=-m64 PATH=/usr/sfw/bin/:$PATH CFLAGS=-m64 gmake install

This has left me with only one outstanding issue. When building
(installing) sgl, the following is thrown out. I don't need sgl (at the
moment) -- but if anyone gives me a clue as to how to trace this (or asks
me for some debug) I'm happy to help.

raco setup: pre-installing: sgl
make: making compiled/gl-info_rkt.zo
compile-extension: (/usr/sfw/bin/gcc -m64 -c -O2 -fPIC -DMZ_PRECISE_GC -I/usr/openwin/include -I/usr/openwin/include -I/usr/sfw/include -I/usr/sfw/include/freetype2 -I/usr/local/plt-5.0/SunOS-5.10-amd64/lib/racket/collects/compiler -I/usr/local/plt-5.0/SunOS-5.10-amd64/include/racket compiled/make-gl-info-helper_rkt.c -o make-gl-info-helper_rkt.o) link-extension: (/usr/sfw/bin/gcc -m64 -fPIC -shared make-gl-info-helper_rkt.o /usr/local/plt-5.0/SunOS-5.10-amd64/lib/racket/mzdyn3m.o -o compiled/native/x86_64-solaris/3m/make-gl-info-helper_rkt.so)
Text relocation remains                         referenced
    against symbol                  offset      in file
<unknown> 0x20 /usr/local/plt-5.0/SunOS-5.10-amd64/lib/racket/mzdyn3m.o <unknown> 0x5 /usr/local/plt-5.0/SunOS-5.10-amd64/lib/racket/mzdyn3m.o
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: ld returned 1 exit status
make: failed to make compiled/gl-info_rkt.zo; link-extension: command failed
raco setup: --- compiling collections ---

Regards,

Tim

--
Tim Brown <tim.br...@cityc.co.uk>  | City Computing Limited            |
T: +44 20 8770 2110                | City House, Sutton Park Road      |
F: +44 20 8770 2130                | Sutton, Surrey, SM1 2AE, GB       |
-----------------------------------------------------------------------|
BEAUTY:  What's in your eye when you have a bee in your hand           |
-----------------------------------------------------------------------'
City Computing Limited registered in London No. 1767817.
Registered Office: City House, Sutton Park Road, Sutton, Surrey, SM1 2AE
VAT number 372 8290 34.
_________________________________________________
 For list-related administrative tasks:
 http://lists.racket-lang.org/listinfo/users

Reply via email to