From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pete Popov To: crossgcc@cygnus.com Subject: Re: Date: Fri, 22 May 1998 09:56:00 -0000 Message-id: <3565ADA2.3C61295A@redcreek.com> References: <3561BA5A.B421C781@redcreek.com> X-SW-Source: 1998-q2/msg00079.html Thanks to everyone who responded to my mail. I now understand the "problem" and know how to fix it. Thanks again, Pete Pete Popov wrote: > Hi, > > I'm using a mips64 dos-hosted cross > compiler which I built on my Linux box. > The compiler has been working fine and > we haven't ran into any problems, but > there's something I don't understand and > it really frustrates me. > > I'm compiling all files with "-nostdinc" > switch; the files are later linked with > "-nostdlib". I've got my own version > of "memcpy" and a few other routines; > however, for some reason, the compiler > chooses to insert the standard libc > memcpy in some of the files. Thus, some > files get my version of memcpy, and > other get the libc version. There's is > no apparent difference in those files; > they include the same .h files, they are > compiled with the same switches, etc. > Any suggestions? > > Thanks, > > Pete