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 / 2471
2470  |  2472
Subject: 
Re: Release candidate legos-0.2.5.2 avail for testing
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 17 Apr 2002 16:04:13 GMT
Viewed: 
1769 times
  
Volker Denneberg <vdenneberg@mathworks.de> wrote:
OS detection in Makefile.common doesnt work with my cygwin(1.3.10),
leading tool prefix h8300-hitachi which is wrong at my PC. To avoid
this, i always run "make TARGET OSTYPE=cygwin "

My recent patch should fix this. If you have the time and inclination, please
test it.

Max.

Patch included again for convenience's sake:

### BEGIN PATCH ###
diff -mru cvs-legOS/Makefile.common work-legOS/Makefile.common
--- cvs-legOS/Makefile.common Thu Apr  4 10:37:47 2002
+++ work-legOS/Makefile.common Tue Apr 16 21:46:16 2002
@@ -29,27 +29,11 @@
SED_SFLAG=

#
-# WindowsNT/Cygnwin, test against several values:
+# Cygwin - CYGWIN for uname output, cygwin for exported default OSTYPE
#
-ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin CYGWIN_NT-4.0 CYGWIN_NT-5.0
WindowsNT Windows_NT))
+ifneq (,$(findstring CYGWIN,$(OSTYPE))$(findstring cygwin,$(OSTYPE)))

-# NT
TOOLPREFIX=h8300-hms-
-SED_SFLAG=i
-
-endif
-
-#
-# 2001.01.16 - Paolo Masetti <paolo.masetti@itlug.org>
-#
-#     - Added definition for Cygwin 1.1
-
-#
-# Cygwin 1.1
-#
-ifneq (,$(findstring $(OSTYPE),CYGWIN_NT-4.0 CYGWIN_NT-5.0))
-
-TOOLPREFIX=h8300-hitachi-hms-
SED_SFLAG=i

endif
diff -mru cvs-legOS/util/Makefile.common work-legOS/util/Makefile.common
--- cvs-legOS/util/Makefile.common Tue Apr  2 17:25:07 2002
+++ work-legOS/util/Makefile.common Tue Apr 16 21:46:29 2002
@@ -20,9 +20,9 @@
CFLAGS=-O2 -Wall

#
-# WindowsNT/Cygnwin, test against several values:
+# Cygwin - CYGWIN for uname output, cygwin for exported default OSTYPE
#
-ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin CYGWIN_NT-4.0 CYGWIN_NT-5.0
WindowsNT Windows_NT))
+ifneq (,$(findstring CYGWIN,$(OSTYPE))$(findstring cygwin,$(OSTYPE)))
  EXT=.exe
  CC =gcc
  CFLAGS+=-D_WIN32
### END PATCH ###



Message is in Reply To:
  Re: Release candidate legos-0.2.5.2 avail for testing
 
Dear legOS people, i am using cygwin-1.3.10-1 ( cygcheck -c) and h8300-hms-gcc 3.0.3 Here are some notes on legos-0.2.5.2 . I think first point must be fixed, other points are suggestions kernel/lnp.c doesnt compile because of missing "volatile" (...) (22 years ago, 17-Apr-02, to lugnet.robotics.rcx.legos)

8 Messages in This Thread:



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

Custom Search

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