Mail Archives: djgpp/1998/02/05/09:11:55
>I am trying to compile a program with DJGPP GCC in windows95, but can't
>understand an error.
>The makefile(attached) just cd's into every sub-dir and builds the stuff
>thats there.
>
>I get the following error message :
>
>(cd laba_util ; make)
>Bad command or filename
It seems like the makefile was made to run on a Unix system:
DOS (and win95) doesn't recognize the subshell "( <commands> )" construct
like
unix shells do.
I think command.com doesn't even recognize a command separator ";" so you
have to split the command into many lines. try if this helps:
target: files
(cd laba_util; make)
changed into:
target: files
cd laba_util \
make
ciao
Giacomo
- Raw text -