libtool-patches
[Top][All Lists]
Advanced

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

Re: Patches wrt to Tru64


From: ANEESH KUMAR .K.V
Subject: Re: Patches wrt to Tru64
Date: Tue, 26 Dec 2000 04:39:48 -0000

Hai ,

I am sorry . I think i attached a wrong file while mailing . I will list the exact thing i did .

1) The flag used for passing the linker options through a compiler  is -Wl
2) The latest patch i send ( ltc-cxx.sh) is for enabling the -export-symbols option for compaq c++ compiler . It is no way related to the the way linker flags are passed . But while adding those patches to the latest code base from cvs i found that you have already applied my old patch which i have asked to revert . I was under impression that -WL is the correct way to pass the flag because -Wl is giving some compiler error when used with rpath . Later i checked with compaq and found that is a compiler bug and the correct way of passing linker flag is by using the option -Wl . That is why he decided to pass rpath directly not using ${wl} . I remember asking you not to apply the patch that chaned the way linker flags are passed through the compiler long back . But now since i have send you a wrong cvs diff u might have got confused . Sorry for that . Any how i think this mail should make every thing clear . I only thing i need is

1) change -WL -> -Wl

2) Add the support for export-symbols option of the libtool for compaq c++ compiler .

The following lines need to be added to the file ltc-cxx.sh if u want to enable this option i assume u have already reverted the "WL" changed .

Sorry once again .

-aneesh




Index: libtool/ltcf-cxx.sh
===================================================================
RCS file: /home/cvs/libtool/Attic/ltcf-cxx.sh,v
retrieving revision 1.1.2.25
diff -r1.1.2.25 ltcf-cxx.sh
399a400,402
>       archive_expsym_cmds='for i in `cat $export_symbols`; do printf
>"-exported_symbol " >> $lib.exp; echo "\$i" >> $lib.exp; done; echo
>"-hidden">> $lib.exp~
>        $CC -shared${allow_undefined_flag} $predep_objects $libobjs
>$deplibs $postdep_objects $compiler_flags -msym -soname $soname -Wl,-input
>-Wl,$lib.exp  `test -n "$verstring" && echo -set_version $verstring`
>-update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.




reply via email to

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