Xref: news-dnh.mv.net comp.os.msdos.djgpp:3773 gnu.g++.help:3867 gnu.gcc.help:4923 Path: news-dnh.mv.net!mv!news.sprintlink.net!malgudi.oar.net!kira.cc.uakron.edu!neoucom.edu!news.ysu.edu!news.ecn.uoknor.edu!paladin.american.edu!europa.chnt.gtegsc.com!news.uoregon.edu!news.bc.net!rover.ucs.ualberta.ca!news.ucalgary.ca!srv1.freenet.calgary.ab.ca!mewesolo From: "Michael E. Wesolowski" Newsgroups: comp.os.msdos.djgpp,gnu.g++.help,gnu.gcc.help Subject: building gcc 2.7.1 on DOS Date: Sun, 10 Dec 1995 20:08:37 -0700 Organization: Calgary Free-Net Lines: 36 Nntp-Posting-Host: mewesolo AT srv1 DOT freenet DOT calgary DOT ab DOT ca To: djgpp AT sun DOT soe DOT clarkson DOT edu Dj-Gateway: from newsgroup comp.os.msdos.djgpp I've posted before on this subject and am making some progress. I am assuming that the directions contained within the 'install' file are applicable to DOS, except that I'm using djgpp directly. What I've accomplished so far is to 'make LANGUAGES=c' (with some tweaking - details available if required). The next stage is to 'make stage1' which copies a bunch of files to the 'stage1' directory. Unfortunately, the commands in teh makefile are unix based, which is where I'm having trouble. I think that what I have to do for DOS is execute the command for %filename in ($(files_to_move)) do move %filename stage1 where %filename might also be %%filename (according to DOS help, %filename is used from the command line, and %%filename from batch files). I've successfully executed variations of this command from the DOS command line, but inserting them in a makefile does not work (not the gcc makefile, but one I created to test it). The first question is, am I on the right track? Am I performing steps that actually need to be performed? If so, am I executing the correct command to do what needs to be done? If so, what do I need to do to make it work? I'm trying to avoid having to manually copy these files. It's probably worth posting replies to these newsgroups since I've noticed a lot of interest lately. BTW, I'm using the version of make that comes with the original djgpp distribution. --------------------------------------------------------------------- Michael Wesolowski (mewesolo AT freenet DOT calgary DOT ab DOT ca)