This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

No Subject




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