help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] Installation notes for 2.1.12 on IRIX


From: Daniel Solaz
Subject: [Help-smalltalk] Installation notes for 2.1.12 on IRIX
Date: Thu, 22 Sep 2005 14:05:09 +0200
User-agent: KMail/1.6.1

Hello.

Just in case anyone cares, this is what I had to do to get a 
looks-like-it's-working 64-bit gst on IRIX using the mipspro compiler 
and linker.  I hope I do not forget anything.

Context info: Octane R12000, IRIX 6.5.26; mipspro 7.3.1.  I have the 
full set of GNU utilities installed under /usr/freeware; I used GNU 
make.

1) configure hacking:
The test for "long double" fails due to gcc options being passed to, and 
rejected by, the mipspro compiler.  I commented out lines 5085 and 
5116, which add -Werror and -Wno-long-double to CFLAGS.  Maybe I 
removed some other gcc options elsewhere.

2) ./configure --disable-gtk CC=cc CFLAGS="-64 -mips4" LDFLAGS="-64 
-mips4"
As you can see, no JIT and no preemption.  Will try that later.

3) additional hacking:
libgst/Makefile: removed a -Wall option.
libgst/memzero.h: mipspro cannot swallow the postfix ++ operator in the 
COPY macro; problem 'solved' by commenting all uses of LOOP_ALIGN and 
LOOP_FINISH, and putting a call to "memset((void*)dst, 0, (size_t)n)" 
instead.  Suggestions welcome.
libgst/interp.inl: that UINTMAX_C(2) in line 75 causes parsing problems 
(?); I put "2UL" in place.

At this point, compilation ends successfully.

4) gmake check:
all 84 tests passed

5) after installation:
${INSTALL_ROOT}/lib/smalltalk/libc.la correction: libdir points to /lib, 
should be /usr/lib64

Regards.
-Daniel




reply via email to

[Prev in Thread] Current Thread [Next in Thread]