[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Can't re-make 1.15.6
Guido Flohr wrote:
>Hi,
>
>On Mon, Feb 07, 2000 at 12:44:49AM -0600, Michael White wrote:
>> >Hello!
>> >
>> >> gcc: Internal compiler error: program ld got fatal signal 10
>> >
>> >Are you sure you use the latest ld from binutils 2.9.1 and the new
>> >libraries? Are you sure you converted all old libraries to the new format?
>>
>> Well, I upgraded gcc to 2.9.1, pl 66 (from Frank's FTP site). Still the
>> same thing. As for libraries, I grabbed the latest (as of last week) from
>> the SpareMiNT site (0.53-1). Do I need to convert these? If so, how
>> do I convert them?
>
>Even gcc 2.9.5 would work together with the old linker provided that the
>spec file matches your system.
>
>I would recommend the following: Check if all your libraries are in the
>new format:
>
> nm /usr/local/lib/lib*.a /usr/lib/lib*.a >/dev/null
>
>Any errors? Rename old libraries so that they won't get linked.
Well, I would rename them, except I get the following error for
-every- library file gives this error:
nm: /usr/lib/libcurses.a: File format not recognized
This includes the libraries I downloaded a week or so ago from the
SpareMiNT site. Those were dated late August, 1999. This is the same
approximate date as "nm".
>Cut and paste the command line that links the MiNT kernel together.
>Replace "gcc" with "gcc -v" and watch out for the linker command line that
>it displays. Does it use the correct linker? Does the spec file gcc
>actually uses match your version (see the first line, the path should have
>"2.9.1" in it).
I didn't do this, but did the simple test below:
>Try to compile a simple
>
> gcc -mshort -c hello.c -o hello.o
> gcc -v -o hello hello.o -lc16
>
>See the "-lc16" above. If it is missing in the command line you may get
>into problems.
Here's the output:
/home/root# gcc -mshort -c hello.c -o hello.o
/home/root# gcc -v hello.o -lc16 -o hello
Reading specs from /usr/local/lib/gcc-lib/m68k-atari-mint/egcs-2.91.66/specs
gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)
/usr/local/lib/gcc-lib/m68k-atari-mint/egcs-2.91.66/collect2 -o hello
/usr/local/lib/crt0.o
-L/usr/local/lib/gcc-lib/m68k-atari-mint/egcs-2.91.66
-L/usr/local/lib hello.o -lc16 -lc
collect2: ld terminated with signal 10 [Bus Error]
/home/root#
Well, not even this simple program will link (so here's a failing command
line for you, Frank :).
Well, I'm at a loss here. Little help, please? :/
Michael White (michael@fastlane.net)