%rename startfile startfileorig
*startfile: %(startfileorig)
%rename lib liborig
*lib: %{static-libgcj:-non_shared} %{s-bc-abi:-lgcj_bc;:-lgcj}
%{static-libgcj:-call_shared} -lm -lpthread -lrt -lz -ldl %(libgcc)
%(liborig)
*jc1: -fhash-synchronization -fno-use-divide-subroutine -fuse-boehm-gc
-fnon-call-exceptions -fkeep-inline-functions
I cant find any lgcj file, i found libgcj, even changing the names i get the
same error. Sghould i define a path or add any other file ?
Andrew Haley wrote:
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.