[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Native gcc 4.4.1 and binutils 2.19.1



Ok guys, I apologize for wasting your time and in the same time I must
thank Jean-François for bug report -- I know why it doesn't work, it's
me :) I wanted to be very smart and strip binaries in those archives
to decrease file sizes and guess what? I ran strip on everything --
binaries and libraries what led to ... right, stripped symbols from
libs, i.e. gcc was unable to find them. I just uploaded new archives,
with stripped only executable files, it should work now (it worked,
both plain and 68020-60). I'm sorry for such lameness and
Jean-François, once again thanks for reporting that!

Btw, I've got such feeling stripping is allowed also on libs but one
must use another switch (i.e. not strip -s libc.a but something else)
?

2009/8/5 Vincent Rivière <vincent.riviere@freesbee.fr>:
> Miro Kropacek a écrit :
>>
>> Any ideas how to discover more?
>
> First try this (you said it works).
> $ gcc -print-file-name=libgcc.a
>
> Then use nm to see if that libgcc.a contains the expected symbols.
> $ nm .../libgcc.a
>
> I got a similar problem recently with with different stuff. One library was
> present, but it was compiled natively instead of cross-compiled. So the
> cross-linker vas seeing the library, but not the symbols. This probably not
> the same problem, but who knows...
>
> --
> Vincent Rivière
>
>
>



-- 
MiKRO / Mystic Bytes
http://mikro.atari.org