eclipse 3.0 port

Panagiotis Astithas past at ebs.gr
Wed Jul 21 19:14:11 PDT 2004


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 at 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


More information about the freebsd-java mailing list