From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jerome Brown Subject: Re: Build process Date: Wed, 10 Nov 2004 14:38:36 +1300 Message-ID: <4191711C.2070904@orcon.net.nz> References: <41914730.8070301@zaynar.demon.co.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <41914730.8070301@zaynar.demon.co.uk> Sender: xen-devel-admin@lists.sourceforge.net Errors-To: xen-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: xen-devel@lists.sourceforge.net List-Id: xen-devel@lists.xenproject.org I'm running Gentoo and would be very happy to test etc - I have been thinking about writing an ebuild myself, but haven't got around to it. If your interested, post on the Gentoo-Server mailing list and ask there there are a few interested parties from memory. Jerome Philip Taylor wrote: > 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 >> > ------------------------------------------------------- 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