[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compile with ncurses statically
From: |
Thomas Dickey |
Subject: |
Re: compile with ncurses statically |
Date: |
Thu, 20 Nov 2003 15:16:55 -0500 (EST) |
On Thu, 20 Nov 2003 address@hidden wrote:
>
> Hello there!
>
> Recently i have been compiling my program the standard way:
>
> gcc -o test test.c -lncurses -lform -lmenu
instead:
gcc -o test test.c -lform -lmenu -lncurses
> Now, portability problem arose, as a solution i decided to link it with option
> -static. I get lots of erorrs. Is there another way to compile it with -static
> option? Or any other suggestions on how to compile it statically.
You need a static libc as well, of course. Not all systems provide that.
--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net