From: Allens Newsgroups: comp.os.msdos.djgpp Subject: Re: DJGPP Compiling Win32 programs Date: Tue, 30 Jun 1998 21:05:25 +0100 Organization: Cable Online Lines: 41 Message-ID: <35994505.5C60@cableol.co.uk> References: <35992900 DOT 1EF7902D AT gold DOT com DOT br> NNTP-Posting-Host: 194.168.5.23 Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Sérgio Vale e Pace wrote: > > Hi Everybody! > I'm here with a project, that don't exist yet, to include win32 > compiling in DJGPP. > Why? you ask. in 2 weeks searching I found 4 options for free win32 > compilers: > 1. RSXNTDJ > 2. CYGwin32 > 3. MingWin32 > 4. Lcc32 > The first was the best option, since it is an adaption to DJGPP (for > DOS and Win32 programs), but still using binutils 2.7... and you must > pay to produce comercial programs > The second and third share some problems, they cause "path" > problems, I mean you must hide DJGPP when compiling Win32 and > vice-verse, and to be honest I have so many problems trying to make then > work there I didn't really compile something > The fourth die in the C without the ++, a very complex and hard to > use IDE, and a strange dos window in background > > So, I'm wondering if somebody can help me to make adaptations on DJGPP > so it can compile Win32 programs, I mean can't be that dificult, the big > part of the job is in the linker, instead of get the COFF and write a > DOS EXE, write a Win32 EXE, develop an IDE, create a .LIB to .A > conversor to convert the MSSDK or even make the linker read the LIB > files( this will be even better) . I know that this it's not very easy > but I thomk that can be done. > > Please send any comments, info, or "hey I'm crazy like you and want to > help" > Sérgio Vale e Pace You say that lcc has a dos window in the background. That is because you are compiling it as a dos app. Try adding the -subsystem windows command to the linker options eg lcclnk foo.obj -subsystem windows. The lack of cpp is a bit annoying, but it does work. Peter Allen PS sorry newsgroup for this very off topic post