<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>http://vrl.cs.brown.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=G_COMPILER</id>
	<title>G COMPILER - Revision history</title>
	<link rel="self" type="application/atom+xml" href="http://vrl.cs.brown.edu/wiki/index.php?action=history&amp;feed=atom&amp;title=G_COMPILER"/>
	<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=G_COMPILER&amp;action=history"/>
	<updated>2026-04-20T16:37:12Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>http://vrl.cs.brown.edu/wiki/index.php?title=G_COMPILER&amp;diff=4634&amp;oldid=prev</id>
		<title>Brad Berg: New page:  G_COMPILER = &amp;lt;Compiler Version&amp;gt;  This variable designates a compiler and version.  It can be set to:  &lt;pre&gt;    gcc         Gnu C/C++ with no suffix.    gcc2        Gnu C/C++ with a ...</title>
		<link rel="alternate" type="text/html" href="http://vrl.cs.brown.edu/wiki/index.php?title=G_COMPILER&amp;diff=4634&amp;oldid=prev"/>
		<updated>2010-11-19T16:36:05Z</updated>

		<summary type="html">&lt;p&gt;New page:  G_COMPILER = &amp;lt;Compiler Version&amp;gt;  This variable designates a compiler and version.  It can be set to:  &amp;lt;pre&amp;gt;    gcc         Gnu C/C++ with no suffix.    gcc2        Gnu C/C++ with a ...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt; G_COMPILER = &amp;amp;lt;Compiler Version&amp;amp;gt;&lt;br /&gt;
&lt;br /&gt;
This variable designates a compiler and version.  It can be set to:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
   gcc         Gnu C/C++ with no suffix.&lt;br /&gt;
   gcc2        Gnu C/C++ with a version 2 suffix (default is -2.95).&lt;br /&gt;
   gcc3        Gnu C/C++ with a version 3 suffix (default is -3.4).&lt;br /&gt;
   gcc4        Gnu C/C++ with a version 3 suffix (default is -4.1).&lt;br /&gt;
   gccx        Gnu C/C++ with a suffix specified by the GCCX_SUFFIX variable.&lt;br /&gt;
&lt;br /&gt;
   cl          Microsoft C/C++ with no suffix.&lt;br /&gt;
   cl6         Microsoft C/C++ version 6.&lt;br /&gt;
   cl7         Microsoft C/C++ version 7.&lt;br /&gt;
   cl8         Microsoft C/C++ version 8 (visual studio 2005).&lt;br /&gt;
   cl9         Microsoft C/C++ version 9 (visual studio 2008).&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The default suffixes for Gnu C/C++ can be overridden by setting:&lt;br /&gt;
&lt;br /&gt;
 GCC2_SUFFIX     Defaults to:  -2.95&lt;br /&gt;
 GCC3_SUFFIX     Defaults to:  -3.4&lt;br /&gt;
 GCC4_SUFFIX     Defaults to:  -4.1&lt;br /&gt;
 GCCX_SUFFIX     Has no default.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
It might be more convenient to set these variables outside the Makefile.  Users can set them in their environment or they can create the &amp;lt;code&amp;gt;common/build/site/site.make&amp;lt;/code&amp;gt; file to establish site specific variable settings.  For this reason it useful to set them in the Makefile using &amp;#039;&amp;#039;&amp;#039;&amp;quot;?=&amp;quot;&amp;#039;&amp;#039;&amp;#039; so they can be overridden with defaults that are dependent on the platform.  For example:&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
    ifeq ($(GARCH),linux)&lt;br /&gt;
        G_COMPILER ?= gcc4&lt;br /&gt;
    endif&lt;br /&gt;
    ifeq ($(GARCH),WIN32)&lt;br /&gt;
        G_COMPILER ?= cl9&lt;br /&gt;
    endif&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;/div&gt;</summary>
		<author><name>Brad Berg</name></author>
	</entry>
</feed>