To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.legosOpen lugnet.robotics.rcx.legos in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / legOS / 929
928  |  930
Subject: 
Re: Another possible makefile change
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Sat, 11 Mar 2000 10:38:17 GMT
Viewed: 
1870 times
  
Actually, you could replace $(shell uname) with $(OSTYPE).

That doesn't work with the DJGPP Make program, unfortunately.

I already modified my utils Makefiles for using $(OS) that for Windows NT
gives "Windows_NT" (and, now, I'm ready to commit :-) ... ), but I don't
know how $(OS) evaluate for Win9x.

$(shell uname) does not give "MSDOS" under cygnwin: it gives
"CYGWIN_NT-4.0".
$(OSTYPE) gives "cygwin32", but only under cygnwin bash, it's undefined
under NT cmd.exe.

Bye,
     Paolo.

---
Murphy's Fourth Law: If there is a possibility of several things
going wrong, the one that will cause the most damage will be the one
to go wrong.



Message has 1 Reply:
  Re: Another possible makefile change
 
$OS in DJGPP running on a Windows 95 system returns nothing. :( Paolo Masetti <paolom@pragmanet.it> wrote in message news:Fr97MG.2CE@lugnet.com... (...) (25 years ago, 11-Mar-00, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: Another possible makefile change
 
(...) That doesn't work with the DJGPP Make program, unfortunately. Rossz (25 years ago, 10-Mar-00, to lugnet.robotics.rcx.legos)

9 Messages in This Thread:

Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR