delete gcc40, gcc41, gcc42
Jack Howarth
howarth at bromo.med.uc.edu
Wed Sep 14 11:55:54 PDT 2011
On Wed, Sep 14, 2011 at 11:52:02AM -0500, Ryan Schmidt wrote:
>
> On Sep 14, 2011, at 09:06, Jack Howarth wrote:
>
> > On Tue, Sep 13, 2011 at 09:37:16PM -0500, Ryan Schmidt wrote:
> >>
> >> pdftk seems to require gcc42 on Leopard and earlier, and sets its default_variants accordingly. Please don't delete gcc42 or pdftk won't work on Leopard or earlier (and thus on any PowerPC Mac) anymore.
> >
> > Ryan,
> > You should be able to use the gcc44 to provide the necessary gcj for pdftk.
>
> Yes, I should be able to, but I am not. gcc43 and gcc44 want to install ecj to the same location, making the gcc43 and gcc44 ports conflict with one another, which would not be acceptable. I could not find an option to tell gcc43 or gcc44 to install ecj in a different location, therefore ecj support was never added to gcc43 or gcc44. Would love to fix this, if you know how and can supply a patch. See:
>
> https://trac.macports.org/ticket/22066
Ryan,
I've never had this problem with the fink gcc4x packages that I maintain, however I use...
ConfigureParams: <<
--prefix=%p/lib/gcc4.4 --mandir=%p/share/man --infodir=%p/lib/gcc4.4/info --enable-languages=c,c++,fortran,objc,obj-c++,java \
--with-gmp=%p --with-libiconv-prefix=%p --without-ppl --without-cloog --with-mpc=%p --with-system-zlib \
--x-includes=/usr/X11R6/include --x-libraries=/usr/X11R6/lib --program-suffix=-fsf-4.4
<<
I suspect if you pass '--prefix=${prefix}/lib/gcc4.4, your problems with ecj.jar placement will disappear.
In fink, this results in ecj.jar being placed in /sw/lib/gcc4.4/share/java, etc.
Jack
>
>
> > Only gcc45 and later should be a problem for gcj.
>
> gcc45 is not a problem for pdftk, on Snow Leopard at least. (Fink's) gcc45 is actually the version of gcc pdftk ships hardcoded to use; I had to patch this to be able to use other versions.
>
>
>
More information about the macports-dev
mailing list