On Thu, Sep 10, 2009 at 9:57 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: > Peng Yu wrote: >> On Thu, Sep 10, 2009 at 4:09 AM, Andrew Haley <aph@xxxxxxxxxx> wrote: >>> Peng Yu wrote: >>> >>>> A linux distribution has a package along the lines of >>>> java-1.5.0-gcj/java-1.5.0-gcj-devel provides various links and a >>>> directory hierarchy that creates a sun-java-alike wrapper (such as >>>> command java and javac) around an underlying implementation of gcj/ecj >>>> + gij. >>>> >>>> I download GCC 4.3.4, which does not have these links. But I need >>>> these links for the compilation and installation of a package. Can >>>> somebody let me know how to create a sun-java-alike wrapper? Is a >>>> symbolic link sufficient? >>> That's what we do on Fedora. It's not an exact replacement, but it's >>> usually good enough: >>> >>> /usr/bin/java --> >>> /etc/alternatives/java --> >>> /usr/lib/jvm/jre-1.5.0-gcj/bin/java --> >>> /usr/bin/gij >> >> I also need javadoc. Would you please let me know which executable in >> GCC shall javadoc point to? > > /usr/bin/javadoc --> > /etc/alternatives/javadoc --> > /usr/lib/jvm/java-1.5.0-gcj/bin/javadoc --> > /usr/bin/sinjdoc > > But this isn't a very good solution, as Sinjdoc is very old. There's > also gjdoc, but that's old too. > > Andrew. > I downloaded the GCC 4.3.4 source code, then compile and installed it. I don't even see sinjdoc. Does GCC have any javadoc like command? Regards, Peng