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 / 2838
2837  |  2839
Subject: 
Re: small patch to build dll on linux
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Fri, 6 Sep 2002 15:30:41 GMT
Viewed: 
2232 times
  
John,

It looks like my patch to catch all WindowsOS broke for Linux. Ooops. I see
an extra comma in there that should not be there.  Could you try the
following for me (or just remove the comma)?

--- util/Makefile.common.old    Thu Sep  5 16:51:27 2002
+++ util/Makefile.common        Thu Sep  5 16:51:36 2002
@@ -22,7 +22,7 @@
#
# Windows/Cygnwin, test against several values:
#
-ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin WindowsNT Windows_NT
CYGWIN))
+ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin WindowsNT
Windows_NT)||$(findstring CYGWIN,$(OSTYPE)))


I do need to get a second hard drive so I can put Linux on it and test out
across platforms. Sorry once again.

Ed

John Jorgensen <jjorgens@2gn.com> wrote in message
news:Pine.LNX.4.21.0209051650100.22896-100000@2gn.com...
I had problems on Linux with building dll from CVS. Apparently, it thought
that I was running windows.

The simple patch below fixes the problem for me, but I don't know if it
leaves the cygwin build intact...

--- util/Makefile.common.old    Thu Sep  5 16:51:27 2002
+++ util/Makefile.common        Thu Sep  5 16:51:36 2002
@@ -22,7 +22,7 @@
#
# Windows/Cygnwin, test against several values:
#
-ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin WindowsNT • Windows_NT)||,$(findstring CYGWIN,$(OSTYPE)))
+ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin WindowsNT Windows_NT • CYGWIN))
        EXT=.exe
        CC =gcc
        CFLAGS+=-D_WIN32





Message has 1 Reply:
  Re: small patch to build dll on linux
 
This still doesn't work for me. Can you use a similar findstring as the one in the root Makefile.common? The one that looks like this; ifneq (,$(findstring $(OSTYPE),cygwin32 cygwin CYGWIN_NT-4.0 CYGWIN_NT-5.0 CYGWIN_NT-5.1 WindowsNT Windows_NT)) J* (...) (22 years ago, 6-Sep-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  small patch to build dll on linux
 
I had problems on Linux with building dll from CVS. Apparently, it thought that I was running windows. The simple patch below fixes the problem for me, but I don't know if it leaves the cygwin build intact... --- util/Makefile.common.old Thu Sep 5 (...) (22 years ago, 5-Sep-02, to lugnet.robotics.rcx.legos)

5 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