| delorie.com/archives/browse.cgi | search |
| From: | fesenko AT pacific DOT net DOT sg (Victor) |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Re: [Q] wrapping functions with linker |
| Date: | Sat, 16 Aug 1997 06:57:32 GMT |
| Organization: | Subscriber, Pacific Internet, Singapore |
| Lines: | 15 |
| Message-ID: | <33f54e90.1752245@news.pacific.net.sg> |
| References: | <5stvfi$ffm$1 AT newton DOT pacific DOT net DOT sg> <33F43A43 DOT 6E6EF6B2 AT Mathematik DOT TU-Chemnitz DOT DE> |
| NNTP-Posting-Host: | dyn72ppp202.pacific.net.sg |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
On Fri, 15 Aug 1997 13:15:15 +0200, Robert Hoehne <Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE> wrote: >What do you mean with "substituting in my source and some of >the libarries" ? As far as understand this switch of ld, you have >nothing to substitute, but only to provide your wrapper functions >and then link with the --wrap option. I meant writing #define malloc(a) mymalloc(a) in the library's header and recompiling it (and of course, providing mymalloc() function which will substitute malloc()). Victor.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |