delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Rugxulo <rugxulo AT gmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: compiler error on Windows 2003 |
Date: | Tue, 7 Apr 2009 03:41:34 -0700 (PDT) |
Organization: | http://groups.google.com |
Lines: | 56 |
Message-ID: | <27613ce0-24ef-4e1b-aa0e-bf7348ac6989@y7g2000yqa.googlegroups.com> |
References: | <gr208b$ak2$1 AT news DOT onet DOT pl> <e4f0ea22-d009-4aa0-a3bf-630f3c7a8f28 AT a7g2000yqk DOT googlegroups DOT com> |
<gr4lrn$751$1 AT news DOT onet DOT pl> <16d44b1b-8acc-48b3-bf49-45b71e423d78 AT r37g2000yqn DOT googlegroups DOT com> | |
<gr548r$gpd$1 AT news DOT onet DOT pl> <2ad157aa-66e6-45eb-9f2c-3816fdbecd58 AT c36g2000yqn DOT googlegroups DOT com> | |
<grcjhu$54c$1 AT news DOT onet DOT pl> <20698405-6eed-4a98-9b84-0db7b2712335 AT k41g2000yqh DOT googlegroups DOT com> | |
<grf7gf$d2t$1 AT news DOT onet DOT pl> | |
NNTP-Posting-Host: | 65.13.115.246 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1239100894 10595 127.0.0.1 (7 Apr 2009 10:41:34 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Tue, 7 Apr 2009 10:41:34 +0000 (UTC) |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | y7g2000yqa.googlegroups.com; posting-host=65.13.115.246; |
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO | |
User-Agent: | G2/1.0 |
X-HTTP-UserAgent: | Opera/9.64 (Windows NT 6.0; U; en) Presto/2.1.1,gzip(gfe),gzip(gfe) |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi, On Apr 7, 4:48=A0am, "Tomasz Zbro=BFek" <t DOT zbro DOT DOT DOT AT upos DOT com DOT pl> wrote: > Rugxulo <rugx DOT DOT DOT AT gmail DOT com> wrote in > > > Also, dare I suggest, but maybe you can use OpenWatcom if your app > > isn't too DJGPP or GCC specific. It at least supports various non-DOS > > hosts, including Windows, which can cross-compile for DOS. That won't > > let you debug, but it might prove useful as an alternative. > > Does OpenWatcom have DLL feature ? What I read is that there is no =A0 > official DLL support for DOS... I afraid that it's not so easy to learn h= ow > to use it :) It was hard enough for me to make my program work with DXE a= nd > finally DXE3 :) eh! At the risk of prying you away from the best DOS compiler in the world (DJGPP) ... Yes, Causeway supports .DLLs in DOS. And most Win32 .EXEs (PE) produced by OpenWatcom can run under HXRT in pure DOS, even with .DLLs. For instance, here's quoting from BINW's WLSYSTEM.LNK: system begin cwdlls option osname=3D'CauseWay DLL (Stack parameter passing)' libpath %WATCOM%/lib386 libpath %WATCOM%/lib386/dos op stub=3Dcwdstub.exe format os2 le dll ^ libfile dllstrts.obj end system begin cwdllr option osname=3D'CauseWay DLL (Register parameter passing)' libpath %WATCOM%/lib386 libpath %WATCOM%/lib386/dos op stub=3Dcwdstub.exe format os2 le dll ^ libfile dllstrtr.obj end Keep in mind that I only suggest this since you're having such trouble with Windows. Otherwise, DJGPP would be quite good enough (and has better C++ support although OW18 has improved a lot). If I had a Cygwin cross compiler for you, but alas .... P.S. I think you have to use VDMSERV.EXE to debug DOS apps on Windows, and even then, I'm fairly certain graphical stuff won't work. You'll get more help for this on the following newsgroups: http://groups.google.com/group/openwatcom.users.c_cpp/topics http://groups.google.com/group/openwatcom.contributors/topics And here's a link to HXRT: http://www.japheth.de/HX.html
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |