This is the mail archive of the
cygwin-xfree@sourceware.cygnus.com
mailing list for the Cygwin project.
GCC support for Intel asm + NT DDK [Re: Beta version of new X-server]
- To: cygwin-xfree at sourceware dot cygnus dot com
- Subject: GCC support for Intel asm + NT DDK [Re: Beta version of new X-server]
- From: Mumit Khan <khan at NanoTech dot Wisc dot EDU>
- Date: Wed, 08 Mar 2000 15:45:32 -0600
Chris Faylor <cgf@cygnus.com> writes:
> On Wed, Mar 08, 2000 at 03:51:00PM -0500, Suhaib M. Siddiqi wrote:
> >It has a lot of Intel ASM code which compiles only with Windows NT DDK.
> >GCC cannot handle it.
>
> Ah. Of course. That's understandable.
>
> I keep hearing about a project to make as understand Microsoft's
> (or is it Intel's?) asm syntax but it never seems to happen.
Current binutils as seems to understand some Intel syntax, but I haven't
looked into how complete the support is.
In addition to the asm issue, NT DDK requires a few features that are
not supported by gcc right. The first one I can think of is the support
for "fastcall" calling convention, which is very similar to regparm
in gcc. I have partially tested code to implement the code, but never
submitted it. Perhaps it's time to dig, polish, test, etc. I believe
NT DDK code uses the "native" subsystem, or something like that, and
we may need to tweak the linker scripts as well.
Regards,
Mumit