Mail Archives: djgpp/1998/06/30/16:15:32
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
- Raw text -