[MacPorts] #50953: gambit-c @4.7.6 Change compiler and add desirable ./configure option
MacPorts
noreply at macports.org
Thu Mar 24 12:05:36 PDT 2016
#50953: gambit-c @4.7.6 Change compiler and add desirable ./configure option
--------------------------+--------------------------------
Reporter: macports@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.3.4
Resolution: | Keywords: haspatch
Port: gambit-c |
--------------------------+--------------------------------
Comment (by macports@…):
Thanks Ryan for your comments. Indeed, I did not know the rationale
behind the choice of default C compiler in macports.
I have tested the gcc5 compiler (macports-gcc-5) by compiling the gambit
package itself, and by then using that gambit and the gcc5 compiler to
compile some little scheme programs, and it seems to work well. I feel
pretty strongly that the benefits of using this compiler with the
"--enable-single-host" configuration option are worth pursuing.
Perhaps we could compromise by: (1) switching the configure.compiler
option to specify "macports-gcc-5", and (2) adding that compiler as a
dependent? This way I assume that the compatible version of libgcc_s will
exist on the user's system. Additionally, a “notes” section could be
added to the Portfile explaining that an atypical compiler is recommended
for this package.
I have made these changes, and uploaded the new .diff file for your
perusal.
With regard to your comments regarding C++…
From upstream:
http://gambitscheme.org/wiki/index.php/Configure_script_options :
“The option --enable-cplusplus should be used when applications developed
with the Gambit-C compiler are to be linked with code or libraries written
in C++. This will compile all of the Gambit-C source code with a C++
compiler instead of a C compiler (this is possible because the code
generated by the Gambit-C compiler conforms both to C and C++).”
I have wrapped this option into a new variation (called: “cpp”).
--
Ticket URL: <https://trac.macports.org/ticket/50953#comment:2>
MacPorts <https://www.macports.org/>
Ports system for OS X
More information about the macports-tickets
mailing list