Subject:
|
Re: utils/Makefile.common problem - djgpp
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Thu, 27 Jul 2000 20:35:03 GMT
|
Viewed:
|
1700 times
|
| |
| |
> In the file Makefile.common in the utils directory is this:
>
> # DJGPP does not define OSTYPE
> #
> ifndef OSTYPE
> OSTYPE=$(MSDOS)
> endif
>
> It should be:
>
> # DJGPP does not define OSTYPE
> #
> ifndef OSTYPE
> OSTYPE=$(shell uname)
> endif
I think that in we intented to write:
# DJGPP does not define OSTYPE
#
ifndef OSTYPE
OSTYPE=MSDOS
endif
Because we know that DJPP does not define OSTYPE. Are we sure that uname.exe
is always present in a DJPP installation?
> With the addition of "MS-DOS" in the later ifneq line for DJGPP:
> ifneq (,$(findstring $(OSTYPE),MSDOS msdosdjgpp MS-DOS))
No problem.
> or, simply change the former to:
> OSTYPE=MSDOS
Which one do you prefer?
Please, note that similar defines are in Makefile.Common under legOS root...
I can patch files in CVS before tag rel-0-2-4 tonight... Do you prefer to
patch yourself?
Bye,
Paolo.
---
Ignorance is temporary; Stupidity lasts forever!!!
|
|
Message is in Reply To:
| | utils/Makefile.common problem - djgpp
|
| re: legos.0.2.4 In the file Makefile.common in the utils directory is this: # DJGPP does not define OSTYPE # ifndef OSTYPE OSTYPE=$(MSDOS) endif It should be: # DJGPP does not define OSTYPE # ifndef OSTYPE OSTYPE=$(shell uname) endif With the (...) (24 years ago, 27-Jul-00, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|