Re: [CMake] statically linked executables

2007-12-03 Thread Oliver Dole
2007/12/3, Hendrik Sattler <[EMAIL PROTECTED]>: > Quoting Oliver Dole <[EMAIL PROTECTED]>: > > The problem is that I use pkg-config (and stuff like that) to retrieve > > my libraries. So CMake does not know wether it is static or shared > > libraries to use. Nonetheless I have found a workaround th

Re: [CMake] statically linked executables

2007-12-03 Thread Hendrik Sattler
Quoting Oliver Dole <[EMAIL PROTECTED]>: The problem is that I use pkg-config (and stuff like that) to retrieve my libraries. So CMake does not know wether it is static or shared libraries to use. Nonetheless I have found a workaround thanks to this thread: http://www.cmake.org/pipermail/cmake/20

Re: [CMake] statically linked executables

2007-12-03 Thread Oliver Dole
2007/12/3, Bill Hoffman <[EMAIL PROTECTED]>: > Oliver Dole wrote: > > 2007/11/27, Daniel Rueckert <[EMAIL PROTECTED]>: > >> Hi, > >> > >> I am trying to build some statically linked executables on a linux > >> box. I have added the "-static" option to the linker flags and specified > >> static link

Re: [CMake] statically linked executables

2007-12-03 Thread Bill Hoffman
Oliver Dole wrote: 2007/11/27, Daniel Rueckert <[EMAIL PROTECTED]>: Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and specified static link libraries but for some reason cmake still adds the option "-Wl,-Bdynami

Re: [CMake] statically linked executables

2007-12-03 Thread Oliver Dole
2007/11/27, Daniel Rueckert <[EMAIL PROTECTED]>: > Hi, > > I am trying to build some statically linked executables on a linux > box. I have added the "-static" option to the linker flags and specified > static link libraries but for some reason cmake still adds the option > "-Wl,-Bdynamic" flag to

Re: [CMake] statically linked executables

2007-11-29 Thread Daniel Rueckert
Bill Hoffman wrote: Daniel Rueckert wrote: Alan W. Irwin wrote: On 2007-11-28 21:57- Daniel Rueckert wrote: Bill Hoffman wrote: Daniel Rueckert wrote: Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and

Re: [CMake] statically linked executables

2007-11-28 Thread Bill Hoffman
Daniel Rueckert wrote: Alan W. Irwin wrote: On 2007-11-28 21:57- Daniel Rueckert wrote: Bill Hoffman wrote: Daniel Rueckert wrote: Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and specified static lin

Re: [CMake] statically linked executables

2007-11-28 Thread Daniel Rueckert
Alan W. Irwin wrote: On 2007-11-28 21:57- Daniel Rueckert wrote: Bill Hoffman wrote: Daniel Rueckert wrote: Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and specified static link libraries but for some

Re: [CMake] statically linked executables

2007-11-28 Thread Alan W. Irwin
On 2007-11-28 21:57- Daniel Rueckert wrote: Bill Hoffman wrote: Daniel Rueckert wrote: Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and specified static link libraries but for some reason cmake still adds

Re: [CMake] statically linked executables

2007-11-28 Thread Daniel Rueckert
Bill Hoffman wrote: Daniel Rueckert wrote: Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and specified static link libraries but for some reason cmake still adds the option "-Wl,-Bdynamic" flag to the linker opt

Re: [CMake] statically linked executables

2007-11-27 Thread Bill Hoffman
Daniel Rueckert wrote: Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and specified static link libraries but for some reason cmake still adds the option "-Wl,-Bdynamic" flag to the linker options. Is there any wa

[CMake] statically linked executables

2007-11-27 Thread Daniel Rueckert
Hi, I am trying to build some statically linked executables on a linux box. I have added the "-static" option to the linker flags and specified static link libraries but for some reason cmake still adds the option "-Wl,-Bdynamic" flag to the linker options. Is there any way around this? Thanks,