|
Hello,
There is a line under Hitachi H8 tool prefix that goes like this:
HMSTOOLDIR=/usr/local/crossgcc. I changed it to HMSTOOLDIR=/usr/local and I
changed TOOLPREFIX=$(HMSTOOLDIR)/h8300-hitachi-hms/bin/h8300-hitachi-hms- to
TOOLPREFIX=$(HMSTOOLDIR)/h8300-hitachi-hms/bin. After looking through the
directories in Cygwin, I come up with the path above for gcc.exe. I executed
make depend and it completed successfully and when I executed make it almost
completed without errors. A quick question would be, I have a statement in
my makefile.common file that goes like this: SED_SFLAGS= There is nothing
after the equal sign. Is this correct? Also, when I execute Make, I come up
with the following errors:
make [1]: /usr/local/h8300-hitachi-hms/bin/objcopy: legos.coff: Invalid bfd
target (not sure what this means) At first it came up and said ....objcopy:
Command not found and I had to copy objcopy.exe from the Cygwin bin
directory to the USR bin directory. Not sure what is going on with that? It
seemed to work o.k. after that. Moving on to errors:
make [1]: ***[legos.srec] Error 1
rm legos.coff (Note error above)
make [1]: Leaving directory '/legos-0.2.6/boot'
make: ***[all] Error 2
When I execute Make Strip of course, it bombs miserably because I suspect of
the above errors. Again all your help would be much appreciated.
Rick Bonari
|
|
Message has 1 Reply: | | Re: Gcc Problems
|
| Rick, It sounds as if you have gcc working, however, the version of objcopy that you copied from another folder is incompatible with the hitachi h8 version of gcc. You need to have a special version of objcopy that is designed for the h8 (the RCX). (...) (22 years ago, 9-Oct-02, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|