[adtools] Re: use libgcc.so instead of libgcc_s.so

  • From: "Henning Nielsen Lund" <hnl_dk@xxxxxxxxxx>
  • To: adtools@xxxxxxxxxxxxx
  • Date: Tue, 8 Jul 2008 17:42:56 +0200 (CEST)

> Hi Jörg,
>
> Jörg Strohmayer schrieb:
>
>> 2008/7/8 Jens Langner <Jens.Langner@xxxxxxxxxxxxxx>:
>>
>>> Ok. I just tried adding "-dy" and "-Ttext=0x10000" manually to the
>>> LDFLAGS,
>>> however, the error is still the very same:
>>
>> Did you try already if it works using a copy of the 4.2.3 specs file
>> (ppc-amigaos-gcc -V4.2.3 -dumpspecs) with only the version changed to
>> 4.2.4?
>
> Yes, I just tried that but it is the very same. In fact I do need to add
> "-lgcc_eh" to the *libgcc entry in the specs file to remove some of the
> linker error about missing _Unwind_SjLj functions. But the I get the
> very same error like below and as soon as I add "-shared" to the
> command-line the link works and the binary works as expected.

If you need to link to libgcc_eh then you are linking with the static
version of libgcc, the functions of libgcc_eh are included in libgcc.so

But if the problem is properbly in the REAL... Define in amigaos.h

I am not near a computer until sunday so i am not able to look at it.

-- 
best regards,
hnl_dk - Henning Nielsen Lund

µA1-C (IBM PowerPC 750 FX V2.2 @ 800MHz), 256MB RAM, NEC ND-3500A DVD/CD
RW, Samsung SP1604N 160GB PATA Harddisk drive, Acer AL1721 17" TFT,
modified Tyan M2042 1->3 PCI Riser...

______________________________________________________________________________
Amiga Development tools ML - //www.freelists.org/list/adtools
Homepage...................: http://www.sourceforge.net/projects/adtools
Listserver help............: mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP

Other related posts: