[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
cxx/OSF1 trouble
From: |
Patrick Guio |
Subject: |
cxx/OSF1 trouble |
Date: |
Thu, 17 Feb 2005 18:31:43 +0100 (CET) |
Hi,
I am using libtool (version 1.5.14) on a Alpha machine running OSF1
(version 5.1) for C++
I have to force to use a non dynamic library. It can be done with cxx/ld
on this platform with the options -noso/-so_archive like
-noso -lastaticlib -lanotherstaticlib -so_archive
But libtool does not recognise those option correctly and the
-noso/-so_archive options are reorganised in such a way that they are
useless. Here is an example:
/bin/ksh ../libtool --tag=CXX --mode=link cxx -std ansi
-D__USE_STD_IOSTREAM -DBZ_ENABLE_XOPEN_SOURCE -D_OSF_SOURCE -ieee -model
ansi -accept restrict_keyword -nousing_std -DNDEBUG -fast -inline speed
-nocleanup -o PoissonBoltzmann3d -ptr cxx_repository -ptr ../lib/mudfas3d -ptr
../lib/mudfas-utils PoissonBoltzmann3d-TestSolver.o ../lib/libmudfas3d.la
../lib/libmudfas-utils.la -lmfhdf -noso -ldf -lsz -ljpeg -lz -so_archive -lm
^^^^^ ^^^^^^^^^^^
gets executed as
cxx -std ansi -D__USE_STD_IOSTREAM -DBZ_ENABLE_XOPEN_SOURCE -D_OSF_SOURCE
-ieee -model ansi -accept restrict_keyword -nousing_std -DNDEBUG -fast
-inline speed -nocleanup -o PoissonBoltzmann3d -ptr cxx_repository -ptr
../lib/mudfas3d -ptr ../lib/mudfas-utils PoissonBoltzmann3d-TestSolver.o
-noso -so_archive ../lib/.libs/libmudfas3d.a
^^^^^ ^^^^^^^^^^^
../lib/.libs/libmudfas-utils.a -lmfhdf -ldf -lsz -ljpeg -lz -lm
Any idea of how to fix this?
Sincerely, Patrick
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- cxx/OSF1 trouble,
Patrick Guio <=