Mail Archives: djgpp/2007/03/27/15:00:28
On Mar 27, 2:45 pm, "Robbie Hatley" <lonewolfi DOT DOT DOT AT pacbell DOT net> 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
- Raw text -