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 / 3130
3129  |  3131
Subject: 
Re: RCXTTY-Variable Problem, calling ./firmdl3 ../boot/brickOS.srec
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 27 Jan 2003 19:13:35 GMT
Viewed: 
3301 times
  
In lugnet.robotics.rcx.legos, Tobias Renz writes:
Hello I found the solution to the Main Problem:
Quotation from another topic:

This Flag has to be changed in the Makefile.common file in the Brickos
directory

"The best fix for cygwin and
newConf2 is to change the line in the ifdef BUILDING_HOST_UTILS section to
be
CFLAGS+=-O2 -Wall"

I looked at this considering my problem with building the BrickOs kernel,
when "make strip" failed there it was useless ..
----->here it works :-))

I will try to add a little clarity to the problems that some people have
encountered with brickOS under cygwin.

If you get make strip errors it is almost certainly because your utilities
were built without .exe extensions.  This will happen if your makefiles do
not know that you are building on a cygwin plaform (i.e., a windows
machine).  Running the configure script should correctly set EXT=.exe in
Makefile.common which will cause your utilities to be built with a .exe
extension.  The configure script figures the extension out based on whether
your cross compiler has an extension.  If configure did not correctly set
EXT=.exe then there is something not quite right with your cross compiler setup.

To use the pre-built hitachi cross compiler tools all you have to do is
extract the ZIP to your cygwin directory (usually c:\cygwin) using something
like WinZip.  Once you've done that, running configure with brickOS newConf2
will properly find your cross compiler and will setup the Makefiles
appropriately.

If you get errors when you run firmdl or dll about not being able to open a
file then your utilities were built without -D_WIN32 which means that that
the compiler thought you were building on a Unix box of some sort.  The
utilities won't work on a windows machine if they were not built with _WIN32
defined.  The newConf2 release of brickOS incorrectly overwrites the value
of CFLAGS so that the utilities are not correctly built unless you edit
Makefile.common after running configure and correct the CFLAGS line in the
BUILDING_HOST_UTILS section.

Hope this helps,

John Hansen
http://members.aol.com/johnbinder/bricxcc.htm



Message has 1 Reply:
  Re: RCXTTY-Variable Problem, calling ./firmdl3 ../boot/brickOS.srec
 
Absolutly, Thanks :-) (...) whether (...) setup. (...) something (...) newConf2 (...) a (...) _WIN32 (...) (22 years ago, 30-Jan-03, to lugnet.robotics.rcx.legos)

Message is in Reply To:
  Re: RCXTTY-Variable Problem, calling ./firmdl3 ../boot/brickOS.srec
 
Hello I found the solution to the Main Problem: Quotation from another topic: This Flag has to be changed in the Makefile.common file in the Brickos directory "The best fix for cygwin and newConf2 is to change the line in the ifdef (...) (22 years ago, 25-Jan-03, to lugnet.robotics.rcx.legos)

4 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