/usr/share/gprconfig/vx6.ent is in gprbuild 2017-5.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 | <!ENTITY version_from_wind_base
'<version>
<getenv name="WIND_BASE"></getenv>
<grep regexp=".*[/\\](vxworks-6[0-9.]*).*" group="1"></grep>
<must_match>vxworks-6.*</must_match>
</version>'
>
<!ENTITY runtimes_vx6
'<runtimes>kernel,kernel-smp,kernel-sjlj,rtp,rtp-smp</runtimes>'
>
<!ENTITY gnat_pre_6.4
'<compiler language="Ada" version="3.16" />
<compiler language="Ada" version="5.00" />
<compiler language="Ada" version="5.01" />
<compiler language="Ada" version="5.02" />
<compiler language="Ada" version="5.03" />
<compiler language="Ada" version="5.04" />
<compiler language="Ada" version="6.0" />
<compiler language="Ada" version="6.1" />
<compiler language="Ada" version="6.2" />
<compiler language="Ada" version="6.3" />
<compiler language="Ada" version="6.4" />'
>
<!ENTITY if_gnat_pre_6.4
'<compilers>
<compiler language="Ada" />
</compilers>
<compilers>
&gnat_pre_6.4;
</compilers>'
>
<!ENTITY if_gnat_post_6.4
'<compilers>
<compiler language="Ada" />
</compilers>
<compilers negate="true" >
&gnat_pre_6.4;
</compilers>'
>
<!ENTITY config_rtp_cflags
'<config>
package Compiler is
for Leading_Required_Switches ("C") use
Compiler ' Leading_Required_Switches ("C") & ("-mrtp")
& ("-I" & Wind_Base & "/target/usr/h",
"-I" & Wind_Base & "/target/usr/h/wrn/coreip");
end Compiler;
package Compiler is
for Leading_Required_Switches ("C++") use
Compiler ' Leading_Required_Switches ("C++") & ("-mrtp")
& ("-I" & Wind_Base & "/target/usr/h",
"-I" & Wind_Base & "/target/usr/h/wrn/coreip");
end Compiler;
</config>'
>
<!ENTITY config_kernel_cflags
'<config>
package Compiler is
for Leading_Required_Switches ("C") use
Compiler ' Leading_Required_Switches ("C")
& ("-I" & Wind_Base & "/target/h",
"-I" & Wind_Base & "/target/h/wrn/coreip");
end Compiler;
package Compiler is
for Leading_Required_Switches ("C++") use
Compiler ' Leading_Required_Switches ("C++")
& ("-I" & Wind_Base & "/target/h",
"-I" & Wind_Base & "/target/h/wrn/coreip");
end Compiler;
</config>'
>
<!ENTITY config_wrs_ar
'<config>
for Archive_Builder use ("ar" & "&this_gnu_wrs_suffix;", "cr");
for Archive_Builder_Append_Option use ("q");
for Archive_Indexer use ("ranlib" & "&this_gnu_wrs_suffix;");
for Archive_Suffix use ".a";
</config>'
>
<!ENTITY configurations_vx6
'
<configuration>
&if_gnat_pre_6.4;
&if_this_target;
&config_wrs_ar;
</configuration>
<configuration>
&if_gnat_post_6.4;
&if_this_target;
&config_gnat_ar;
</configuration>
<configuration>
&if_no_ada;
&if_this_target;
&config_gnat_ar;
</configuration>
<configuration>
&if_rtp;
&if_this_target;
&config_rtp_cflags;
</configuration>
<configuration>
&if_kernel;
&if_this_target;
&config_kernel_cflags;
</configuration>'
>
|