X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: rugxulo AT gmail DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: "Make" works at home, fails at work. Date: 27 Mar 2007 12:56:12 -0700 Organization: http://groups.google.com Lines: 55 Message-ID: <1175025372.220047.169080@o5g2000hsb.googlegroups.com> References: NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" X-Trace: posting.google.com 1175025374 15003 127.0.0.1 (27 Mar 2007 19:56:14 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 27 Mar 2007 19:56:14 +0000 (UTC) In-Reply-To: User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.10 (Windows NT 5.1; U; en),gzip(gfe),gzip(gfe) Complaints-To: groups-abuse AT google DOT com Injection-Info: o5g2000hsb.googlegroups.com; posting-host=65.13.115.246; posting-account=qvj7NA0AAABallzf-E3FtUCXEd65I-J8 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk On Mar 27, 2:45 pm, "Robbie Hatley" wrote: > I'm having a problem with make at work. I installed djgpp on my > computer at work, trying to duplicate my home installation. I > also copied over my personal libraries, source code, makefiles, > etc. But when I try to "make" anything at work I get error "-1", > except in the case of an empty rule. > > Even a simple makefile like this bombs out: > blat: > [tab]@echo splat > > When I type "make", what it SHOULD do is just print > "splat". What it does instead is this: > make.exe: *** [blat] Error -1 > > When I use an "empty" rule it works just fine: > > Makefile: > blat: > [tab] > > Results: > make.exe: `blat' is up to date. > > But if I put ANYTHING after the tab, it bombs. > > OS at both locations is MS-Win2K-Pro. > > Make version in both locations is djgpp GNU Make version 3.79.1 > > Anyone have any clues as to what's going on? > > -- > Cheers, > Robbie Hatley > lone wolf intj aat pac bell dott net I'm no expert (far from it), but here's my guess (until you get a "real" answer, heh): Win2k (and XP and Vista) are all based upon the NT core, right? And DJGPP 2.04 beta is more compatible for that. In fact, it is suggested (right??) to use only 2.04-compiled binaries (N.B. /beta/ == 2.04 while /current/ == 2.03p2) on such systems. Try this make (assuming you're still at work), and see if that works (no pun intended, heh): http://gd.tuwien.ac.at/pc/dos/djgpp/beta/v2gnu/mak380b.zip (However, why it supposedly works on one Win2k machine and not another is weird. Is there a SHELL define in your makefile or default rules? Is bash running or your shell defined as bash somehow on one and not another?) Oh well, have a nice day, don't stress out too much! :-D