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 winmain_ce.o.
Many thanks for ans
On Mon, Sep 10, 2007 at 11:09:21PM +0100, Matthew Kille wrote:
> Hi All,
>
> (Using mingw32ce toolchain, revision 1049 I believe.)
>
> Can someone help explain to me the mechanisms behind how the 'dummy
> WinMain' function (in winmain_ce.c) is conditionally linked into the
> output binary if th
Jack Jansen wrote:
>
> Still, a compiler option would be better. There are a couple of gcc
> options (for other platforms) that mean things like "strictly adhere to
> the ABI for ", something like that would be good. That is, assuming
> there's a reason for the 4-byte alignment in stead of
Carsten Sørensen wrote:
On 10/09/2007, Pedro Alves <[EMAIL PROTECTED]> wrote:
Outch! Looks like a bug alright.
It seems long long's in structures require 64-bit alignment. You should be
able to work around it for now by introducing a dummy before f2.
It does. From the documentation
http://m
Hi All,
(Using mingw32ce toolchain, revision 1049 I believe.)
Can someone help explain to me the mechanisms behind how the 'dummy
WinMain' function (in winmain_ce.c) is conditionally linked into the
output binary if the developer doesn't provide his own WinMain() function?
My problem is that I
On 10-Sep-2007, at 15:31 , mkalkal wrote:
I found problem in structure packing in mingw32ce.
Here is output from wa_.c file compiled by mingw32ce :
sizeof(t1) = 12
(t1)offset f2 =4
(t1)offset f3 =8
(t1)offset f4 =9
sizeof(t2) = 16
(t2)offset f2 =4
(t2)offset f3 =12
(t2)offset f4 =13
Output (Vi
On 10/09/2007, Pedro Alves <[EMAIL PROTECTED]> wrote:
> Outch! Looks like a bug alright.
>
> It seems long long's in structures require 64-bit alignment. You should be
> able to work around it for now by introducing a dummy before f2.
It does. From the documentation
http://msdn2.microsoft.com/en
[EMAIL PROTECTED] wrote:
> I found problem in structure packing in mingw32ce.
> Here is output from wa.c file compiled by mingw32ce :
> sizeof(t1) = 12
> (t1)offset f2 =4
> (t1)offset f3 =8
> (t1)offset f4 =9
> sizeof(t2) = 16
> (t2)offset f2 =4
> (t2)offset f3 =12
> (t2)offset f4 =13
>
> Output (
I found problem in structure packing in mingw32ce.
Here is output from wa_.c file compiled by mingw32ce :
sizeof(t1) = 12
(t1)offset f2 =4
(t1)offset f3 =8
(t1)offset f4 =9
sizeof(t2) = 16
(t2)offset f2 =4
(t2)offset f3 =12
(t2)offset f4 =13
Output (Visual C) :
sizeof(t1) = 12
(t1)offset f2 =4
(t
I found problem in structure packing in mingw32ce.
Here is output from wa.c file compiled by mingw32ce :
sizeof(t1) = 12
(t1)offset f2 =4
(t1)offset f3 =8
(t1)offset f4 =9
sizeof(t2) = 16
(t2)offset f2 =4
(t2)offset f3 =12
(t2)offset f4 =13
Output (Visual C) :
sizeof(t1) = 12
(t1)offset f2 =4
(t1)
10 matches
Mail list logo