CFT: print/pdftk port compiled with Java compiler from gcc 4.5

Greg Larkin glarkin at FreeBSD.org
Tue Apr 13 03:25:54 UTC 2010


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Gerald Pfeifer wrote:
> On Fri, 9 Apr 2010, Gerald Pfeifer wrote:
>> As for the lang/gcc42 issue, I have an idea of how to fix that and will 
>> give it try now and share the patch if it works for me.
> 
> The patch below passes testing for me, and I consider it The Right
> Thing[TM] directionally, too.  The two actual changes are the
> addition of --with-as=/usr/bin/as and --with-ld=/usr/bin/ld.
> 
> I have not committed it yet, but am planning on doing so and 
> definitely am interested in whether this changes (improves) things
> for you.
> 
> That said, please do not stop on moving from GCC 4.2 to GCC 4.4 when
> it comes to Java, even in case this patch works for you. :-)
> 
> Gerald
> 
> Index: Makefile
> ===================================================================
> RCS file: /home/pcvs/ports/lang/gcc42/Makefile,v
> retrieving revision 1.356
> diff -r1.356 Makefile
> 56,60c56
> < CONFIGURE_ARGS+=	--disable-nls \
> < 		--with-system-zlib \
> < 		--with-libiconv-prefix=${LOCALBASE} \
> < 		--with-gmp=${LOCALBASE} \
> < 		--program-suffix=${SUFFIX} \
> ---
>> CONFIGURE_ARGS+=--disable-nls \
> 63c59,65
> < 		--with-gxx-include-dir=${TARGLIB}/include/c++/
> ---
>> 		--program-suffix=${SUFFIX} \
>> 		--with-as=/usr/bin/as \
>> 		--with-gmp=${LOCALBASE} \
>> 		--with-gxx-include-dir=${TARGLIB}/include/c++/ \
>> 		--with-ld=/usr/bin/ld \
>> 		--with-libiconv-prefix=${LOCALBASE} \
>> 		--with-system-zlib

Thank you Gerald, I'll give that a try with gcc 4.2 and gcc 4.5
installed.  I think we're getting close with gcj 4.5, assuming my fix
for duplicate Java symbols is acceptable.

I need to do some more tinderbox builds and testing and clear up some
other errors reported by users, but maybe I'll be able to send you the
patches for approval next week.

Thank you,
Greg
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.10 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkvD5D8ACgkQ0sRouByUApC4AgCfS/QrY7PTkegsFRJiEE5WdxH5
GcIAoIdY7KkdUV+ORjj0G9iJcipt31jK
=HuD1
-----END PGP SIGNATURE-----


More information about the freebsd-ports mailing list