<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Well, the gsc from the pre-built calls gcc which on macos 10.9 seems to be clang in fact. HomeBrew provides a precompiled gambit actually and I do not know which compiler was used, likely clang.<div><br></div><div>Denis<br><div><br><div>> Subject: Re: [gambit-list] macos 10.9<br>> From: feeley@iro.umontreal.ca<br>> Date: Mon, 5 May 2014 15:11:44 -0400<br>> CC: gambit-list@iro.umontreal.ca<br>> To: denis.prog@hotmail.com<br>> <br>> <br>> On May 5, 2014, at 2:23 PM, Denis Fourt <denis.prog@hotmail.com> wrote:<br>> <br>> > To my surprise the HomeBrew gsc uses clang and not the gcc-4.2 though it was given the path at installation.<br>> > <br>> > Same gambit versions but different command lines !!!!!<br>> > <br>> > -fschedule-insns2 seems to be one part of the problem<br>> > <br>> > Thanks,<br>> > <br>> <br>> The problem is that the Gambit compiler installed by the prebuilt installer has been configured to use the C compiler that was used when building the installer.  Moreover the “preferred” C compiler when installing Gambit is not clearly defined.  A developper could in fact have different C compilers for different projects.  One approach would be to have a compiler switch to select the C compiler to use, with all of the necessary otions.  But this seems complex for a novice user to use.  People usually prefer when it “just works”.<br>> <br>> A simple solution would be to drop the use of -fschedule-insns2 so that clang will not raise an error if it is the C compiler that ends up being used.  That option is for performance reasons but as I recall it doesn’t improve performance by very much.<br>> <br>> Marc<br>> <br></div></div></div>                                      </div></body>
</html>