(Created page with "== Problem == THe problem is classic chicken-egg problem. The gnat bootstrap has to be built with native gnat compilier, the compiler must have current or previous version (gn...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 3: | Line 3: | ||
== Solution == | == Solution == | ||
We've build native compiler using cross-compilation and rebuild gcc using the compiler on the native platform. RPMs can be found here: [ | We've build native compiler using cross-compilation and rebuild gcc using the compiler on the native platform. RPMs can be found here: [http://landgraf.fedorapeople.org/gnat_arm/ fedorapeople]. To make it in koji gnat* packages should be installed before gnat is build. The compliler should successfully rebuild gcc itself and packages from the Ada stack (xmlada and gprbuild at least). | ||
== Changes required == | |||
No major changes needed: | |||
* Add arm or %{arm} to the ada complilers list. | |||
* For current version (gcc-4.2) apply the [http://gcc.gnu.org/viewcvs/gcc?view=revision&revision=205681 patch] |
Latest revision as of 07:16, 9 December 2013
Problem
THe problem is classic chicken-egg problem. The gnat bootstrap has to be built with native gnat compilier, the compiler must have current or previous version (gnat 4.8 can be built using gnat 4.7 and so on). However Fedora ARM doesn't contain gnat compilers at all.
Solution
We've build native compiler using cross-compilation and rebuild gcc using the compiler on the native platform. RPMs can be found here: fedorapeople. To make it in koji gnat* packages should be installed before gnat is build. The compliler should successfully rebuild gcc itself and packages from the Ada stack (xmlada and gprbuild at least).
Changes required
No major changes needed:
- Add arm or %{arm} to the ada complilers list.
- For current version (gcc-4.2) apply the patch