2006-10-26 16:12:58 +00:00
|
|
|
<?xml version="1.0" ?>
|
|
|
|
|
<gprconfig>
|
|
|
|
|
<!-- This package provides the default standard options for a gcc
|
|
|
|
|
C++ compiler -->
|
|
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^G\+\+$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+_Pro$" language="C++" />
|
|
|
|
|
<compiler name="^GCC-CYGMING$" language="C++" />
|
|
|
|
|
<compiler name="^GCC-MINGW32$" language="C++" />
|
2006-10-26 16:12:58 +00:00
|
|
|
</compilers>
|
|
|
|
|
<config>
|
2007-07-12 15:27:08 +00:00
|
|
|
package Compiler is
|
2022-07-18 09:56:46 +02:00
|
|
|
for Driver ("C++") use "${PATH(c++)}${EXEC(c++)}";
|
2008-01-08 16:59:49 +00:00
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^G\+\+-WRS653-PPC$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS653-E500V2$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS5$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6E500V2$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6CERT$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6CERTE500V2$" language="C++" />
|
2010-06-02 19:39:02 +00:00
|
|
|
</compilers>
|
2008-01-08 16:59:49 +00:00
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
2010-10-04 09:44:38 +00:00
|
|
|
for Driver ("C++") use "${PATH(c++)}c++${PREFIX(c++)}";
|
2008-01-08 16:59:49 +00:00
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2016-10-03 22:57:48 +02:00
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^DIABC-PPC64$" language="C++" />
|
2016-10-03 22:57:48 +02:00
|
|
|
</compilers>
|
|
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
|
|
|
|
for Driver ("C++") use "${PATH(c++)}dcc";
|
|
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2018-06-10 21:08:36 +02:00
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2023-03-21 11:51:53 -04:00
|
|
|
<compiler name="CLANG-C\+\+" language="C++" />
|
2018-06-10 21:08:36 +02:00
|
|
|
<compiler name="LLVM" language="C++" />
|
|
|
|
|
</compilers>
|
|
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
2023-02-27 14:39:20 +01:00
|
|
|
for Driver ("C++") use "${PATH(c++)}${PREFIX(c++)}clang++";
|
2018-06-10 21:08:36 +02:00
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2008-01-08 16:59:49 +00:00
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^G\+\+$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+_Pro$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS653-PPC$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS653-E500V2$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6E500V2$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6CERT$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+-WRS6CERTE500V2$" language="C++" />
|
|
|
|
|
<compiler name="^GCC-CYGMING$" language="C++" />
|
2018-06-10 21:08:36 +02:00
|
|
|
<compiler name="^GCC-MINGW32$" language="C++" />
|
2008-01-08 16:59:49 +00:00
|
|
|
</compilers>
|
|
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
2009-03-17 21:53:19 +00:00
|
|
|
for Leading_Required_Switches ("C++") use
|
2013-10-08 20:56:23 +00:00
|
|
|
("-c", "-x", "c++") &
|
|
|
|
|
Compiler'Leading_Required_Switches ("C++");
|
2010-08-13 14:43:42 +00:00
|
|
|
for Dependency_Switches ("C++") use ("-MMD", "-MF", "");
|
2018-02-06 15:24:59 +01:00
|
|
|
for Include_Switches_Via_Spec ("C++") use ("cc1plus", "-I");
|
2016-03-11 17:42:28 -08:00
|
|
|
for Max_Command_Line_Length use "8192";
|
|
|
|
|
for Response_File_Format ("C++") use "GCC_GNU";
|
2007-07-12 15:27:08 +00:00
|
|
|
end Compiler;
|
2006-10-26 16:12:58 +00:00
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2018-06-10 21:08:36 +02:00
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2023-03-21 11:51:53 -04:00
|
|
|
<compiler name="CLANG-C\+\+" language="C++" />
|
2018-06-10 21:08:36 +02:00
|
|
|
<compiler name="LLVM" language="C++" />
|
|
|
|
|
</compilers>
|
|
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
|
|
|
|
for Leading_Required_Switches ("C++") use
|
|
|
|
|
("-c", "-x", "c++") &
|
|
|
|
|
Compiler'Leading_Required_Switches ("C++");
|
|
|
|
|
for Dependency_Switches ("C++") use ("-MMD", "-MF", "");
|
|
|
|
|
for Max_Command_Line_Length use "8192";
|
|
|
|
|
for Response_File_Format ("C++") use "GCC_GNU";
|
|
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2016-10-03 22:57:48 +02:00
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^DIABC-PPC64$" language="C++" />
|
2016-10-03 22:57:48 +02:00
|
|
|
</compilers>
|
|
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
|
|
|
|
for Leading_Required_Switches ("C++") use
|
|
|
|
|
Compiler'Leading_Required_Switches ("C++")
|
|
|
|
|
& ("-tPPCLP64FH:vxworks7",
|
|
|
|
|
"-c",
|
|
|
|
|
"-ffixed-r13",
|
|
|
|
|
"-Xclib-optim-off",
|
|
|
|
|
"-Xlocal-data-area-static-only",
|
|
|
|
|
"-Xc-new",
|
|
|
|
|
"-Xcode-absolute-far",
|
|
|
|
|
"-D_WRS_HARDWARE_FP",
|
|
|
|
|
"-DCPU=_VX_PPCE6500",
|
|
|
|
|
"-D_WRS_VX_SMP",
|
|
|
|
|
"-D_WRS_CONFIG_SMP");
|
|
|
|
|
for Dependency_Switches ("C") use
|
|
|
|
|
("-Xmake-dependency=6", "-Xmake-dependency-savefile=");
|
|
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2011-03-18 17:46:06 +00:00
|
|
|
<!-- G++-WRS5 does not support -MF switch -->
|
|
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^G\+\+-WRS5$" language="C++" />
|
2011-03-18 17:46:06 +00:00
|
|
|
</compilers>
|
|
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
|
|
|
|
for Leading_Required_Switches ("C++") use
|
|
|
|
|
Compiler'Leading_Required_Switches ("C++") &
|
|
|
|
|
("-c", "-x", "c++");
|
|
|
|
|
for Dependency_Switches ("C++") use ("-Wp,-MMD,");
|
|
|
|
|
for Include_Path ("C++") use "CPATH";
|
|
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2006-10-26 16:34:03 +00:00
|
|
|
<!-- Additional switches on some platforms -->
|
2006-10-26 16:12:58 +00:00
|
|
|
|
|
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^G\+\+$" language="C++" />
|
|
|
|
|
<compiler name="^G\+\+_Pro$" language="C++" />
|
2006-10-26 16:12:58 +00:00
|
|
|
</compilers>
|
2006-10-26 16:34:03 +00:00
|
|
|
<targets negate="true">
|
2009-01-26 22:47:49 +00:00
|
|
|
<target name="^.*LynxOS.*$" />
|
|
|
|
|
<target name="^.*mingw.*$" />
|
|
|
|
|
<target name="^.*cygwin.*$" />
|
|
|
|
|
<target name="^.*tru64.*$" />
|
2006-10-26 16:12:58 +00:00
|
|
|
</targets>
|
|
|
|
|
<config>
|
2007-07-12 15:27:08 +00:00
|
|
|
package Compiler is
|
|
|
|
|
for PIC_Option ("C++") use ("-fPIC");
|
|
|
|
|
end Compiler;
|
2006-10-26 16:12:58 +00:00
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2007-08-28 16:13:52 +00:00
|
|
|
<!-- in cygminw mode, make sure that the option -mno-cygwin is used -->
|
|
|
|
|
|
2007-04-11 18:00:22 +00:00
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^GCC-CYGMING$" language="C++" />
|
2007-04-11 18:00:22 +00:00
|
|
|
</compilers>
|
|
|
|
|
<config>
|
2007-07-12 15:27:08 +00:00
|
|
|
package Compiler is
|
2009-03-17 21:53:19 +00:00
|
|
|
for Leading_Required_Switches ("C++") use
|
|
|
|
|
Compiler'Leading_Required_Switches ("C++") & ("-mno-cygwin");
|
2007-07-12 15:27:08 +00:00
|
|
|
end Compiler;
|
2007-04-11 18:00:22 +00:00
|
|
|
</config>
|
|
|
|
|
</configuration>
|
2007-11-08 17:36:41 +00:00
|
|
|
|
|
|
|
|
<!-- this compiler is not compatible with GNAT's default zcx runtime -->
|
2007-11-15 17:51:53 +00:00
|
|
|
<configuration>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compilers><compiler name="^GNAT$" runtime="default" /></compilers>
|
2007-11-08 17:36:41 +00:00
|
|
|
<compilers>
|
2018-02-19 16:24:56 +03:00
|
|
|
<compiler name="^GCC-CYGMING$" language="C++" />
|
|
|
|
|
<compiler name="^GCC-CYGMING$" language="Fortran" />
|
|
|
|
|
<compiler name="^GCC-MINGW32$" language="C++" />
|
|
|
|
|
<compiler name="^GCC-MINGW32$" language="Fortran" />
|
2007-11-08 17:36:41 +00:00
|
|
|
</compilers>
|
|
|
|
|
<config></config>
|
|
|
|
|
</configuration>
|
2014-10-07 20:01:35 +00:00
|
|
|
|
2018-09-10 15:00:38 +02:00
|
|
|
<configuration>
|
|
|
|
|
<compilers>
|
|
|
|
|
<compiler name="^G\+\+_Pro$" runtime="^rtp$" />
|
|
|
|
|
</compilers>
|
|
|
|
|
<config>
|
|
|
|
|
package Compiler is
|
|
|
|
|
for Leading_Required_Switches ("C++") use
|
|
|
|
|
Compiler'Leading_Required_Switches ("C++") & ("-mrtp");
|
|
|
|
|
end Compiler;
|
|
|
|
|
</config>
|
|
|
|
|
</configuration>
|
|
|
|
|
|
2006-10-26 16:12:58 +00:00
|
|
|
</gprconfig>
|