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 / 490
489  |  491
Subject: 
Re: Notes on WinNT and legOS 0.2.2
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Thu, 18 Nov 1999 16:13:45 GMT
Viewed: 
1191 times
  
On Thu, 18 Nov 1999, Jonathan Knudsen wrote:
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.

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?

- 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.

This would be Markus's bit, but do we have anyone who knows
cross-platform make stuff well? I think this should be simple to fix, if
we had someone who knew what they were doing.

- 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.

I thought the perl aspect was gone? As far as I can see, it is only the
old-style firmware disassembly that needs it, and that should be easy to
comment out. Am I correct, Markus?

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.

On three separate Linux boxes (a dell, a sony, and a VA Research) I have
also been unable to use the fast mode. Don't feel too bad :)

- Everything in util is compiled.
- I'm able to make helloworld.lx.

Yay.

- 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.

dll should work with the old compiler- I have not yet compiled the new
compiler (the weird 2.95.2 problems I spoke of earlier) but I can get dll
to work just fine. Is there an error message?

Anyway, thanks for the update/info, Jonathan- hope the book continues to
sell well-
Luis

#######################################################################

     Profanity is the one language that all programmers understand.
                  -Anonymous

#######################################################################



Message has 1 Reply:
  Re: Notes on WinNT and legOS 0.2.2
 
(...) I think that making .lx files doesn't involve Perl, even though building legOS.srec and the util stuff still uses Perl. This implies that you could distribute a precompiled legOS.srec and a smaller set of tools, sans Perl, for people to build (...) (25 years ago, 18-Nov-99, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Notes on WinNT and legOS 0.2.2
 
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 (...) (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

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