Re: Using particular gcc version to compile loop.o

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Phil H wrote:
> How do I tell make to use a particular gcc version on my machine (to match
> the one my running kernle was compiled with)?
> 
> I don't think there is a CC=gcc-x.xx line in the makefile. Do I just set a
> CC environment variable?

If you set CC=gcc-x.xx in your kernel Makefile, then it will be used
automatically. If you (or some build script) passed it as command line
parameter to your kernel build make command, then you need to add that same
CC=gcc-x.xx command line parameter to loop-AES build make command as well.
Additional ciphers package make command needs it too. Example:

 make LINUX_SOURCE=/usr/src/linux-foo KEYSCRUB=y CC=gcc-3.3

-- 
Jari Ruusu  1024R/3A220F51 5B 4B F9 BB D3 3F 52 E9  DB 1D EB E3 24 0E A9 DD

-
Linux-crypto:  cryptography in and on the Linux system
Archive:       http://mail.nl.linux.org/linux-crypto/


[Index of Archives]     [Kernel]     [Linux Crypto]     [Gnu Crypto]     [Gnu Classpath]     [Netfilter]     [Bugtraq]
  Powered by Linux