delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/21/01:19:47

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
content-class: urn:content-classes:message
MIME-Version: 1.0
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 AT kpit DOT com>
To: <crossgcc AT sources DOT redhat DOT com>, <cygwin AT cygwin DOT com>
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 AT sourceware DOT cygnus DOT 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019