Quoting Ishwar Rattan <ishwar@xxxxxxxxxxxxx>: > try > -fno-builtins > hth > > On Wed, 12 Nov 2003 y2bismil@xxxxxxxxxxxxxxxxxxxx wrote: > > > > > > > Hi all, > > > > I know this is a long shot, but is there a way to "override" memset, > strcpy, and > > other c string functions without renaming their calls? > > > > Basically at link time, I want to use my own version of memset, strcpy and > a > > select few others. > > > > BTW are there any known problems with -minline-all-stringops. I tried that > and > > for some reason, I was still getting a function call for memset. > > > > Thanks, > > > > Yamin > > > > ---------------------------------------- > > This mail sent through www.mywaterloo.ca > > > Thanks for the help guys, The solution of simply providing another implementation in a c file as per Ian Taylor seemed to work fine :) I always expected such a thing to provided redefinition errors, but things have worked out very nicely. Yamin ---------------------------------------- This mail sent through www.mywaterloo.ca