Date: Mon, 12 Apr 2010 15:19:23 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: Greg Larkin <glarkin@FreeBSD.org> Cc: =?ISO-8859-15?Q?Jouko_Lumij=E4rvi?= <jlumijar@sun3.oulu.fi>, Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>, FreeBSD Ports ML <freebsd-ports@freebsd.org> Subject: Re: CFT: print/pdftk port compiled with Java compiler from gcc 4.5 Message-ID: <alpine.LSU.1.99.1004121516510.24624@acrux.dbai.tuwien.ac.at> In-Reply-To: <alpine.LSU.1.99.1004091920230.24624@acrux.dbai.tuwien.ac.at> References: <4BBE88EB.2000708@FreeBSD.org> <alpine.LSU.1.99.1004091920230.24624@acrux.dbai.tuwien.ac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.1.99.1004121516510.24624>