Re: [Cegcc-devel] Problem linking shared library with the GCC 4.4 toolchain

2009-06-01 Thread Danny Backx
I've not looked into this sufficiently, but I got a similar problem solved in src/mingwdll/libstdc++ by changing the Makefile like this : pavilion: {23} diff Makefile~ Makefile 18c18 < DLL_LIBS= -lgcc # -lws2 --- > DLL_LIBS= -lgcc -lgcc_s # -lws2 Danny On Mon, 2009-06-01 at 07:52 +0200

[Cegcc-devel] CoreDLL content platform differences ?

2009-06-01 Thread Danny Backx
Does anyone know where to find info (MSDN?) about platform differences between different OS versions ? My iPAQ with Windows Mobile 6.0 has GetSystemPowerStatusEx in coredll, but an x86 embedded system with Windows Embedded CE 6.0 does not have that call. I'm writing a program that reads the src/m

Re: [Cegcc-devel] Problem linking shared library with the GCC 4.4 toolchain

2009-06-01 Thread Johnny Willemsen
Hi, > I've not looked into this sufficiently, but I got a similar problem > solved in src/mingwdll/libstdc++ by changing the Makefile like this : > > pavilion: {23} diff Makefile~ Makefile > 18c18 > < DLL_LIBS= -lgcc # -lws2 > --- >> DLL_LIBS= -lgcc -lgcc_s # -lws2 we don't link with thes

[Cegcc-devel] missing _setmode function

2009-06-01 Thread Vincent Torri
hey, according to msdn: http://msdn.microsoft.com/en-us/library/ms861138.aspx _setmode is in stdlib.h currently, it is in io.h but disabled afaics Vincent Torri -- Register Now for Creativity and Technology (CaT), Ju

Re: [Cegcc-devel] Problem linking shared library with the GCC 4.4 toolchain

2009-06-01 Thread Johnny Willemsen
Hi, Thanks very much. Danny could you check Vincent patches? Maybe there are changes that have to applied also to the gcc 4.1 x86 toolchain. Johnny > >> I've not looked into this sufficiently, but I got a similar problem > >> solved in src/mingwdll/libstdc++ by changing the Makefile like this >

Re: [Cegcc-devel] Problem linking shared library with the GCC 4.4 toolchain

2009-06-01 Thread Danny Backx
I'm not sure I understand what the cygwin.h code would do : #define SHARED_LIBGCC_SPEC " \ %{static|static-libgcc:-lgcc -lgcc_eh} \ %{!static: \ %{!static-libgcc: \ %{!shared: \ %{!shared-libgcc:-lgcc -lgcc_eh} \ %{shared-libgcc:-lgcc_s -lgcc} \ } \ %{shared:-lgc

Re: [Cegcc-devel] Problem linking shared library with the GCC 4.4 toolchain

2009-06-01 Thread Dave Korn
Johnny Willemsen wrote: > Hi, > > Thanks very much. Danny could you check Vincent patches? Maybe there are > changes that have to applied also to the gcc 4.1 x86 toolchain. > > Johnny Look at the handling of SHARED_LIBGCC_SPEC and REAL_LIBGCC_SPEC in particular. There appears to be nothing t

Re: [Cegcc-devel] Problem linking shared library with the GCC 4.4 toolchain

2009-06-01 Thread Dave Korn
Danny Backx wrote: > I'm not sure I understand what the cygwin.h code would do : "If nothing is specified on the command line, or if -static or -static-libgcc is present, link against the static libgcc. If -shared-libgcc is explicitly specified, or if building a DLL (-shared) and not explicitly

Re: [Cegcc-devel] CoreDLL content platform differences ?

2009-06-01 Thread Danny Backx
I'll commit the program shortly. It basically runs through our coredll.def file, and looks up each function in the DLL on the target system (using the standard GetProcAddress call). Those that are not found are reported. Here's what it does on the x86 system. Again, this compares our .def files a

Re: [Cegcc-devel] CoreDLL content platform differences ?

2009-06-01 Thread Danny Backx
Similar output for the iPAQ, against both versions of coredll.def : pavilion: {885} rsh ipaq /temp/dllv /temp/coredll6.def Loading DLL [COREDLL] # CloseAllDeviceHandles not found # GetPrivateCallbacks not found # SetWDevicePowerHandler not found # SystemStarted not found # Thre