static executable
- From: "Amadeus W. M." <amadeus84 verizon net>
- To: gtkmm-list gnome org
- Subject: static executable
- Date: Tue, 12 Dec 2006 01:30:39 +0000 (UTC)
I know the question of creating a static executable is a FAQ, but I can't
link statically for the life of me.
I did
./configure --enable-static
make
as per the FAQ. No go. I also added -static in Makefile.am I also set
CXXFLAGS="-g -static" (then ./configure), no go. In each case the file
command says the executable is dynamically linked:
file myprog
myprog: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for
GNU/Linux 2.6.9, dynamically linked (uses shared libs), for GNU/Linux
2.6.9, not stripped
What am I missing?
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]