PATCH: x86_64-pc-mingw32 target for gcc

Kai Tietz Kai.Tietz@onevision.com
Wed Mar 21 17:37:00 GMT 2007


Richard Henderson <rth@redhat.com> wrote on 21.03.2007 16:32:34:

> On Wed, Mar 21, 2007 at 12:47:40PM +0100, Kai Tietz wrote:
> > They are treated. For more information about this, please re-read the 
MSDN 
> > about these keywords.
> 
> I don't see anything in the MSDN that specifies that these keywords
> apply to the 64-bit version.  Their language is very 32-bit specific,
> which to me implies that they don't apply.

Please, read http://msdn2.microsoft.com/de-de/library/zxk0tw93(VS.80).aspx
and may further. Especially the fact that the called function pops the 
stack on return remains even for _WIN64. I build allready a working native 
XP64 version of gcc, and it is that way, otherwise it would end before 
reaching gcc main ;)

> > "__stdcall" is needed for all win32 api functions, as for the x86 
> > version.
> 
> Huh?  You still call win32 functions from win64?  Curious...

Yes, the XP64 & Vista target uses still in most cases the win32 API 
definitions, as to read in MSDN ...

Regards,
 i.A. Kai Tietz

------------------------------------------------------------------------------------------
  OneVision Software Entwicklungs GmbH & Co. KG
  Dr.-Leo-Ritter-Straße 9 - 93049 Regensburg
  Tel: +49.(0)941.78004.0 - Fax: +49.(0)941.78004.489 - www.OneVision.com
  Commerzbank Regensburg - BLZ 750 400 62 - Konto 6011050
  Handelsregister: HRA 6744, Amtsgericht Regensburg
  Komplementärin: OneVision Software Entwicklungs Verwaltungs GmbH
  Dr.-Leo-Ritter-Straße 9 – 93049 Regensburg
  Handelsregister: HRB 8932, Amtsgericht Regensburg - Geschäftsführer: 
Ulrike Döhler, Manuela Kluger



More information about the Gcc-patches mailing list