Subject:
|
Re: binutils problem fixed
|
Newsgroups:
|
lugnet.robotics
|
Date:
|
Sun, 3 Jan 1999 02:16:27 GMT
|
Viewed:
|
1616 times
|
| |
 | |
John A. Tamplin <lego-robotics@crynwr.com> wrote:
> Many thanks to those of you that sent a compiled copy of kmain, I was
> able to determine where the error was. If you are trying to run binutils
> on a machine that has char as an unsigned type, you will have the same
> problem. I remember at least one person on this list saying they had
> problems with binutils on SGI, and I am sure it is the same problem. The
> fix is simple (relative to binutils-2.9.1):
>
> gas/config/tc-h8300.c lines 924 and 1110
> change (char) to (signed char)
I am the one (or one of them anyways) who had problems on SGI machines.
Your fix improved things but did not fix them completely. The disassembler
was also broken, and was still broken after making your change.
You did inspire me, however. Many compilers have a switch to make chars
either default signed or default unsigned. An invocation of this switch
seems to have fixed everything. Finally, I was able to disassemble, hack,
and recompile the standard firmware on my local machine.
Thank you for your fix. I will try the same with gcc, then maybe I will be
able to use the machine on my desk as opposed to some remote machine where
I have a paltry 10 MB quota and have to use /tmp to compile tools.
-Kekoa
|
|
Message has 1 Reply:  | | Re: binutils problem fixed
|
| (...) GCC compiles fine. I don't know if -fsigned-char made a difference, since I didn't even try to compile GCC previously knowing that it would have been useless without a working assembler. -Kekoa (26 years ago, 3-Jan-99, to lugnet.robotics)
|
Message is in Reply To:
 | | binutils problem fixed
|
| Many thanks to those of you that sent a compiled copy of kmain, I was able to determine where the error was. If you are trying to run binutils on a machine that has char as an unsigned type, you will have the same problem. I remember at least one (...) (26 years ago, 3-Jan-99, to lugnet.robotics)
|
3 Messages in This Thread:     
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|