|
I'm trying to get started with legOS but I'm having some trouble getting
things to link because I keep getting 'relocation truncated' errors. In
order to determine if its ld or gcc that's at fault, could someone with
a functional h8300-hitachi-hms-gcc compile the following short file and
e-mail me the resulting .o file? That way I'll be able to compare the
relocation info from a 'good' compiler against mine. dbaum@enteract.com
------
int foo()
{
int i;
for(i=0; i<10; ++i)
;
return 0;
}
-------
Thanks,
Dave
--
reply to: dbaum at enteract dot com
|
|
Message has 1 Reply: | | Re: debugging gcc or ld
|
| I found the problem. gcc hosted on LinuxPPC uses unsigned chars by default, and one of the h8300 support files for gas assumes signed chars. The bug fix was easy, but rather than take a chance on other lurking signed/unsigned errors, I just forced (...) (24 years ago, 29-May-00, to lugnet.robotics.rcx.legos)
|
2 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|