Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Using particular gcc version to compile loop.o

3 views
Skip to first unread message

Phil H

unread,
Sep 1, 2006, 6:26:59 AM9/1/06
to
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?


How low will we go? Check out Yahoo! Messenger’s low PC-to-Phone call rates.

Jari Ruusu

unread,
Sep 1, 2006, 10:26:39 AM9/1/06
to
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/


0 new messages