| | Re: Makefile patch
|
|
Well problem 1, you need configure, not config. You may be interested in the attached script, which when invoked with the paths to unpacked binutils and gcc source directories, automates the process. Something like: ./build-h8x binutils-2.12 (...) (23 years ago, 16-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: Makefile patch
|
|
I can get binutils done, but in gcc make ALL_TARGET_MODULES="" and make INSTALL_TARGET_MODULES="" install do not work...they come up with errors. I'm using the most recent version of cygwin. As for the script, all I get is Building h8x tools from (...) (23 years ago, 17-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Makefile patch
|
|
(...) Ooops. Forgot to remove that before I sent it to you. Delete that line. (...) Well, I wrote the script, so I guess it makes sense to me. (...) True... BUT: You are using the cygwin versions of binutils and gcc. I don't know why, and don't have (...) (23 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Makefile patch
|
|
Well, after a fairly frustrating couple of days, I was finally able to build legOS-0.2.5 yesterday evening. I will get to the details in a minute. The whole experience made me question the stability of Cygwin/GCC. Basically, I tried at least 3 (...) (23 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: Makefile patch
|
|
I used binutils-2.12 and gcc-2.95.3 and Max Bowsher's build-h8x script. I got what I thought was a successful "ALL DONE" message, but I still can not make new .lx files for the RCX. Are there additional directories I need to add to my path...or (...) (23 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: Makefile patch
|
|
I just tried the 2000r1_i686-cygwin32...00-hms.zip and now I get "make: *** No rule to make target I think during my tinkering I'm after deleting some necessary makefile or something, if there's anyone who can pinpoint what I'm missing it would be (...) (23 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Makefile patch
|
|
Kingsley, I did encounter this error, but didn't specifically list the error in my description. You will need to: (...) *** this is the specific fix for "No rule to make target" (...) *** I included the following steps in case you run into these (...) (23 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: Makefile patch
|
|
Here's the latest on this end: I have some kind of incomplete cross compiler that I build using Max Bowsher's script.... I unpacked the legOS directory did 'make OSTYPE=cygwin' And now I can download helloworld (which is compiled for some reason) (...) (23 years ago, 18-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Makefile patch
|
|
(...) What makes you think it is incomplete. I have used that script to build a working cross-compiler for myself. (...) Well, you will need /h8x/bin in your path. Please post all errors you get using the cross tools you have built (not the (...) (23 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | RE: Makefile patch
|
|
I finally have everything working, here's what I did: Installed binutils and gcc with Max Bowsher's script. Extacted the /legOS directory CD to /legOS and 'make OSTYPE=cygwin' Export PATH=$PATH:/legOS/util Export PATH=$PATH:/h8x/bin Export (...) (23 years ago, 19-Apr-02, to lugnet.robotics.rcx.legos)
|
|
| | Re: Makefile patch
|
|
(...) Excellent! (...) OSTYPE=cygwin should no longer be needed with latest legOS. Max. (23 years ago, 20-Apr-02, to lugnet.robotics.rcx.legos)
|