[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 00460) link static to libinet6.a
- To: usagi-users@xxxxxxxxxxxxxx
- Subject: (usagi-users 00460) link static to libinet6.a
- From: Juan Francisco Rodriguez Hervella <jrh@xxxxxxxxxx>
- Date: Mon, 30 Apr 2001 22:48:09 +0200 (MET DST)
- Reply-to: usagi-users@xxxxxxxxxxxxxx
Hi:
Is it possible to compile a program with the libinet6.a linked
statically ?
I was bored, and it did occurr to me try to compile one
program that I am developing with the following flags:
gcc -o test test.c -Wl,-Bstatic -linet6.a
and all happens to be correct, but when I execute it, i received
a "segmentation fault".
If i compile it without the "-Wl,-Bstatic", all is ok.
Good "golden week" and "working day" for all.