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

2009-07-15 Thread Bob Friesenhahn
On Wed, 15 Jul 2009, Lorenzo Bettini wrote: Your project is lacking a dependency on the thread library. When static linking, all the libraries that your library depends on need to be listed. it looks like stdlib depends on that, but I thought there was a static version of that too... also l

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

2009-07-15 Thread Lorenzo Bettini
Bob Friesenhahn wrote: 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

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

2009-07-15 Thread Lorenzo Bettini
Peter Johansson wrote: 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 b