[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrt to Tru64
From: |
Aneesh Kumar K.V |
Subject: |
Re: Wrt to Tru64 |
Date: |
Tue, 10 Apr 2001 16:06:58 +0530 |
Hi Alexandre, Gary ,
Included below is a patch that i generated today by doing a cvs diff
. This time i tried to build the entire stuff and do a make chcek It
failed for two test . But that was noting related to the changes I made
( atleast Ithink so ) . Any how I will look into the same . Again
regarind pasing $wl for gcc I verified it on my machine and it went
through fine . But this was actually a problem with cxx compiler from
compaq . Hope they will fix it fast so that we can have $wl for all the
compiler inside libtool . As of now the issue is only with cxx compiler
when used with -rpath
One more thing when I am running the configure for the test program i
worte for validating the changes i made I got the following error . But
still things went through fine . It has hidden all the symbols other
that the one i specified in my SYMFILE . This was the error i got when
running configure on my test program . I am looking into this right now
./ltconfig[633]: syntax error at line 1 : `COPYING' unexpected
Another thing i would like to mention is that when ever i use a
c++ program with templates cxx cmplr will generate a cxx repository
with many internally generated files ( I guess this happen even on
solaris ) . This need to be linked with the file executable u create .
Otherwise u will get lot of unresolved symbols . But I think libtool
doesn't take care of that . I am right now looking on adding this
support but if any one is already working on the same for solaris it
should be easy for me . :)
-aneesh
Index: ChangeLog
===================================================================
RCS file: /cvsroot/libtool/libtool/ChangeLog,v
retrieving revision 1.641.2.218
diff -u -r1.641.2.218 ChangeLog
--- ChangeLog 2001/04/08 11:40:14 1.641.2.218
+++ ChangeLog 2001/04/10 09:48:51
@@ -1,3 +1,7 @@
+2001-04-10 Aneesh Kumar K.V
+ * ltcf-cxx.sh: Added support for cxx under Compaq Tru64
(osf4/osf 5)
+
+
2001-04-08 Gary V. Vaughan <address@hidden>
* ltcf-c.sh (hardcode_libdir_flag_spec, osf4/osf5): Use ${wl}
Index: ltcf-cxx.sh
===================================================================
RCS file: /cvsroot/libtool/libtool/Attic/ltcf-cxx.sh,v
retrieving revision 1.1.2.37
diff -u -r1.1.2.37 ltcf-cxx.sh
--- ltcf-cxx.sh 2001/04/01 14:28:18 1.1.2.37
+++ ltcf-cxx.sh 2001/04/10 09:48:52
@@ -474,6 +474,8 @@
cxx)
allow_undefined_flag=' -expect_unresolved \*'
archive_cmds='$CC -shared${allow_undefined_flag}
$predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym
-soname $soname `test -n "$verstring" && echo -set_version $verstring`
-update_registry ${objdir}/so_locations -o $lib'
+ 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'
hardcode_libdir_flag_spec='-rpath $libdir'
hardcode_libdir_separator=:
- Re: Wrt to Tru64,
Aneesh Kumar K.V <=