|
|
|
|
|
|
|
|
|
|
xen-devel
Re: [Xen-devel] Build process
Keir Fraser wrote on 08/11/2004 08:05:
...
Would it be possible/safe to use something like 'CC ?= gcc' and
'HOSTCC ?= $(CC)' (I hope that does what I expect) in all the relevant
makefiles, so the compiler can be easily overriden? Or is there some
other solution that I've missed?
...
Have you tried tricks like creating a symlink in a local directory to
your preferred compiler and adding it to your PATH? e.g.,
# ln -sf `which ccache' gcc
# PATH=`pwd`:$PATH make
Ah, that worked (after I apparently fork-bombed my machine and also
corrupted python). But it turns out that Gentoo's Portage automatically
makes ccache handle calls to 'gcc' anyway, and the problems with GCC 3.4
were straightforward to fix (see patch at
http://zaynar.demon.co.uk/misc2/blkfront.patch - it needs inline
functions to be defined before they're first called).
I believe my attempt at a kernel ebuild is generally working (using the
2.0 source release plus the above patch for GCC 3.4), though currently
only for 2.6.9-xen0 and with a little too much manual intervention. It
also compiles the rest of Xen + tools + docs without any problems, but
doesn't quite know how to install them. Anyway, I should end up with
something useful soon, so I'd be interested to know if anybody with
Gentoo would be interested in testing/using it.
-- Keir
--
Philip Taylor
philip@xxxxxxxxxxxxxxxxxx
-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel
|
|
|
|
|