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 / 510
509  |  511
Subject: 
LegOS 0.2.2 on Win95 (almost)
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 24 Nov 1999 07:46:35 GMT
Viewed: 
892 times
  
What i did:

0
Follow HOWTO for 0.1.7 (with 0.2.2 archive of course)

1
Add #define O_ASYNC _FASYNC to
...\cygwin-b20\H-i586-cygwin32\include\sys\fcntl.h
(Thanks Luis Villa)

2
- create a subdirectory under legOS\include named lnp, and move lnp.h and
lnp-logical.h from legOS\include to this directory
- create a subdirectory named sys under legOS\include\lnp, and move irq.h,
lnp.h and lnp-logical.h from legOS\include\sys to this directory
- Change the CINC variable definition in legOS\Makefile.common to
CINC  =-I$(LEGOS_ROOT)include -I$(LEGOS_ROOT)include/lnp -I
- Change the CFLAGS definition in legOS\util\dll-src\Makefile to
CFLAGS=-O2 -Wall -I. -I../../include/lnp
(Thanks Martin Cornelius)

3
Edit fixdeps, genlds, merge-map, mrephelper, sample-convert so that they
find perl.exe (changed first line of these files to #!/Perl/bin/perl)

4
Downloaded makedepend from
http://dao.gsfc.nasa.gov/software/grads/X11R6.3/X11R6.4/bin/makedepend.exe
and installed in ...\cygwin-b20\H-i586-cygwin32\bin

5
added extensions .exe to the lines
cp -f $(TARGET1) $(TARGET2) ..
and
rm -f *.o *~ *.bak $(TARGET1) $(TARGET2)
in legOS\util\dll-src\Makefile so that they become:
cp -f $(TARGET1).exe $(TARGET2).exe ..
and
rm -f *.o *~ *.bak $(TARGET1).exe $(TARGET2).exe

Everything compiles, however when trying to download demo\helloworld.lx with
dll i get "error deleting program".

Any help would be appreciated

Peter

(BTW Had to use -slow mode for firmdl3.exe)



Message has 1 Reply:
  Re: LegOS 0.2.2 on Win95 (almost)
 
(...) the symptom looks a little like the problems i encountered when i tried to compile legOS with gcc-2.95.2 under linux. The message "error deleting program" most likely means, that it was not possible to get in contact with the RCX at all. Could (...) (25 years ago, 24-Nov-99, to lugnet.robotics.rcx.legos)

2 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