Hi Jack

in gcc43 -1001, no ecj1 is built.  I don't why ecj1 is not build in  
your package, but it looks like it might be build if the libjava/ 
classpath target is build which I guess is not necessary.

But I've found helpful documentation in the gcc-4.4 snapshot which  
allows to bootstrap ecj1 using the following script:

#!/bin/sh

# create bootstrap ecj1 and put into PATH
cat <<EOF > ecj1
#! /bin/sh
gij -cp /tmp/ecj.jar org.eclipse.jdt.internal.compiler.batch.GCCMain  
${1+"$@"}
EOF
PATH_ORIG=$PATH
PATH=.:$PATH

# compile ecj.jar to ecjx
echo "compiling ecj.jar to native ecjx"
gcj /tmp/ecj.jar -- 
main=org.eclipse.jdt.internal.compiler.batch.GCCMain -o ecjx

# voila! we have a new ecj1
PATH=$PATH_ORIG
rm ecj1
mv ecjx ecj1

... in this script the location of ecj.jar would have to be adapted to  
that of the one in the source tree downloaded by contrib/download_ecj
could you incorporate this into gcc43.info?

pdftk does not build yet, but a HelloWorld.java works. ... and  
compiling ecj.jar with gcj should also be counted as a positive  
sign.. :)

matthias



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.devel

Reply via email to