OK, a bit further along.  With the recently posted patch to cygport:
http://cygwin.com/ml/cygwin/2010-07/msg00117.html

AND the attached patch to your .cygport script, I get a bit further with
the install step. It completes without error (but I still have the
warning about the missing cygwin-specific README file, of course).

However, the DLLs don't appear to be in the correct locations.

opt/mingw64/bin/libobjc-2.dll
opt/mingw64/bin32/libgcc_s_sjlj-1.dll
opt/mingw64/bin64/libgcc_s_sjlj-1.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/32/libgfortran-3.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/32/libgomp-1.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/32/libssp-0.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/32/libstdc++-6.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/libgfortran-3.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/libgomp-1.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/libssp-0.dll
opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/libstdc++-6.dll

Now, the DLLs buried down in the 4.6.0/ directory I can see (it appears
to be a mistake, but that IS where they "normally" go...even if we
choose to put them in toplevel bin32 and bin64 dirs instead.)  It looks
like the cygport is missing some 'mv' commands.

But how the heck did libobjc-2.dll get into the "regular" bin/ dir? And
why is there only one version of it?

--
Chuck
--- mingw64-tc64-gcc4-4.6.20100619-1.cygport.old        2010-07-04 
03:35:22.000000000 -0400
+++ mingw64-tc64-gcc4-4.6.20100619-1.cygport.new        2010-07-05 
13:35:20.171700000 -0400
@@ -27,6 +27,7 @@
 
 SRC_DIR="gcc-4.6-20100619"
 MAKEOPTS+=" -j5"
+RESTRICT=postinst-libtool-modules
 
 #libelf not needed for lto-coff
 #ADA forth comming, but needs Cygwin GCC 4.6
@@ -48,14 +49,14 @@
 # Remove Cygwin libiberty.a
 rm -f ${D}/opt/mingw64/lib/libiberty.a
 
-# Remove redundant libgcc
-rm -f ${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/lib/libgcc_s.a
-rm -f ${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/lib32/libgcc_s.a
-
 # Workaround GCC install bug
 cp -pf ${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/lib/libgcc_s.a 
${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/
 cp -pf ${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/lib32/libgcc_s.a 
${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/4.6.0/32/
 
+# Remove redundant libgcc
+rm -f ${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/lib/libgcc_s.a
+rm -f ${D}/opt/mingw64/lib/gcc/x86_64-w64-mingw32/lib32/libgcc_s.a
+
 # Workaround problematic DLL clashes
 # libgcc dll missing sometimes due to race condition on install?
 dodir /opt/mingw64/bin32 /opt/mingw64/bin64

Reply via email to