This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Hello Mohammad, you can use ar (maybe h8300-elf-ar). You can use -d option to delete an object file from a library and some other optino to add new one. try this $ info binutils $ ar --help good luck. On Sun, 18 Nov 2001, Mohammad Saleem wrote: > 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 > > ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |