Subject:
|
C Compiler for Windows 98
|
Newsgroups:
|
lugnet.robotics.rcx.legos
|
Date:
|
Sun, 24 Nov 2002 17:25:32 GMT
|
Viewed:
|
3090 times
|
| |
| |
I have been using NQC for some time now and would like to move up to C++
programing with LegOS or BrickOS. I have spent many hours following the
instructions on http://brickos.sourceforge.net/docs/INSTALL-cygwin.html
without success in getting a working system.
I have decided to try WinLegOS as suggested in the instructions as an
alternative. I have been able to load and run the program including being
able to download working demo programs to my RCX.
My problem now is that I don't seem to have a Complier to compile my C++
programs. I write a program and save it as myProgram.c then when I run
"make myProgram.lx" I get a myProgram.o file but no .lx file.
Reading the instructions at www.noga.de/LegOS it appears that I need a
special Compiler for Windows. When I click on the link to apparently
download the compiler with instructions I get nothing. Apparently the link
is broken.
Could someone direct me to somwhere that I might get a C++ compiler for
Windows that would work with LegOS.
Thanks much
Richard
|
|
Message has 3 Replies: | | Re: C Compiler for Windows 98
|
| I don't know if this will help you at all, but, I found that C progams need all the variables declared at the beggining of the program, and this became quite annoying because of my experence with C++. So I asked someone who might know... In BrickOS (...) (22 years ago, 24-Nov-02, to lugnet.robotics.rcx.legos)
| | | Re: C Compiler for Windows 98
|
| (...) Your compiler isn't the problem. The .o file is being generated by the compiler. Either the makefile is bad or makelx is barfing. Sorry if I can't help more, since I use Linux. Use cygwin - I think it's www.cygwin.com. (22 years ago, 24-Nov-02, to lugnet.robotics.rcx.legos)
| | | 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
|
|
|
|