We decided a long time ago that using the compiler as the linker was necessary to<div>assure that compiler libraries were picked up. I was asked to remove those options</div><div>to cut down on people screwing themselves. Do we need another linker?</div>
<div><br></div><div>Our conceptual model is currently:</div><div><br></div><div> compiler/linker which should generate things that run unless we are in batch mode</div><div><br></div><div> archiver</div><div><br></div><div>
shared linker</div><div><br></div><div> dynamic linker</div><div><br></div><div> Matt<br><br><div class="gmail_quote">On Thu, Jun 17, 2010 at 5:08 PM, Barry Smith <span dir="ltr"><<a href="mailto:bsmith@mcs.anl.gov">bsmith@mcs.anl.gov</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><br>
Matt,<br>
<br>
It is a good thing you don't come to the new building at the lab, because I would throw you off the top balcony down to the stones. Then I would haul your carcass back up seven flights of stairs and throw you down a second time.<br>
<br>
BuildSystem seems to assume that the C compiler (and also c++ compiler) are ALWAYS also used as the C and C++ linker and there is no way to set a different linker and no way to even figure out how one can set a different linker. Why are the LD arguments commented out and never used?<br>
<br>
Barry<br>
<br>
<br>
<br>
help.addArgument('Compilers', '-CFLAGS=<string>', nargs.Arg(None, '', 'Specify the C compiler options'))<br>
help.addArgument('Compilers', '-CXX=<prog>', nargs.Arg(None, None, 'Specify the C++ compiler'))<br>
help.addArgument('Compilers', '-CXXFLAGS=<string>', nargs.Arg(None, '', 'Specify the C++ compiler options'))<br>
help.addArgument('Compilers', '-CXX_CXXFLAGS=<string>', nargs.Arg(None, '', 'Specify the C++ compiler-only options'))<br>
help.addArgument('Compilers', '-CXXCPPFLAGS=<string>', nargs.Arg(None, '', 'Specify the C++ preprocessor options'))<br>
help.addArgument('Compilers', '-FC=<prog>', nargs.Arg(None, None, 'Specify the Fortran compiler'))<br>
help.addArgument('Compilers', '-FFLAGS=<string>', nargs.Arg(None, '', 'Specify the Fortran compiler options'))<br>
<br>
## help.addArgument('Compilers', '-LD=<prog>', nargs.Arg(None, None, 'Specify the executable linker'))<br>
## help.addArgument('Compilers', '-CC_LD=<prog>', nargs.Arg(None, None, 'Specify the linker for C only'))<br>
## help.addArgument('Compilers', '-CXX_LD=<prog>', nargs.Arg(None, None, 'Specify the linker for C++ only'))<br>
## help.addArgument('Compilers', '-FC_LD=<prog>', nargs.Arg(None, None, 'Specify the linker for Fortran only'))<br>
help.addArgument('Compilers', '-LD_SHARED=<prog>', nargs.Arg(None, None, 'Specify the shared linker'))<br>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>
</div>