Subject:
|
Re: Cross-machine cross-compiling
|
Newsgroups:
|
lugnet.robotics.rcx
|
Date:
|
Thu, 3 Oct 2002 06:04:25 GMT
|
Viewed:
|
2780 times
|
| |
| |
I have tried posting about the pre-built tools for Win32-cygwin before,
however, I think the person I was talking to was too frustrated by then to
try it.
If you head over to the hitachi web site, they have a link for third party
compilers. They happen to have a pre-built cygwin version of GCC (2.95 I
believe). This is a good option for people (like myself) that have never
been able to compile a complete toolchain/compiler from the sources.
Now, I did have to monkey around with the file names. Originally, I just
changed the Makefile to use the prefix h8300-hms instead of the default...
but since I am constantly downloading the latest BrickOS sources, I opted to
rename the .exe files to h8300-hitachi-hms...
Here is the link to the file:
http://semiconductor.hitachi.com/tools/2000r1_i686-cygwin32-x-h8300-hms.zip
Here is the page that the link appears on (note: it took me 40 minutes to
find this page, I don't know why they bury it so deep!):
http://semiconductor.hitachi.com/tools/software_downloads.html
Also, you may need to update your path so that the .exe files can be found.
I hope you are able to get BrickOS working with this setup. Let me know if
you have trouble.
// Joe
"Liam Fry" <wtf@nyc.rr.com> wrote in message
news:3D9B7003.2871E548@nyc.rr.com...
> No matter how hard I try - or how many different "this is how to do
> legOS under Win32" web sites I visit - I cannot get legOS and its
> associated cross-compiler to build. The stuff from brickOS dies during
> the make process because of "missing" include files. I've been trying
> for three weeks with no success. I've finally given up and downloaded
> RPM's of the pre-built tools for Linux. (I'm using RH 7.1) legOS build
> without a single problem.
>
> But here's the rub. I cannot get the USB tower (from RIS 2.0) to work
> under Linux. I've downloaded/built/installed LegoUSB, but no luck. So
> I came upon the "brilliant" (read: hack) idea of developing/compiler on
> my Linux box, then copying the 'lx' file to my Win98SE box and using
> leJOS's tools for the IR transfer. Well, 'lejosfirmdl' works like a
> dream - the legOS.srec transfers flawlessly. But when I use 'lejosrun'
> to download an 'lx' file, the whole thing craps out. I figured it's
> because legOS uses its own protocol for downloading programs to the RCX.
>
> So I got another "brilliant" idea (read: still a hack) - what if I use
> the pre-built legOS tools from the legOS-DJGPP pre-built binaries (in
> legostools.zip). Well, firmdl3/dll (from this version) does NOT
> recognize the USB tower.
>
> So, I can finally build legOS programs but there's no way for me to get
> them onto my RCX. Can anyone help?
>
|
|
Message is in Reply To:
| | Cross-machine cross-compiling
|
| No matter how hard I try - or how many different "this is how to do legOS under Win32" web sites I visit - I cannot get legOS and its associated cross-compiler to build. The stuff from brickOS dies during the make process because of "missing" (...) (22 years ago, 2-Oct-02, to lugnet.robotics.rcx)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|