IRC channel logs

2020-05-17.log

back to list of logs

***main1 is now known as main
<nikita`>Thanks
***janneke_ is now known as janneke
<gf>Humm... Got some questions on Java SDK bootstrap but is it ok to ask? Managed to follow up till ecj-javac-wrapper, but not sure how to handle args. Is just stripping the "-J" args enough for the fake javac wrapper used to call ecj to build classpath-0.99 ?
<OriansJ`>gf: it is always acceptable to ask bootstrapping questions that you have.
<gf>Thanks. Its about bootstrapping JAVA, starting from jikes,classpath,jamvm,ant,ecj, but from there, it appears I need a wrapper that calls ecj
<gf>what should this wrapper (fake javac) perform?
<gf>I understand that jikes is unable to build classpath0.99, so ecj is used.
<gf>but ecj can not handle some args that javac acccepts
<gf>Reading the java.scm source tells me little about -J option being a problem, and
<gf>compiling classpath-0.99 using args " ../classpath-0.99/configure --prefix=/usr --disable-Werror --with-ecj-jar=/usr/share/java/ecj-bootstrap.jar JAVA=/usr/bin/jamvm GCJ_JAVAC_TRUE=no ac_cv_prog_java_works=yes --disable-Werror --disable-gmp --disable-gtk-peer --disable-gconf-peer --disable-plugin --disable-dssi --disable-alsa --disable-gjdoc --disable-examples" gives me "checking if javac -Xlint:unchecked,cast,d
<gf>ivzero,empty,finally,overrides works... configure: error: The Java compiler javac -Xlint:unchecked,cast,divzero,empty,finally,overrides failed (see config.log, check the CLASSPATH?)"
<gf>so I must be doing something wrong...
<gf>classpath is set to CLASSPATH=/usr/lib/rt.jar:/lib/ant-antlr.jar:/lib/ant-apache-bcel.jar:/lib/ant-apache-bsf.jar:/lib/ant-apache-log4j.jar:/lib/ant-apache-oro.jar:/lib/ant-apache-regexp.jar:/lib/ant-apache-resolver.jar:/lib/ant-apache-xalan2.jar:/lib/ant-commons-logging.jar:/lib/ant-commons-net.jar:/lib/ant-jai.jar:/lib/ant-javamail.jar:/lib/ant-jdepend.jar:/lib/ant-jmf.jar:/lib/ant-jsch.jar:/lib/ant-junit.jar:/lib/ant-junit4.jar:/lib/a
<gf>nt-launcher.jar:/lib/ant-netrexx.jar:/lib/ant-swing.jar:/lib/ant.jar
<gf>Any clue?