17 |
* FreeBSD 4.x:: |
* FreeBSD 4.x:: |
18 |
* FreeBSD 3.x:: |
* FreeBSD 3.x:: |
19 |
* FreeBSD 2.x:: |
* FreeBSD 2.x:: |
|
* GNU-Linux/Intel:: |
|
20 |
* GNU-Linux/PowerPC:: |
* GNU-Linux/PowerPC:: |
21 |
* Irix 6.5/MIPS:: |
* Irix 6.5/MIPS:: |
22 |
* MkLinux/PowerPC:: |
* MkLinux/PowerPC:: |
23 |
|
* RedHat/Intel:: |
24 |
* NetBSD:: |
* NetBSD:: |
25 |
* Netwinder:: |
* Netwinder:: |
26 |
* OpenBSD 2.x:: |
* OpenBSD 3.x:: |
27 |
* OSF/Alpha:: |
* OSF/Alpha:: |
28 |
* Slackware/Intel:: |
* Slackware/Intel:: |
29 |
* Solaris 2.5.1/Sparc:: |
* Solaris 2.5.1/Sparc:: |
83 |
|
|
84 |
@c ----------------------------------------- |
@c ----------------------------------------- |
85 |
@node Darwin 6.x/PowerPC, Debian/DEC-Alpha, Machine Specific, Machine Specific |
@node Darwin 6.x/PowerPC, Debian/DEC-Alpha, Machine Specific, Machine Specific |
86 |
@section Darwin 6.x/PowerPC (@emph{Unstable!}) |
@section Darwin 6.x/PowerPC |
87 |
|
|
88 |
@table @samp |
@table @samp |
89 |
@item Recommended compiler |
@item Recommended compiler |
199 |
@end table |
@end table |
200 |
|
|
201 |
@c ----------------------------------------- |
@c ----------------------------------------- |
202 |
@node FreeBSD 2.x, GNU-Linux/Intel, FreeBSD 3.x, Machine Specific |
@node FreeBSD 2.x, GNU-Linux/PowerPC, FreeBSD 3.x, Machine Specific |
203 |
@section FreeBSD 2.x (@emph{Unstable!}) |
@section FreeBSD 2.x (@emph{Unstable!}) |
204 |
|
|
205 |
@table @samp |
@table @samp |
226 |
@end table |
@end table |
227 |
|
|
228 |
@c ----------------------------------------- |
@c ----------------------------------------- |
229 |
@node GNU-Linux/Intel, GNU-Linux/PowerPC, FreeBSD 2.x, Machine Specific |
@node GNU-Linux/PowerPC, Irix 6.5/MIPS, FreeBSD 2.x, Machine Specific |
|
@section GNU-Linux/Intel (RedHat 5.x, 6.x, and 7.0) |
|
|
|
|
|
@table @samp |
|
|
@item Recommended compiler |
|
|
With 5.x, the egcs compiler that comes with RedHat. Later versions may |
|
|
have gcc installed, although 7.0 comes with a snapshot of gcc (called |
|
|
2.96) which is unsuitable for compiling Objective-C code. For 7.0 you |
|
|
should install the egcs compatibility packages (or an official gcc release). |
|
|
For RedHat 7.2 or later, the default gcc apparently works fine |
|
|
(even if it is 2.96) |
|
|
|
|
|
@item Extra libs needed |
|
|
Unknown |
|
|
|
|
|
@item Special Instructions |
|
|
Make sure you have a decent version of the compiler. Try @samp{cc -v} |
|
|
or @samp{gcc -v} to get the version of the compiler. |
|
|
With 5.x, make sure you set CC=egcs before configuring, as |
|
|
in: |
|
|
|
|
|
@example |
|
|
export CC=egcs |
|
|
configure .... |
|
|
@end example |
|
|
|
|
|
Since RedHat 5.x also comes standard with an old version of gcc. |
|
|
|
|
|
On RedHat 7.0, configure like this |
|
|
@example |
|
|
CC=egcs LDFLAGS="-u shmctl@@GLIBC_2.2 -L/lib -lc -u getpwuid_r@@GLIBC_2.1.2 |
|
|
-L/lib -lc -u getpwnam_r@@GLIBC_2.1.2 -L/lib -lc" ./configure |
|
|
@end example |
|
|
@end table |
|
|
|
|
|
@c ----------------------------------------- |
|
|
@node GNU-Linux/PowerPC, Irix 6.5/MIPS, GNU-Linux/Intel, Machine Specific |
|
230 |
@section GNU-Linux/PowerPC (LinuxPPC, Yellowdog) |
@section GNU-Linux/PowerPC (LinuxPPC, Yellowdog) |
231 |
|
|
232 |
@table @samp |
@table @samp |
233 |
@item Recommended compiler |
@item Recommended compiler |
234 |
The default compiler. gcc-3.x works, but you need a new gdb also to debug. |
Standard |
235 |
|
|
236 |
@item Extra libs needed |
@item Extra libs needed |
237 |
None. |
Standard (ffcall or libffi) |
238 |
|
|
239 |
@item Special Instructions |
@item Special Instructions |
240 |
|
|
241 |
@end table |
@end table |
242 |
|
|
|
ffcall or libffi is required for |
|
|
invocations (and DO) to work well. The major problem is sending data |
|
|
with data sizes less than 4 bytes (chars, shorts, etc). |
|
|
|
|
243 |
@c ----------------------------------------- |
@c ----------------------------------------- |
244 |
@node Irix 6.5/MIPS, MkLinux/PowerPC, GNU-Linux/PowerPC, Machine Specific |
@node Irix 6.5/MIPS, MkLinux/PowerPC, GNU-Linux/PowerPC, Machine Specific |
245 |
@section Irix 6.5/MIPS |
@section Irix 6.5/MIPS |
267 |
@end table |
@end table |
268 |
|
|
269 |
@c ----------------------------------------- |
@c ----------------------------------------- |
270 |
@node MkLinux/PowerPC, NetBSD, Irix 6.5/MIPS, Machine Specific |
@node MkLinux/PowerPC, RedHat/Intel, Irix 6.5/MIPS, Machine Specific |
271 |
@section MkLinux/PowerPC (@emph{Obsolete}) |
@section MkLinux/PowerPC (@emph{Obsolete}) |
272 |
|
|
273 |
This configuration is no longer being tested, but it may still work. |
This configuration is no longer being tested, but it may still work. |
292 |
@end table |
@end table |
293 |
|
|
294 |
@c ----------------------------------------- |
@c ----------------------------------------- |
295 |
@node NetBSD, Netwinder, MkLinux/PowerPC, Machine Specific |
@node RedHat/Intel, NetBSD, MkLinux/PowerPC, Machine Specific |
296 |
|
@section RedHat/Intel |
297 |
|
|
298 |
|
@table @samp |
299 |
|
@item Recommended compiler |
300 |
|
Standard |
301 |
|
|
302 |
|
@item Extra libs needed |
303 |
|
Standard (ffcall or libffi) |
304 |
|
|
305 |
|
@item Special Instructions |
306 |
|
None |
307 |
|
@end table |
308 |
|
|
309 |
|
@c ----------------------------------------- |
310 |
|
@node NetBSD, Netwinder, RedHat/Intel, Machine Specific |
311 |
@section NetBSD |
@section NetBSD |
312 |
|
|
313 |
@table @samp |
@table @samp |
323 |
@end table |
@end table |
324 |
|
|
325 |
@c ----------------------------------------- |
@c ----------------------------------------- |
326 |
@node Netwinder, OpenBSD 2.x, NetBSD, Machine Specific |
@node Netwinder, OpenBSD 3.x, NetBSD, Machine Specific |
327 |
@section Netwinder (@emph{Unstable!}) |
@section Netwinder (@emph{Unstable!}) |
328 |
|
|
329 |
@table @samp |
@table @samp |
338 |
@end table |
@end table |
339 |
|
|
340 |
@c ----------------------------------------- |
@c ----------------------------------------- |
341 |
@node OpenBSD 2.x, OSF/Alpha, Netwinder, Machine Specific |
@node OpenBSD 3.x, OSF/Alpha, Netwinder, Machine Specific |
342 |
@section OpenBSD 2.x (@emph{Unstable!}) |
@section OpenBSD 3.x (@emph{Unstable!}) |
343 |
|
|
344 |
@table @samp |
@table @samp |
345 |
@item Recommended compiler |
@item Recommended compiler |
349 |
Unknown |
Unknown |
350 |
|
|
351 |
@item Special Instructions |
@item Special Instructions |
|
Can only compile with static libraries. Gives a lot of warnings. |
|
352 |
Try reading the README.NetBSD which might work the same on OpenBSD. |
Try reading the README.NetBSD which might work the same on OpenBSD. |
353 |
@end table |
@end table |
354 |
|
|
355 |
@c ----------------------------------------- |
@c ----------------------------------------- |
356 |
@node OSF/Alpha, Slackware/Intel, OpenBSD 2.x, Machine Specific |
@node OSF/Alpha, Slackware/Intel, OpenBSD 3.x, Machine Specific |
357 |
@section OSF Alpha (@emph{Unstable!}) |
@section OSF Alpha (@emph{Unstable!}) |
358 |
@c Contact: suzukis@file.phys.tohoku.ac.jp |
@c Contact: suzukis@file.phys.tohoku.ac.jp |
359 |
|
|
427 |
@url{http://gcc.gnu.org/ml/java-patches/2002-q3/msg00036.html} (not |
@url{http://gcc.gnu.org/ml/java-patches/2002-q3/msg00036.html} (not |
428 |
particularly recommended). |
particularly recommended). |
429 |
|
|
|
|
|
430 |
Using a POSIX shell (zsh or bash, which should come with Solaris) is |
Using a POSIX shell (zsh or bash, which should come with Solaris) is |
431 |
highly recommended. In fact, some functions, such as compiling frameworks, |
highly recommended. In fact, some functions, such as compiling frameworks, |
432 |
will not work without it. |
will not work without it. |
644 |
(gcc -v for location) so that it isn't accidentally found. |
(gcc -v for location) so that it isn't accidentally found. |
645 |
For ffcall, you should get version 1.8b or above (the earlier ones don't |
For ffcall, you should get version 1.8b or above (the earlier ones don't |
646 |
compile). There are still some problems with structure passing, but that is |
compile). There are still some problems with structure passing, but that is |
647 |
generally not supportred on any architecture. |
generally not supportred on any architecture. libffi not supported. |
648 |
|
|
649 |
@item Special Instructions |
@item Special Instructions |
650 |
On later versions of Cygwin you may be required to include the win32api |
On later versions of Cygwin you may be required to include the win32api |