Message-ID: <32829931.7EF7@ananke.amu.edu.pl> Date: Fri, 08 Nov 1996 03:21:37 +0100 From: Mark Habersack Reply-To: grendel AT ananke DOT amu DOT edu DOT pl Organization: Home, sweet home MIME-Version: 1.0 To: Malcolm Taylor CC: djgpp AT delorie DOT com Subject: Re: Adding Windows Support? References: <55mi0g$e6m AT news DOT manawatu DOT gen DOT nz> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Malcolm Taylor wrote: > Well, there is a document somewhere around that describes the Win32 > PE/COFF format. I do not have this anymore, but I did send it to a few > people a while ago (can't remember quite who, Bill Currie maybe?). I have the document which came with BC 4.52. It is from Micro$oft and has some bugs. It is inevitable to have the Win32 SDK header files to check the document with structures in them. > Basicly it's a _very_ large project waiting for someone to lead it. > The project would consist of enabling the generation of PE/COFF format > (ie. write a new linker, change LD or make a COFF-GO32 to PE/COFF > converter), writing header files, writing startup code, modifying the > libc.a to work under Windows (maybe a new lib), finding a freeware > resource compiler ... I think that changing LD is not necessary. The COFF-PE converter for linked executables would be a fairly easy to program stuff. If anything might be modified here, it's the BFD library - someone would have to add the PE target to it.. Header files may be taken from either RSXNT or Cygnus GCC Win32 port. As to resource compiler - RSXNT contains a full source of this utility (a little buggy but working). I don't know whether it's freeware but at least it contains full source of Bison parser for resource script language. If the compiler is, for some reason, unusable, I can write a new one. If anyone is interested, I have a full description of Win32 binary resource format. -- ********************************************************************************* You tell me I'm drunk then you sit back and smug a while convinced that you're right, that you're still in command of your senses. I laugh at your superior attitude, your insincere platitudes will make me throw up. The sooner you realise I'm perfectly happy if I'm left to decide the company I choose. ************************* http://ananke.amu.edu.pl/~grendel *********************