Re: building a completely static executable (using boost regex library)

2009-07-14 Thread Bob Friesenhahn
On Tue, 14 Jul 2009, Lorenzo Bettini wrote: I was trying to build, in linux, a completely static executable that uses libboost_regex; I issued configure LDFLAGS="-static" make LDFLAGS="-all-static" but when it comes to linking I get this error: /bin/bash ../libtool --tag=CXX --mode=link

Re: building a completely static executable (using boost regex library)

2009-07-14 Thread Peter Johansson
Hi Lorenzo, Lorenzo Bettini wrote: Hi I was trying to build, in linux, a completely static executable that uses libboost_regex; I issued configure LDFLAGS="-static" make LDFLAGS="-all-static" [...] what am I doing wrong? Are you sure you have static version of boost_regex available. A

building a completely static executable (using boost regex library)

2009-07-14 Thread Lorenzo Bettini
Hi I was trying to build, in linux, a completely static executable that uses libboost_regex; I issued configure LDFLAGS="-static" make LDFLAGS="-all-static" but when it comes to linking I get this error: /bin/bash ../libtool --tag=CXX --mode=link g++ -g -O2 -L/usr/lib -all-static -o che