Xref: news-dnh.mv.net comp.os.msdos.djgpp:296 Path: news-dnh.mv.net!mv!news.sprintlink.net!cs.utexas.edu!convex!not-for-mail From: rosenkra AT convex DOT com (William Rosenkranz) Newsgroups: comp.os.msdos.djgpp Subject: problem with djgpp Date: 10 Jun 1995 20:58:05 -0500 Organization: Engineering, Convex Computer Corporation, Richardson, Tx USA Lines: 65 Distribution: usa Nntp-Posting-Host: convex1.convex.com To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp i have a somewhat old copy of djgpp at the moment (i believe it corresponds to gcc 2.2.2 or so). i can't find the FAQ or the docs from that era (i installed it a year ago or so), so if the answer to this question is in the current FAQ, you are free to say RTFM. right now i want to get the feel for gcc under MSDOS (i am fairly familiar with it in other environments) before i commit to downloading the latest version. anyway, i have MSDOS 6.x (x=0, possibly) and windows 3.1. i know this does not work under windows. i ran memmaker to fix my config.sys. on one of the drivers, it took out a NOEMS flag. now gcc works. as a unix and 68k type (atari ST), i am used to a nice flat address space, so x86/MSDOS is just totally bewildering. :-( i compiled a trivial program (basically a 3 line hello world) with: gcc -o x.exe x.c this seems to have worked correctly (there were no errors). i have GO32 in my path. i tried to run x.exe (which should just print "hello" to stdout and exit) and it locked up my system, forcing a reboot. is there something obvious i am missing here? should i have done: gcc -o x x.c auto2exe x instead? i'd like to keep from having 2 files as per the README's (ie, an x.exe which is a copy of go32.exe, and an x, my code). another question comes to mind: i would like to use something like cmdedit to get a more facile cmdline interface. will there be any conflicts between cmdedit and djgpp? ideally, i'd like tcsh. so if there is a tcsh for MS-DOS, pls point me to it as well. i have a bourne shell (forget which one). my MSDOS is pretty vanilla, so if i need some additional tools/drivers, also let me know. i am just now getting back to programming under MS-DOS, so i have a fair amount of catching up to do from MSDOS 2.0 days.... finally, is there plans to support windows programming under djgpp? if so, about what timeframe? i have a commercial c/c++ compiler (some borland turbo thing), but i prefer the gnu-way. :-) on a somewhat related note, the djgpp developers might consider taking a look at what was done on the atari ST for gcc. including docs (manpages). i believe i formatted some of the docs myself a long time ago (i wrote an nroff for the atari a couple of years ago). gcc has a very nice (non-GUI) environment on the ST (though it does support full GEM graphics via libs), including tools like tcsh and gnu emacs (which compile from unix src with relatively little effort). there are also OS extensions that have been developed to support multitasking (MiNT). for example, fork() works, even without the multitasking extensions i believe. the archive site in the US is atari.archive.umich.edu. full source code is available. thanx. i look forward to using djgpp on my PC as well. sorry if this is all in the FAQ. i have not had the time to read it yet. i will. -bill -- Bill Rosenkranz |UUCP: {uunet,texsun}!convex!rosenkra Convex Computer Corp. |ARPA: rosenkra AT convex DOT com