My Original post was:
> One of my friend has a home-work assignment in C++. He has to
> do it on UNIX (SunOS 4.1.4) and is going to use g++ compiler.
> He has PC at home but no dial-in access. He wants to buy a
> C++ compiler and work from home and then go to school and
> compile it and run. Any suggestions?? How about Borland C++
> Compiler? Will it work?
> Thanks, I will summarize.
Thanks to everybody who replied:
Following were replies:
_____________________________________
From: nick.leroy@norland.com
Definitely look at DJGPP. It's gcc ported to MS-DOG. Look:
http://www.delorie.com/djgpp/ for more info. The only downside is that
it needs a 386+. Today, that seldom an issue.
From: Benjamin Cline <benji@hnt.com>
How about DJGCC port of GCC to DOS? http://www.delorie.com/djgpp/
Or maybe the Cygnus port of the GNU tools to Windows?
http://www.cygnus.com/misc/gnu-win32/
From: gibian@stars1.hanscom.af.mil (Marc S. Gibian)
How about g++ on the PC? Under Linux...
From: daves@adnc.com (David Schiffrin)
I'm pretty sure gcc is available for PeeCees. Perhaps this is the best choice?
check out ftp://prep.ai.mit.edu
Borland's complier should be nominally compatible with the g++ stuff, as long as he stays away from OWL and MFC type PC specific stuff..
-dave
(I could be wrong, it's been a couple years since I did PC development)
From: "Robert L. Bailey" <rlb@cruiser.engin.umb.edu>
Hi,
There is a dos version of gcc/g++ on the net called djgcc which might
work, however if the assignment is going to use unix calls then
maybe installing FreeBSD or Linux is an option. Although doing this is a
task in itself for someone who is not experienced in UNIX.
I hope that this helps
From: Nicky Ayoub <Nicky.Ayoub@Microchip.COM>
Hello Manish
There is a dos port of gcc. Look in ftp://prep.ai.mit.edu/pub/gnu/MicroPorts
for pointers to it. It works and it's free!!!
Good luck.
From: Michael Jarvis <michaelj@burrito.insource.com>
Why not use DJGPP? It's a MS-DOS port of gcc/g++, which would mean all
the tools would be similar, and the code would be compatible. What's
more--it's FREE! (Which is important to many a poor college student.)
Check it out at ftp://ftp.simtel.net/pub/simtelnet/gnu/djgpp, or your
favorite Simtel mirror.
From: "Mark `Hex' Hershberger" <mah@eecs.tulane.edu>
He can get a DOS port of GCC for free: www.delorie.com/djgpp
From: billk@LANcomp.COM (Bill Krauss)
I believe that GCC is available for the intel platform... And it's free...
From: Fedor Gnuchev <qwe@ht.eimb.rssi.ru>
I'd rather suggest installing FreeBSD 2.newest.version ( it is closest to
4.1.3) - that will have virtually no problems in porting.
Dropping personal affection to FreeBSD,
using Borland C++ is OK. We have several things ported - the author it
Windoze addict with negligible Unix expirience - yet no pain in porting.
(well, he is very good programmer and never uses non-portable tricks).
From: np@bsn.com (Norbert Poellmann)
I just saw an ad about a product called MainSoft (or MainWin) Studio.
It should convert Source Code of MS-Win-Apps, including resource files,
scripts etc to Unix (various platforms).
However it should be not quite cheap - several thousend $ and
probably not in the range of a student's budget. But ... I just wanted
to mention it. Product is by Mainsoft Inc. CA. For Germany they
point to http://www.precision.de/
Note: Nor me nor my company has anything to do with MainSoft Inc.,
Precision Soft. I didn't have any experience with this product.
From: Herbert Wengatz <hwe@uebemc.siemens.de>
Why not use the GCC (g++) for DOS ? This is simply the best and the
cheapest solution! :-)
Search the Web for the djgpp !
From: "David Evans" <djve@deakin.edu.au>
This is more appropriate to a programming group in my opinion.
Now you've been flamed, here is an answer. Try getting the gcc
material from your local archie server for the MS-DOS environment.
I think its called "djgpp" or something very close. Its not from
the FSF but I believe its pretty compatable.
David Evans
-- "You can not discover new oceans unless you have the courage to lose sight of the shore" - Anonymous"There is nothing more constant than change" - Anonymous
Manish Doshi, .............. ___ _/| .. __ __ .. ___ _/| ........... Dept. of Computer Science \ x x ' / o O \ \ o O University of Houston ( ^ ) ( ^ ) ( ^ ) Houston, TX 77004 ............. U ........ U ........ ~ ...............
Email :- mdoshi@uh.edu Work:(408)285-6561 Home:(415)967-3445 URL: http://www.bchs.uh.edu/~mdoshi
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:11 CDT