From: tomw AT tsys DOT demon DOT co DOT uk (Tom Wheeley) Newsgroups: comp.os.msdos.djgpp Subject: Re: porting c++ from unix to NT, djgpp or cygnus? Date: Fri, 20 Dec 96 02:03:05 GMT Organization: Adventures and Diving Lines: 25 Distribution: world Message-ID: <851047385snz@tsys.demon.co.uk> References: <591gbk$3sf AT salomon DOT mchp DOT siemens DOT de> Reply-To: tw104 AT york DOT ac DOT uk To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp On 15 Dec, in article <591gbk$3sf AT salomon DOT mchp DOT siemens DOT de> lauther AT cayley DOT zfe DOT siemens DOT de "Ulrich Lauther" wrote: > I need to port some plain vanilla C++ programs (no access to > special hardware resources, no GUI programming, just computation) > from Unix (Solaris, Linux) to NT 4.0. > Do I want djgpp or the cygnus port of g++? If it is plaain vanilla C++ as you say it is, then it will compile without hitch in DJGPP. If however, you use something like curses or then you may have to be careful, however DJGPP does make porting easier by supporting many UNIX features like the aforementioned. I think the rsx thingy is now based on djgpp, but you'll probably only need that if you want to add Windowsy things. :sb) please send mail to http://www.york.ac.uk/~tw104/ -- #include /* The .splitbung super .sig system! */ #include main(){FILE*f;int c[1];char s[99];puts("sig:");fgets(s,99,stdin);if(!*c=strchr(s ,'\n'))s[c=0;f=fopen(s,"r");while((c=getc(f))!=EOF)putchar(c);f&&fclose(f)