Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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 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" To: , 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, 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/