mirror of
https://github.com/AdaCore/gprbuild.git
synced 2026-02-12 12:30:13 -08:00
Don't use specs for vxworks compilers if gcc before 4.5
gcc before 4.5 require a special handling for spec files and line length limitation. This was implemented by checking the compiler version, which is gcc version in most cases; except on various vxworks platforms (vx6, vx653, vx6cert) where this is the OS version. This patch handles this special case. Merges eng/gpr/gprconfig_kb#8 into lts-20 TN: S205-010
This commit is contained in:
@@ -85,6 +85,20 @@
|
||||
<compiler version="^2\.\d+" />
|
||||
<compiler version="^3\.\d+" />
|
||||
<compiler version="^4\.[01234]" />
|
||||
<!--
|
||||
On VxWorks 6, 6 cert and 653, version is not the version of
|
||||
gcc but the version of the OS. All of these are using gcc
|
||||
that are older than 4.5, and we do not expect more releases
|
||||
for these products at this point. FTR, here are the most recent
|
||||
versions:
|
||||
- VxWorks Cert 6.6.4.1: 4.1.2
|
||||
- VxWorks 6.9: gcc 4.3.3
|
||||
- VxWorks 653 2.5.0.2: gcc 4.3.3
|
||||
- VxWorks 653 3.1.3: gcc 4.3.3.2
|
||||
-->
|
||||
<compiler version="^vxworks-6\.\d+" />
|
||||
<compiler version="^vxworks-cert-6\.\d+" />
|
||||
<compiler version="^vxworks653-.*" />
|
||||
</compilers>
|
||||
<config>
|
||||
package Compiler is
|
||||
@@ -105,6 +119,9 @@
|
||||
<compiler version="^2\.\d+" />
|
||||
<compiler version="^3\.\d+" />
|
||||
<compiler version="^4\.[01234]" />
|
||||
<compiler version="^vxworks-6\.\d+" />
|
||||
<compiler version="^vxworks-cert-6\.\d+" />
|
||||
<compiler version="^vxworks653-.*" />
|
||||
</compilers>
|
||||
<config>
|
||||
package Compiler is
|
||||
|
||||
Reference in New Issue
Block a user