This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Undefined references to 'memcpy' when compiling Linux Kernel
* H . J . Lu (hjl@lucon.org) [20000618 01:01]:
> 1. Does it work with modules and module versioning?
It should, as it's exported without version, but I'll check to make sure.
> 2. How do I use the new compiler with the older kernels and drivers?
IMO for that to work, the memcpy 'expansion' would need to be teached honouring
-ffreestanding and then that flag would have to be used in the kernel
makefiles.
Philipp
--
Philipp Thomas <pthomas@suse.de>
Development, SuSE GmbH, Schanzaecker Str. 10, D-90443 Nuremberg, Germany
#define NINODE 50 /* number of in core inodes */
#define NPROC 30 /* max number of processes */
-- Version 7 UNIX for PDP 11, /usr/include/sys/param.h