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 / 3001
3000  |  3002
Subject: 
Re: C Compiler for Windows 98
Newsgroups: 
lugnet.robotics.rcx.legos
Date: 
Mon, 2 Dec 2002 03:21:12 GMT
Viewed: 
3216 times
  
Thanks for the help!  Sorry, but I have been out of town for Turkey Day and
haven't had a chance to give it a try.  Now I'm back, and the hair (which
I've pulled out trying to get this thing to work) is starting to grow back
and I would really like to get this working.

I reloaded cygwin (with the modules listed at
http://brickos.sourceforge.net/docs/INSTALL-cygwin.html).  I then downloaded
the Hitachi H8 Tools zip file from the site you directed me to.  I unzipped
these into my cygwin directory.  I then used "tar xvfz" to extract
brickos-0.2.6.09.newConf2.tar.gz also into cygwin directory.  I then ran
./configure which seemed to work fine.  I went to edit my makefile.common as
you directed but could find nothing like CFLAG... or BUILDING_HOST... in it.
I then ran:

make realclean
make depend
make

without any apparent trouble.  When I ran "make strip" I got a
"fontdesign.exe: No such file or directory" error.

When I then attempt to download the kernel I get a "No such file or
directory error".

I am able to write a program and save in a directory as myCode/myProgram.c
(and save a copy of Makefile in the myCode directory).  I can then run "make
myProgram.lx" which seems to work and produces myProgram.lx and myProgram.o.

When I attempt to use "util/dll myCode/myProgram.lx" I again get a "No such
file or directory" error message.

I have added a path to
d:\cygwin;d:\cygwin\brickos-0.2.6.09.newConf2;d:\cygwin\brickos-0.2.6.09.newConf2\boot
in autoexec.bat

I have also tried using BricxCC 3.3.6.6.  With this I seem to be downloading
brickOS.srec but after it reaches the end gives a message that "download was
unsuccessful" although on the RCX it appears to have downloaded.

When I try to compile a C++ program with BricxCC I get a "Unable to create
process"  It appears to be attempting to make a .cmd file (shouldn't it be a
.lx) using bash but is unable to find bash.  Am I suppose to put a copy of
Bash in the BRICXCC directory?

I think I am getting closer but still have not got a successfully running
BrickOS.

Really appreciate any (more) help.

Richard Gildersleeve



Message is in Reply To:
  Re: C Compiler for Windows 98
 
(...) It is much simpler to download the pre-built Hitachi H8 tools than it is to try and build the cross-compiler under cygwin. (URL) them under your cygwin directory. Extract the brickOS release under cygwin. Run ./configure from the BASH shell (...) (22 years ago, 25-Nov-02, to lugnet.robotics.rcx.legos)

5 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