--- Begin Message ---
Thanks, that fixed the problem.
Regards,
Ajay
On Tuesday 12 June 2007 10:23, you wrote:
> Ajay Divekar wrote:
> > Bill,
> > Before I give out the actual command here is the CmakeList.txt file that
> > I am using to generate the makefile. This is FreeBSD 5.5
> >
> > LINK_D
Ajay Divekar wrote:
Bill,
Before I give out the actual command here is the CmakeList.txt file that I am
using to generate the makefile. This is FreeBSD 5.5
LINK_DIRECTORIES ($ENV{PP_ROOTDIR}/lib .)
ADD_EXECUTABLE (IANd IANd.c IANServer.c IANProcess.cc )
SET_TARGET_PROPERTIES (IANd PROPERTIES L
Ajay Divekar wrote:
I tried the following in my CMakeLists.txt file.
SET (CMAKE_EXE_LINK_DYNAMIC_C_FLAGS "-Wl,-Bstatic")
SET_TARGET_PROPERTIES ( PROPERTIES LINK_FLAGS "-L/usr/local/lib/
-L/usr/lib")
I have checked that libc.a and libm.a exists in the /usr/lib directory. I am
currently u
I tried the following in my CMakeLists.txt file.
SET (CMAKE_EXE_LINK_DYNAMIC_C_FLAGS "-Wl,-Bstatic")
SET_TARGET_PROPERTIES ( PROPERTIES LINK_FLAGS "-L/usr/local/lib/
-L/usr/lib")
I have checked that libc.a and libm.a exists in the /usr/lib directory. I am
currently using FreeBSD5.5. When I
Alan W. Irwin wrote:
On 2007-06-09 10:22+0400 Nikita V. Borodikhin wrote:
I frankly don't understand why that failed to work. Completely static
executables are possible with cmake. I know this because I made one
several
months ago as a temporary experiment.
They _were_ possible but on cmak
On 2007-06-09 10:22+0400 Nikita V. Borodikhin wrote:
I frankly don't understand why that failed to work. Completely static
executables are possible with cmake. I know this because I made one several
months ago as a temporary experiment.
They _were_ possible but on cmake >= 2.4.4 they are no l
Alan W. Irwin wrote:
> On 2007-06-08 15:37-0400 Ajay Divekar wrote:
>
>> I tried your suggestion by setting
>>
>> SET_TARGET_PROPERTIES (bbb PROPERTIES LINK_FLAGS "-static -lc -lm
>> -L/usr/local/lib/")
>>
>> The result is the same i.e. the executable generated is not completely
>> static.
>> Stil
On 2007-06-08 15:37-0400 Ajay Divekar wrote:
I tried your suggestion by setting
SET_TARGET_PROPERTIES (bbb PROPERTIES LINK_FLAGS "-static -lc -lm
-L/usr/local/lib/")
The result is the same i.e. the executable generated is not completely static.
Still has shared library dependencies. The output
2007/6/8, Ajay Divekar <[EMAIL PROTECTED]>:
I tried your suggestion by setting
SET_TARGET_PROPERTIES (bbb PROPERTIES LINK_FLAGS "-static -lc -lm
-L/usr/local/lib/")
The result is the same i.e. the executable generated is not completely static.
Still has shared library dependencies. The output g
I tried your suggestion by setting
SET_TARGET_PROPERTIES (bbb PROPERTIES LINK_FLAGS "-static -lc -lm
-L/usr/local/lib/")
The result is the same i.e. the executable generated is not completely static.
Still has shared library dependencies. The output generated after doing ldd
bbb is
li
On 2007-06-08 14:37-0400 Ajay Divekar wrote:
I am trying to create a static executable and for that I have already defined
using ADD_Definitions the -static option.
But after it is build and when I do
ldd bbb (where bbb is the executable that was just generated)
The output of the above
I am trying to create a static executable and for that I have already defined
using ADD_Definitions the -static option.
But after it is build and when I do
ldd bbb (where bbb is the executable that was just generated)
The output of the above command is
libz.so.3 => /lib/libz.so.
12 matches
Mail list logo