Xref: news-dnh.mv.net comp.os.msdos.djgpp:4008 gnu.g++.help:3998 gnu.gcc.help:5061 Newsgroups: comp.os.msdos.djgpp,gnu.g++.help,gnu.gcc.help Path: news-dnh.mv.net!mv!news.sprintlink.net!newsfeed.internetmci.com!EU.net!news.eunet.fi!news.spb.su!KremlSun!news.simtel.ru!is!infolada.com!assa.infolada.com!assa From: assa AT infolada DOT com (Alexander Trump) Subject: Re: building gcc 2.7.1 on DOS Followup-To: comp.os.msdos.djgpp,gnu.g++.help,gnu.gcc.help Sender: news AT infolada DOT com (Operator) Nntp-Posting-Host: assa.infolada.com Organization: JV InfoLada Message-ID: References: Date: Fri, 22 Dec 1995 13:02:54 GMT Lines: 29 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Michael E. Wesolowski (mewesolo AT freenet DOT calgary DOT ab DOT ca) wrote: : 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 - I made it with `make bootstrap ...' but look like missed something - it won't handle exceptions in compiled programs plus I had heavy troubles with gcc library. : 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 IMHO no way. `for' statement is processed in the batch files only. Try to `echo' the lines you wish to a .bat and execute it. I'm afraid DOS won't like a line such long as $(files_to_move). There is a solution to avoid some problems: try 4dos instead the command.com. -- Sincerely, Alexander.