Hi,
You might also unconditionally --disable-libjava-multilib in the .info file:

 if [ "%m" = "powerpc" ]; then
   ../gcc-%v/configure %c --disable-libjava-multilib --disable-libquadmath
 else
   ../gcc-%v/configure %c --disable-libjava-multilib
 fi

Maybe that will suppress any attempt to use ld64?
Let me know if that works for you.

Fang

Am 28.1.2012 um 21:12 schrieb Matthew Parry:

ld64: can't add line info to anonymous symbol jcr@0 from 
.libs/gnu-java-awt-dnd-peer-gtk.o
/usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: fatal error in /usr/bin/ld64

As with PPC Java is a problem obviously. You could try to create a local version of the 
/sw/fink/10.4/stable/main/finkinfo/10.4-EOL/languages/gcc46-10.4.info file (by adding an 
"l" to the "Revision" number) in which you disable building of all the Java 
compiler related things... (man pages and texinfo files should not be a problem) Also look at lines 
like:

   (%m != powerpc) lib/gcc4.6/%lib/libgcj.12*.dylib
   (%m != powerpc) lib/gcc4.6/%lib/libgcj-tools.12*.dylib
   (%m != powerpc) lib/gcc4.6/%lib/libgij.12*.dylib
   ...
   (%m != powerpc) lib/gcc4.6/%lib/gcj-4.6.2-12
   ...
   !%p/lib/gcc4.6/lib/gcj-4.6.2-12/libjvm.dylib
   ...
   (%m != powerpc) %p/lib/gcc4.6/%lib/libgcj.12.dylib 13.0.0 %n (>= 4.6-1) 64
   (%m != powerpc) %p/lib/gcc4.6/%lib/libgcj-tools.12.dylib  13.0.0 %n (>= 
4.6-1) 64
   (%m != powerpc) %p/lib/gcc4.6/%lib/libgij.12.dylib 13.0.0 %n (>= 4.6-1) 64
   ...
   (%m != powerpc) !%p/lib/gcc4.6/%lib/gcj-4.6.2-12/libjvm.dylib

These should certainly be removed.


BTW, which intel CPU are you using? (Or Macintosh model?) It looks like a Core2 
variant..., a 64-bit model.

--
Greetings

 Pete

A designer knows he has arrived at perfection not when there is no longer 
anything to add, but when there is no longer anything to take away.
                                ? Antoine de Saint-Exupéry


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users


--
David Fang
http://www.csl.cornell.edu/~fang/
http://www.achronix.com/
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
List archive:
http://news.gmane.org/gmane.os.macosx.fink.user
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to