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 / 2975
2974  |  2976
Subject: 
Re: Installing BrickOS 0.2.6.09.newConf2
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 25 Nov 2002 19:36:00 GMT
Viewed: 
3277 times
  
In lugnet.robotics.rcx.legos, Max Bowsher writes:
Bernardo Quiroga <drago@wanadoo.nl> wrote:
How do I deal with this?

Its a bug, fixed in the cvs version of brickOS, I believe.

For now, adding:

CFLAGS+=-D_WIN32

to the top of Makefile.common might work.

Unfortunately, that won't fix the bug because later on it says:

CFLAGS=-O2 -Wall

which will ignore the existing value of CFLAGS.  The best fix for cygwin and
newConf2 is to change the line in the ifdef BUILDING_HOST_UTILS section to be

CFLAGS+=-O2 -Wall

Also, it bears frequent repeating to say that if you are using cygwin and
want to try brickOS you should install the pre-built Hitachi tools rather
than try to build the cross-compiler yourself.  It is *much* easier.

http://semiconductor.hitachi.com/tools/2000r1_i686-cygwin32-x-h8300-hms.zip

Then, once you've done a successful make in the brickOS root, the simplest
way to edit, compile, and download brickOS programs under cygwin is to use
BricxCC.

John Hansen



Message is in Reply To:
  Re: Installing BrickOS 0.2.6.09.newConf2
 
(...) Its a bug, fixed in the cvs version of brickOS, I believe. For now, adding: CFLAGS+=-D_WIN32 to the top of Makefile.common might work. I can't test it, because I don't have the h8300 compiler set up at the moment. -- Max. (22 years ago, 24-Nov-02, to lugnet.robotics.rcx.legos)

3 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