Has anyone built gcc on Tiger? I seem to be unable to build one that has libffi, and I've tried all 3.3.x versions.
When you first run the ./configure for gcc (with your --enable-languages=... and --enable-shared=libffi,..., you should notice some output like "This configuration not supported....".
You generaly need to enable gcj for libffi to build. However, it's simple to edit the makefiles to build libffi shared and not (psuedo) depend on gcj.
I've included a patch for 3.4.X series to do this, but I haven't built 3.3.X series in a while, so I'm not sure if it'll apply cleany, or at all, but if you review it, it's simple, and you can likely apply it to your 3.3.X build. The nice thing is, once you remove the (pseudo) dependency of gcj, you can only set enable-languages=c,objc, if that's your thing.
__Armando Di Cianno <libffi-without-libgcj.patch>
--- configure.in.orig 2004-08-03 00:53:36.000000000 +0200
+++ configure.in 2004-08-03 00:52:35.000000000 +0200
@@ -136,8 +136,7 @@
host_tools="texinfo byacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar"
# libgcj represents the runtime libraries only used by gcj.
-libgcj="target-libffi \
- target-boehm-gc \
+libgcj="target-boehm-gc \
target-zlib \
target-qthreads \
target-libjava"
@@ -150,6 +150,7 @@
target-libstdc++-v3 \
target-libf2c \
${libgcj} \
+ target-libffi \
target-libobjc"
# these tools are built using the target libraries, and are intended to
--- configure~ 2004-08-28 02:31:04.000000000 +0200
+++ configure 2004-08-28 10:55:28.000000000 +0200
@@ -876,8 +876,7 @@
host_tools="texinfo byacc flex bison binutils gas ld gcc sid sim gdb make patch prms send-pr gprof etc expect dejagnu ash bash bzip2 m4 autoconf automake libtool diff rcs fileutils shellutils time textutils wdiff find uudecode hello tar gzip indent recode release sed utils guile perl gawk findutils gettext zip fastjar"
# libgcj represents the runtime libraries only used by gcj.
-libgcj="target-libffi \
- target-boehm-gc \
+libgcj="target-boehm-gc \
target-zlib \
target-qthreads \
target-libjava"
@@ -891,6 +890,7 @@
target-libstdc++-v3 \
target-libf2c \
${libgcj} \
+ target-libffi \
target-libobjc"
# these tools are built using the target libraries, and are intended to
pgpekC8f86SMY.pgp
Description: PGP signature
_______________________________________________ Discuss-gnustep mailing list [email protected] http://lists.gnu.org/mailman/listinfo/discuss-gnustep
