bug-libtool
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)


From: Robert Boehne
Subject: Re: ltmain.sh (GNU libtool) 1.4.2 (1.922.2.54 2001/09/11 03:33:37)
Date: Tue, 22 Jan 2002 16:48:05 -0600

Alaeddin:

If CXX is set to cxx, then $GCC should not be set to "yes".
See if you can find out why $GCC is getting set, i.e. is it
always being checked for?

Robert

"Alaeddin A. Aydiner" wrote:
> 
> [ 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
> #################################################################
> 
> _______________________________________________
> Bug-libtool mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/bug-libtool

-- 
Robert Boehne             Software Engineer
Ricardo Software   Chicago Technical Center
TEL: (630)789-0003 x. 238
FAX: (630)789-0127
email:  address@hidden



reply via email to

[Prev in Thread] Current Thread [Next in Thread]