[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)
From: |
Alaeddin A. Aydiner |
Subject: |
ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37) |
Date: |
Mon, 21 Jan 2002 04:08:44 -0600 |
User-agent: |
Mutt/1.2.5.1i |
[ automake (GNU automake-1.5) 1.5 autoconf (GNU Autoconf) 2.52f ]
Hello,
I have a small problem with libtool on a Dec Alpha machine
(alphaev56-dec-osf4.0f.) I have LDFLAGS set to "-all-static -lm" in my
Makefile.am files. Still, I noticed -all-static is not converted to non_shared
(*). I traced the problem to the fact that even though the environment variable
CXX is set to cxx; ${GCC} is set to "yes". Yes, gcc is also installed, but I
prefer to use cxx on this machine. The logic in the resulting configure file
is:
if test "$GCC" = yes; then
lt_cv_prog_cc_wl='-Wl,'
lt_cv_prog_cc_static='-static'
case $host_os in
...
beos* | irix5* | irix6* | osf3* | osf4* | osf5*)
# PIC is the default for these OSes.
;;
...
Hence, the problem when gcc exists and another compiler is chosen. Would you
consider this a bug? Thanks.
(*) The symptom from ld:
ld (prelink):
-static is an obsolete undocumented option for linking kernels--perhaps you
meant -non_shared? Unresolved:
--
#################################################################
Alaeddin Ahmet AYDINER 377 CCEM Everitt Laboratory MC 702
Office Tel: 217 333 0434 Electrical & Computer Eng. Dept. UIUC
#################################################################
- ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37),
Alaeddin A. Aydiner <=