Re: [Cegcc-devel] Structure packing and long long type.

2007-09-11 Thread Pedro Alves
Pedro Alves wrote: I've built a cc1.exe with the attached patch applied, and I now get the same alignments as the OP reported MSVC choses. I'm doing a full gcc build now. The patch also forces 64-bit alignment on doubles, but I haven't tested it yet - bonus points if someone tests it and compa

[Cegcc-devel] DLL-Library

2007-09-11 Thread Hendrik Helwich
Hello CeGCC Developers, i just heard about CeGCC and used it to compile the zlib (www.zlib.net, actual version 1.2.3). It worked fine! But is it possible to create a DLL-Library with CeGCC instead of an EXE-Application ? I used the arm-wince-cegcc tools (version 0.50-1) and installed the binar

Re: [Cegcc-devel] Structure packing and long long type

2007-09-11 Thread Jack Jansen
On 11-sep-2007, at 1:08, Pedro Alves wrote: >>> Hmm, actually I have a third question: I've seen a couple of >>> posts by people who also built ffmpeg with mingw32ce for use with >>> vc++, I'm surprised that they haven't run into this problem. >>> AVFormatContext is truly messed up for me..

Re: [Cegcc-devel] Automatic dummy WinMain

2007-09-11 Thread Matthew Kille
Hi Pedro, > From what I remember the last time we were looking into Winmain, msvc > doesn't parse and fill __argc/__argv with real values unless you use the > mainCRTStartup -> main entry point. > Which means that your WinMain will always return 0 - if it builds. Does > it build with MSVC? I wa

Re: [Cegcc-devel] Automatic dummy WinMain

2007-09-11 Thread Pedro Alves
Matthew Kille wrote: > Hi Kevin, > > > A ".a" file is composed of a set of ".o" files. When linking with a > > ".a" library, the linker will only pull in those ".o" files that > > resolve an outstanding symbol. So, if the linker doesn't have WinMain > > outstanding, it shouldn't try to pull in wi