This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] Addition of new option '--rlib' in linker for Renesas SH targets
- From: "Gina Verlekar" <GinaV at KPITCummins dot com>
- To: "Pedro Alves" <pedro_alves at portugalmail dot pt>
- Cc: <binutils at sourceware dot org>
- Date: Tue, 4 Jul 2006 13:51:13 +0530
- Subject: Re: [PATCH] Addition of new option '--rlib' in linker for Renesas SH targets
Hi,
>You could instead have (simplified):
>rlibextract $(renesaslib) $(outputdir)
>ar q librenlib.a $(outputdir)/*
>ld $(objects) -lrenlib
>rlibextract being your new tool.
>It would reduce code duplication,
>you would be able to maintain it with a different release cycle from
>binutils,
>*and* it could be used with older binutils versions.
>Wouldn't this be better? Or am I missing something?
Thank you for your suggestion.
We agree to you that a separate utility to generate a GNU archive from
Renesas library file is better idea. We will surely implement it. It
would
be better to invoke "ar" internally from this utility. This will help
user
to get GNU archive directly.
Regards,
Gina Verlekar
KPIT Cummins InfoSystems Ltd.
Pune, India
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas SH, H8, R8C, M16C and
M32C Series.
The following site also offers free technical support to its users.
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on June 1, 2006.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~