[adtools] Re: changes to make the gcc buildsystem make shares objects automatically

  • From: "Henning Nielsen Lund" <hnl_dk@xxxxxxxxxx>
  • To: adtools@xxxxxxxxxxxxx
  • Date: Fri, 20 Jun 2008 23:45:24 +0200 (CEST)

>
>> Hello Henning,
>>
>> On Fri, 20 Jun 2008 00:27:33 +0200, Henning Nielsen Lund wrote:
>>
>> [...]
>>>> Henning, do you have any idea why our libgcc_s.so only contains 2 main
>>>> functions like __shlib_call_XXXXX while the linux version and every
>>>> other libgcc_s.so contains a lot more functions like Jörg has pointed
>>>> out?
>>>
>>> As there has not been set any defines... please unpack and try the
>>> attached gcc/gcc/config/t-amigaos file instead of the original one.
>>
>> Sorry, but it is still the same. The libgcc_s.so library does not
>> contain
>> any
>> of the required functions and is only 3515 bytes large here. And looking
>> at
>> your change, I feel adding all functions to ALL_CPPFLAGS isn't enough,
>> is
>> it?
>> Because normally "gcc/mklibgcc" should do the job of generating the
>> necessary
>> makefile stuff to automatically include all necessary functions. A
>> manual
>> definition of all functions like you did in ALL_CPPFLAGS is AFAICS not
>> correct.
>>
>> Any idea what's wrong and how we can finally fix the libgcc shared
>> build?
>
> The makefile is created via t-amigaos.
>
> It should not have been ALL_CPPFLAGS, I wil try to check where to set the
> difines this evening. Will work on it as soon as I get home from work.

Attached patch to /gcc/gcc/config/rs6000/t-amigaos

Now creates a 359 KB version of libgcc_s.so

If you delete libgcc_s.so and delete mklibgcc and run make again, then you
do not need to rebuild everything.

>> cheers,
>> jens
>> --
>> Jens Langner, Dresden/Germany
>> http://www.jens-langner.de/
>>
>> Optimization hinders evolution.
>>
>> ______________________________________________________________________________
>> Amiga Development tools ML - //www.freelists.org/list/adtools
>> Homepage...................: http://www.sourceforge.net/projects/adtools
>> Listserver help............:
>> mailto:adtools-request@xxxxxxxxxxxxx?Subject=HELP
>>
>>
>
>
> --
> 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
>
>


-- 
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...

Other related posts: