This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: 3.3 configure static
Erik Poupaert writes:
>
> > You mean using --disable-shared? Or something else?
>
> When I try to configure with the same configuration as Mohan's download for mingw, it
> doesn't work on linux:
>
> rename spec lib to liborig
> Configured with: ... --disable-shared -disable-multilib --enable-libgcj ...
> gcc version 3.3 20030409
>
> > Does linking -static on Linux not work for you?
>
> The option -static goes to far. For example, I don't want to link the Gtk2
> dependencies for SWT statically. The option -static is really too wholesale.
What happens if you remove the symbolic link
install/bin/../lib/gcc-lib/i686-pc-linux-gnu/3.3.1/../../../libgcj.so
?
It should find the static library and link to that.
Andrew.