From mboxrd@z Thu Jan 1 00:00:00 1970 From: Avi Kivity Subject: Re: [PATCH] [RESEND] Add cross compile to top level configuration file Date: Tue, 16 Oct 2007 21:58:04 +0200 Message-ID: <471517CC.6090101@qumranet.com> References: <1192475533.5811.6.camel@thinkpad> <4713C9D5.3070001@codemonkey.ws> <1192480549.5811.27.camel@thinkpad> <4713D2BD.9040202@codemonkey.ws> <1192504130.5811.49.camel@thinkpad> <47148B90.2020607@qumranet.com> <1192561708.6079.11.camel@thinkpad> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: kvm-devel To: jyoung5-r/Jw6+rmf7HQT0dZR+AlfA@public.gmane.org Return-path: In-Reply-To: <1192561708.6079.11.camel@thinkpad> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Errors-To: kvm-devel-bounces-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: kvm.vger.kernel.org Jerone Young wrote: > >>> while [[ "$1" = -* ]]; do >>> opt="$1"; shift >>> @@ -48,11 +45,17 @@ while [[ "$1" = -* ]]; do >>> want_module= >>> ;; >>> --qemu-cc) >>> - qemu_cc="$arg" >>> + cc="$arg" >>> >>> >> This forces everything to be compiled with $cc, not just qemu? Or is >> the kernel/ dierctory not affected by this? >> > > I can create two but it will make things very complicated. This only > will effect the qemu and user directory, but not the kernel directory. > Currently kernel directory is used for headers by these two. > > If a user wants to change this they can run the configure script in user > directory manually. > > Really I can just change it to just the option is --cc and remove the > qemu part. That actually makes more since. > > Otherwise you end up with something more complicated like having to > specify which one needs the cross compiler and not, which need this > specific gcc, just bad. Really you should be compiling both with the > same gcc anyway. If you want to do something different then you really > should go into both directories and run configure stand alone. > So long as the kernel isn't affected I don't mind a common cc for user/ and qemu/. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/