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 / 2468
2467  |  2469
Subject: 
Re: Release candidate legos-0.2.5.2 avail for testing
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Wed, 17 Apr 2002 13:49:37 GMT
Viewed: 
1928 times
  
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" modifier in line 80.
It must read

  volatile lnp_integrity_handler_t lnp_integrity_handler;

Compiler expects volatile here from declaration in include/lnp/lnp.h:

  extern volatile lnp_integrity_handler_t lnp_integrity_handler;


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 "

What is the background of making tool prefix OS dependent?
You can use the same standard build procedure (. configure; make; make
install) for cross compiler on Cygwin and Linux, leading to same tool chain
(except .exe extension). I suppose simplest solution ( =same tool, same
name, like binutils and "gcc" and all the other) is the best.



It is common practise to write pathes like this
dir1/dir2/dir3/File
Because LEGOS_ROOT seems to end with slash, it must disappear from command line
leading to
        dir1/dir2dir3/File
        dir1/dir2File
which looks a little bit strange


It would be possible to run the same legOS tree under cygwin AND linux
if we help cygwin's sh with the .exe stuff. If there are two files UTIL
(linux executable) and UTIL.EXE
it doesnt know what to do. If the Makefiles would be rewritten such that in
windos environment an explicit .exe occures at cmd line, this problem would
be solved


thanks,
Volker



Message has 1 Reply:
  Re: Release candidate legos-0.2.5.2 avail for testing
 
(...) 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 --- (...) (23 years ago, 17-Apr-02, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Release candidate legos-0.2.5.2 avail for testing
 
Details regarding release content, download instructions and how to provide feedback are at (URL) change detail specific to 0.2.5.2 see the file: ChangeLog Highlights: Added missing file TODO Repaired slow-mode IR comm. for Linux We look forward to (...) (23 years ago, 12-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

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