From: "Linxman" To: Subject: Re: DJGPP Compiling Win32 programs Date: Mon, 4 May 1998 23:28:55 +0200 Message-ID: <01bd77a3$a4975e40$LocalHost@default> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit Precedence: bulk Sérgio Vale e Pace wrote: >Weiqi Gao escreveu: > >> 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" >> >> And the final result of this exercise will be something very similar to >> GNU-Win32/mingw32, which is already part of the GNU C/C++ package. >> >> The latest I've heard about RSXNTDJ is that its development has ceased >> precisely because of the availability of GNU-Win32/mingw32. (Somebody >> correct me if I'm wrong.) >> >> If we can somehow reuse the RSXDJNT's code without violating the >> copyright, that would be the way to go. >> > > Sorry the delay, but my news server was "out of combat" last week. > > Well, have you ever try to make a win32 program in Visual Basic, or >Delphi? If the answer are yes then you know what I mean when I say that the >actual free compilers for win32 are at least "disconfortable", I didn't >intalled CygWin32, but I don't wait a really good programming envoirment, >since Cygnus have a commercial package that probably hold this features. > Another msg, from "allens say to me that the dos window behind lcc is just >a switch I didn't put in command line, but the object oriented paradigm still >missing. > The idea behind this... well this ideia, because right now I don't have >the experience or the technical knowledge to call this a project, is not to >critize anyone idea or initiative, in matter of fact, this idea came to me >while I was reading the Lcc docs. I mean, the compiler itself is already done >(DJGPP), and wildely used. the problem is get the COFF files the compiler >generate and link it for a win32 program, exactly like RSXNTDJ does, but since >RSXNTDJ is not a totally free package, and like you said, protected by >copyright laws, we will have to "reinvent the wheel", but produce win32 >executables is just part of the job, a more "professional" IDE, using the new >technologies like modular programming, and a easier interface for the event >oriented style of the windows. And finally, Microsoft puts on the net the SDK, >I can garantee, but I think that it should be the best source for accessing >the Win32 API, and none of the actual free compilers can directly use this >code, I mean it's there just get it, but how use it? > I know that this idea it's not easy to acomplish, but I think that can be >done. Imagine if our dear friend DJ says "why port GCC to DOS? we alread have >Borland CPP or Turbo CPP." > Finally, All comments are welcome, but the main porpuse of this msg is ask >for help to make this thing real. > >Thank's for your time (I know how boring is to read a long msg) >Sérgio Vale e Pace > I think we should take a look at Mingw32. It's much better than RSXNTDJ (I know, because I used both of them) and it's based on gcc compiler, so the only thing remaining is that more "professional" IDE.