Date: Sun, 17 Mar 1996 20:47:07 +0800 (GMT+0800) From: "Orlando A. Andico" To: Eli Zaretskii cc: DJGPP Mailing List , Lee Braiden Subject: Re: Using RSXWDK2 with DJGPP v2 In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Sun, 17 Mar 1996, Eli Zaretskii wrote: > > On Sun, 17 Mar 1996, Orlando A. Andico wrote: > > > I don't know what to make of the "multiple definitions of main()" bit. > > Perhaps the time-honored hello.c must use WinMain() instead of main() but > > that's just my guess. Anyone have any ideas about this? > > That's most probably *is* the reason. I don't think you should try > compiling demos not intended for WIndows under RSXWDK. Find some Win > variety of ``Hello'' and try it. > Thanks, I'll try that. BTW Does anyone have *any* luck rebuilding the RSXWDK2 stuff with V2? I got myself some "legit" windows include files (from my old Turbo C++ 1.0/Windows) and followed the instructions. However, stuff *still* don't work. (I had to modify all the Makefiles 'cause they were for something called ndmake which I don't have) ---------------------------------------------------------------------- In file included from rsxw32.c:4: /lang/rsxwdk/include/windows.H:45: parse error before `WinMain' /lang/rsxwdk/include/windows.H:48: parse error before `INT' /lang/rsxwdk/include/windows.H:48: warning: data definition has no type or storage class make.exe: *** [rsxw32.o] Error 1 ---------------------------------------------------------------------- What's going on here? 8( Actually, I *don't* want to create Win32 apps or whatsit. I just want my DJGPP-compiled programs to run from the Windows console (not using a DOS box). I think RSX (w/o the `WDK') is enough for this... I stubbed a typical DJGPP image (info.exe) to use RSX instead of CWSDPMI, but Windows wouldn't execute it (screen would blank momentarily, then Program Manager comes back). However, the standard info.exe works (it should, and it does...) RSX is OK though, from DOS (I have to load CWSDPMI first 'cause RSX needs it...) Any ideas? Cheers, ------------------------ Orlando A. Andico oandico AT eee DOT upd DOT edu DOT ph ------------------------