This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: Performance gcj & mysql
Marco Trudel wrote:
> Andrew Haley wrote:
>>> 2) ./mysqlconnect stays dependant of the gcj libraries? When i
>>> uninstall gcj
>>> the executable complains about libgcj. Is there any way to have it
>>> totally
>>> independent, for example i want to copy the executable and mysql-5.0.8.o
>>> library without worring if have have gcj installed on that machine.
>>
>> This is very difficult. The -static-libgcj option might help,
>> but I wouldn't guarantee it. For more details see:
>> http://gcc.gnu.org/wiki/Statically%20linking%20libgcj
>
> Actually it works quite well as long as you know some little details.
Well, no. It can work in some circumstances, and in others it doesn't
work at all.
Andrew.