Message-ID: <45D19665.5080001 at rftp.com> Date: Tue, 13 Feb 2007 02:43:49 -0800 From: Robert Roessler Organization: Robert's High-performance Software MIME-Version: 1.0 To: LablGTK List Subject: Re: Building from source on FC6? References: <45D17FA9.9020308 at rftp.com> In-Reply-To: <45D17FA9.9020308 at rftp.com> Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Length: 1115 Robert Roessler wrote: > ... > But the configure script fails miserably, apparently getting so messed > up because of some warnings from gcc (which is 4.1.1 by default?) NOT > liking some "-mcpu" switch. Naturally, I have no clue where this switch > is even coming from... sigh. Hah! That was not too bad - just avoid having the script try to figure out which C compiler is being used: TELL it to use gcc by setting the CC env var before running configure. ;) OTOH, since the spot where the trouble starts looks like touch conftest.c CC=$($CAMLC -verbose -c conftest.c 2>&1 | sed 's/^+ \([^ ]*\) .*$/\1/') echo OCaml uses $CC to compile C files and this ends up spitting out "OCaml uses gcc `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead. to compile C files" WITHOUT OCaml saying to use this option on its constructed command lines, then "-mcpu=..." is being pulled from *somewhere*. Sigh. So the "make all" and "make opt" proceed almost normally - other than the C compiles having this "deprecated" warning all the time. Robert Roessler robertr@rftp.com http://www.rftp.com