597 | | '''Status:''' [wiki:LaurentGuerby LaurentGuerby] has implemented the multilib'ing of the Ada run-time libraries. gnatmake does not yet properly process -mcpu options like gcc so you have to use special command line options that make you way too aware of the multilib. |
| 597 | '''Status:''' [wiki:LaurentGuerby LaurentGuerby] has implemented the multilib'ing of the Ada run-time libraries. |
| 598 | * gnatmake does not yet properly process -mcpu options like gcc so you have to use special command line options that make you way too aware of the multilib. |
| 599 | |
| 600 | {{{ |
| 601 | You have to use --RTS together with -m for gnatmake |
| 602 | to work for non-default multilib: |
| 603 | |
| 604 | gnatmake $FLAGS --RTS=$(gcc -print-multi-directory $FLAGS) |
| 605 | }}} |
| 606 | |
| 607 | * There may as yet be target specific issues to work around where the same source file does not support all variants. |