[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 Michael,
>
>On Wed, Feb 09, 2000 at 12:29:46AM -0600, Michael White wrote:
<snip>
>> >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
> ^^^^^^^^^^^^^^
>Probably wrong if you installed the mintlib-devel.rpm. This rpm installs
>everything (including startup files) in /usr, not /usr/local. You have to
>change your spec file
>(/usr/local/lib/gcc-lib/m68k-atari-mint/egcs-2.91.66/specs), but please do
>it with vi, not with qed.
>If you don't want to touch your spec file it may also be an option to
>merge your /usr/lib with /usr/local/lib (be sure not to overwrite new
>files) and then simply link the two directories together.
That was it! Thanks! (Gracias)(Domo Arigato)
Michael White (michael@fastlane.net)