Date: Wed, 21 Jul 2004 13:02:19 +0300 From: Panagiotis Astithas <past@ebs.gr> To: Jan-Peter Koopmann <Jan-Peter.Koopmann@seceidos.de> Cc: java@FreeBSD.ORG Subject: Re: eclipse 3.0 port Message-ID: <40FE3F2B.1050400@ebs.gr> In-Reply-To: <AEF86EFA5497434190F6D57E2666EA7A033529@ERWIN.intern.seceidos.de> References: <AEF86EFA5497434190F6D57E2666EA7A033529@ERWIN.intern.seceidos.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Jan-Peter Koopmann wrote:
> bash-2.05b# uname -a
> FreeBSD devel 4.10-BETA FreeBSD 4.10-BETA #0: Fri Apr 16 12:08:29 CEST
> 2004 root@devel:/usr/obj/usr/src/sys/OAS i386
> bash-2.05b# pkg_info -xc gcc
> pkg_info: no packages match pattern(s)
> bash-2.05b# which gcc
> /usr/bin/gcc
I think that you may have to use gcc 3.x in order to build eclipse. I
use -current so I have never tried a build with gcc 2.95.x. I can't test
on -stable at the moment, so I would be grateful if you or someone else
could try the following quick-n-dirty patches.
diff -u Makefile Makefile.new
--- Makefile Thu Jul 8 20:19:57 2004
+++ Makefile.new Wed Jul 21 12:47:32 2004
@@ -21,6 +21,7 @@
ONLY_FOR_ARCHS= i386
USE_ZIP= yes
+USE_GCC= 3.3
USE_JAVA= yes
JAVA_VERSION= 1.4+
diff -u files/update-build.xml files/update-build.xml.new
--- files/update-build.xml Tue Jun 22 11:25:45 2004
+++ files/update-build.xml.new Wed Jul 21 13:00:31 2004
@@ -47,7 +47,7 @@
<property name="header-path" value="${jdk-path}/include"/>
<property name="header-freebsd-path" value="${header-path}/freebsd" />
- <echo message="gcc -o ${library-file} -shared -I${src-path}
-I${header-path} -I${header-freebsd-path} ${library-file} -static -lc"/>
+ <echo message="gcc33 -o ${library-file} -shared -I${src-path}
-I${header-path} -I${header-freebsd-path} ${library-file} -static -lc"/>
<apply executable="gcc" dest="${eclipse-home}/" parallel="false">
<arg value="-o"/>
Cheers,
--
Panagiotis Astithas, PhD
R&D Manager
EBS, Electronic Business Systems Ltd.
18 Evgenidou Street, 115 25, Athens GREECE
Phone: +30 210 674 7631
Fax: +30 210 674 7601
http://www.ebs.gr
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40FE3F2B.1050400>
