[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
win32/MSVC tidbits
From: |
Ralf Wildenhues |
Subject: |
win32/MSVC tidbits |
Date: |
Sat, 21 Jan 2006 09:57:44 +0100 |
User-agent: |
Mutt/1.5.9i |
A couple more tidbits on the way of integrating the MSVC support patch.
First, we need to transform `.obj' in the same way as we do `.o'.
Second, for compilers with compiler_c_o=no, we don't detect the object
name in this command line correctly:
$libtool --mode=compile --tag=CC $CC $CFLAGS -c -o foo.$OBJEXT foo.c
The first issue is fixed with the patch below, applied to CVS HEAD and
branch-1-5.
Cheers,
Ralf
* libltdl/config/ltmain.m4sh (func_mode_compile): Also transform
`.obj' correctly.
Reported by George Bosilca <address@hidden>.
Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.28
diff -u -r1.28 ltmain.m4sh
--- libltdl/config/ltmain.m4sh 11 Jan 2006 17:24:56 -0000 1.28
+++ libltdl/config/ltmain.m4sh 21 Jan 2006 08:45:41 -0000
@@ -1232,6 +1244,7 @@
*.f90) xform=f90 ;;
*.for) xform=for ;;
*.java) xform=java ;;
+ *.obj) xform=obj ;;
esac
libobj=`$ECHO "X$libobj" | $Xsed -e "s/\.$xform$/.lo/"`
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- win32/MSVC tidbits,
Ralf Wildenhues <=