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 / 488
487  |  489
Subject: 
Notes on WinNT and legOS 0.2.2
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 18 Nov 1999 15:22:47 GMT
Viewed: 
1257 times
  
No, I don't have it working yet. However, I've made
progress, and I thought my experience might be
helpful to others who are more savvy with
the GNU tools than I am.

- I did get everything to compile. As Luis suggested,
  the -nostdinc flag takes care of the redefined symbols
  problem. I think I had to copy some of the lnp stuff
  into the util directory to get dll to compile, but at
  this point I can't remember for sure.
- Some confusion arises with executable file names. In
  particular, the Makefile in util/dll-src tries to copy
  executables up a directory level once they're built. Under
  Win32, the names have .exe at the end which causes the copy
  to fail. This also means "make clean" doesn't always work right.
- Perl scripts were a problem. The Perl interpreter expects
  to be passed a Win32 path, but Cygwin passes the Cygwin
  path, which could be very different depending on how
  you've mounted your directories. Probably the easiest
  way around this is to map your Cygwin directories directly
  over your Win32 directories. I kluged through it by
  mirroring my Cygwin structure under Win32 and copying the
  Perl scripts there.

My current status:

- legOS is compiled and running on my RCX. Note that I did
  have to use --slow for firmdl3, but then again my serial
  ports under WinNT have always been a little strange.
- Everything in util is compiled.
- I'm able to make helloworld.lx.
- dll can't talk to the RCX, so I can't download user
  programs. I guess lnp is not working there? I guess I
  need to build the new compiler to get lnp working on the
  RCX. But here my knowledge is very shakey.

Jonathan



Message has 2 Replies:
  Re: Notes on WinNT and legOS 0.2.2
 
(...) It's quite possible that the -nostdinc line will block out the getopt.h mentioned in an earlier post. Could this be what you recall having to move? (...) This would be Markus's bit, but do we have anyone who knows cross-platform make stuff (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)
  Re: Notes on WinNT and legOS 0.2.2
 
Thanks for the notes. I briefly tried to get legOS to compile on NT and gave up before I got as far as you did. Let us know if you get it all working. (...) Joel Shafer joel@connect.net (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)

5 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