Hello,
--- Waldek Hebisch hebisch@math.uni.wroc.pl wrote:
libgpc is statically linked by default.
Really? Just have tested:
$ gpc -o test hello.p $ ldd test libgpc.so => .... libm.so => .... libc.so => .... /lib/ld-linux.so.2 => ...
What I'm looking for:
$ ... -o test hello.p $ ldd test libm.so => .... libc.so => .... /lib/ld-linux.so.2 => ...
You should be able to find your message (and answers) in mailing list archive.
In particular, you sent:
http://www.gnu-pascal.de/crystal/gpc/en/mail9810.html
and I think in the ansers you got instuctions how to _dynamically_ link libgpc.
Before asking my question I have scanned the archive but didn't found an answer. I didn't found an answer in the link you provided as well. As you see in above I have no problems with creating of dynamically linked libraries - it's default behaviour of gpc. I have no problem to statically link ALL libraries and get a few MBs hello-world file ;-) The essence of my question is - how to link statically libgpc only.
Thanks, Peter
__________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com