Trying to embed gnu.xml.dom.DomDocumentBuilderFactory
David Daney
ddaney@avtrex.com
Fri Apr 20 09:18:00 GMT 2007
Mohsen Saboorian wrote:
>> http://gcc.gnu.org/wiki/Statically%20linking%20libgcj
>> My GCC version is 4.1.2 (2006年9月28日 prerelease, Ubuntu
> 4.1.1.14ubuntu7), not 4.2 but still I can use -static-libgcj option.
>You should look at the documentation that comes with your compiler.
IIRC Red Hat and Debian are using a hybrid mash-up of code from several
different versions.
If you were using a straight FSF release the -static-libgcj option is
not available until 4.2. If you have the -static-libgcj option
available, it is far preferable to use it rather than manually
specifying a large string of libraries.
As a side note, I am not sure why you want to statically link. Usually
it only makes sense for small embedded environments.
David Daney
More information about the Java
mailing list