I'll need a bit of help to figure out what's wrong.
I've just done a complete rebuild of both arm-mingw32ce and
i386-mingw32ce, both on Linux. I am referring to the gcc-4.4.0 build. I
assume that you do so too, otherwise we wouldn't be talking about gcc_s,
right ?
If *that* is the issue, then the solution is probably this :
pavilion: {1025} svn diff src/mingwdll/libstdc++/Makefile
Index: src/mingwdll/libstdc++/Makefile
===================================================================
--- src/mingwdll/libstdc++/Makefile (revision 1329)
+++ src/mingwdll/libstdc++/Makefile (working copy)
@@ -15,7 +15,7 @@
DLLVERSION= `${BASE_DIRECTORY}/mingwdll/get-version`
-DLL_LIBS= -lgcc -lgcc_s # -lws2
+DLL_LIBS= -lgcc
GCC_VERSION= `${TARGET}-gcc --version | head -1 | awk '{print $$3;}'`
pavilion: {1026}
Both those builds went just fine, they install these libgcc* files :
pavilion: {1011} find /opt/mingw32ce /opt/x86mingw32ce -name libgcc\*
-ls
1581559 372 -rw-r--r-- 1 danny danny 373964 Jun 3
22:16 /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/libgcc.a
1581558 76 -rw-r--r-- 1 danny danny 71444 Jun 3
22:16 /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.4.0/libgcc_eh.a
1574185 332 -rwxr-xr-x 1 danny danny 335434 Jun 3
22:16 /opt/mingw32ce/bin/libgcc_s_sjlj-1.dll
1581556 76 -rw-r--r-- 1 danny danny 71816 Jun 3
22:16 /opt/mingw32ce/arm-mingw32ce/lib/libgcc_s.a
1565944 212 -rw-r--r-- 1 danny danny 212944 Jun 3
22:07 /opt/x86mingw32ce/lib/gcc/i386-mingw32ce/4.4.0/libgcc.a
1565943 80 -rw-r--r-- 1 danny danny 73794 Jun 3
22:07 /opt/x86mingw32ce/lib/gcc/i386-mingw32ce/4.4.0/libgcc_eh.a
1565941 64 -rw-r--r-- 1 danny danny 57692 Jun 3
22:07 /opt/x86mingw32ce/i386-mingw32ce/lib/libgcc_s.a
1540377 228 -rwxr-xr-x 1 danny danny 228918 Jun 3
22:07 /opt/x86mingw32ce/bin/libgcc_s_sjlj-1.dll
pavilion: {1012}
Can you help me figure out what's wrong ?
Danny
On Wed, 2009-06-03 at 00:51 +0200, Vincent R. wrote:
> Why I am talking about MacOS, when I try to compile cegcc on this platform
> I have
> an error :
>
> BUILDING DLL libraries --------------------------
>
>
> for i in libstdc++; do \
> cd $i ; \
> make all || exit 1; \
> cd .. ; \
> done
> mkdir -p /Users/vincent/Projects/cegcc/src/scripts/build/mingwdll/libstdc++
> arm-mingw32ce-dlltool --output-def
> /Users/vincent/Projects/cegcc/src/scripts/build/mingwdll/libstdc++/libstdc++.def
> \
> --export-all
> /Users/vincent/Projects/toolchains/arm-mingw32ce-4.1.0/arm-mingw32ce/lib/libstdc++.a
> cd /Users/vincent/Projects/cegcc/src/scripts/build/mingwdll/libstdc++;
> arm-mingw32ce-g++ --shared \
> -o
> /Users/vincent/Projects/cegcc/src/scripts/build/mingwdll/libstdc++/libstdc++-`/Users/vincent/Projects/cegcc/src/mingwdll/get-version`.dll
> \
> -Wl,--out-implib,libstdc++.dll.a
> /Users/vincent/Projects/cegcc/src/scripts/build/mingwdll/libstdc++/libstdc++.def
> \
>
> /Users/vincent/Projects/toolchains/arm-mingw32ce-4.1.0/arm-mingw32ce/lib/libstdc++.a
> -lgcc -lgcc_s
> /Users/vincent/Projects/toolchains/arm-mingw32ce-4.1.0/lib/gcc/arm-mingw32ce/4.1.0/../../../../arm-mingw32ce/bin/ld:
> cannot find -lgcc_s
> collect2: ld returned 1 exit status
>
> Don't know yet if it has something to do with latest modification on trunk
> or if it's platform specific.
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info
------------------------------------------------------------------------------
OpenSolaris 2009.06 is a cutting edge operating system for enterprises
looking to deploy the next generation of Solaris that includes the latest
innovations from Sun and the OpenSource community. Download a copy and
enjoy capabilities such as Networking, Storage and Virtualization.
Go to: http://p.sf.net/sfu/opensolaris-get
_______________________________________________
Cegcc-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/cegcc-devel