Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@sources.redhat.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@sources.redhat.com>
List-Help: <mailto:cygwin-help@sources.redhat.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@sources.redhat.com
Delivered-To: mailing list cygwin@sources.redhat.com
content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Subject: RE:Subject: replacing a function from libc.a 
X-MimeOLE: Produced By Microsoft Exchange V6.0.4417.0
Date: Wed, 21 Nov 2001 11:46:58 +0530
Message-ID: <97AA06615400F34AB695F23CE3D42E9131E77B@sohm.kpit.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: RE:Subject: replacing a function from libc.a 
Thread-Index: AcFyVJL6FDW43941EdWMwACAX/50Xw==
From: "Arati Dikey" <AratiD@kpit.com>
To: <crossgcc@sources.redhat.com>, <cygwin@cygwin.com>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fAL6JhB12736

Mohammad,
you can use the 'ar' utility from h8300 toolchain (h8300-coff-ar) and 
add /remove /replace any .o file in the library.

Arati Dikey


>Hi all,

>I have built cross compiler for H8300.
>I am linking the target application with the lib libc.a built along
with 
>cross compiler.
>Now I want to replace a function say realloc from libca. and want to
add 
>my own implementation to libc.a.
>One way can be that I replace the realloc.c file with my own realloc.c 
>and built newlib again. But this is time consuming process. I wonder if

>there is other way to replace realloc.o with my realloc.o to libc.a

>Any help in this regard.

>regards
>/Mohammad


------
Want more information?  See the CrossGCC FAQ,
<http://www.objsw.com/CrossGCC/>
Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

