[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
(usagi-users 00461) Re: link static to libinet6.a
Hello,
At Mon, 30 Apr 2001 22:48:09 +0200 (MET DST),
Juan Francisco Rodriguez Hervella wrote:
>
> 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
^^?
it is possible to compile and excute statically linked program
in my environment.
(ex. gcc -o foo foo.c -Wl,-Bstatic -L/usr/local/v6/lib -linet6)
would you show me your test.c ?
-mk