At 03:11 PM 22/11/2006 -0800, you wrote:
>On 2006-11-22 22:03+0100 Werner Smekal wrote:
>
>>What I tried was to install djgpp in windows xp. Runs fine, and they even 
>>provide gcc 4.1 or so - mingw isn't that far yet!
>
>That's an interesting result which appears inconsistent with the consensus
>of opinions I have heard recently in this thread that stated windows
>executables cannot be executed on DOS.  If that consensus is correct, I am
>surprised you have been able to do the opposite -- run a DOS executable on
>windows.

You can run a DOS executable under windows, but not a Windows one under DOS.

Werner is using a more recent version of GCC than me (I have "3.?"), and 
clearly got further than I have. When I tried cmake from windows, to build 
a plplot make file for DJGPP, I got an exception error quite early on 
because of (I suspect) a problems with cmake calling the DOS version of GCC.


>Assuming the consensus is correct, then if you have success with DJGPP on
>windows, the PLplot result will only work on windows and not DOS.

In "building" DJGGP under windows at leastÂ… you would still not be able to 
use the windows version of cmake from DOS to build in a pure DOS 
environment, unless someone successfully builds a cmake for DJGPP.

This is encouraging all the same, and would let people with WIN32 
potentially generate a makefile for DJGPP using cmake for windows, but for 
people with pure-DOS (e.g. FreeDos and no WIN32), the old build system 
would still be required.


>However,
>that is still a useful goal (to provide some competition for MinGW on
>windows) if you want to pursue this further.  Also, the consensus may be
>wrong, and you will get a useful DOS result

DJGPP programs are still just DOS programs, even when compiled from 
windows, so in many respects would remain a "poor cousin" of the MingW 
equivalent.

-Andrew



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to