[PATCH][Ada] PR ada/5911 Enable multilib build for Ada
Eric Botcazou
ebotcazou@adacore.com
Fri Sep 26 11:13:00 GMT 2008
> 2008-09-18 Laurent Guerby <laurent@guerby.net>
>
> PR ada/5911
> * gcc-interface/Makefile.in: Add multilib handling for x86_64
> and sparc.
> * system-linux-sparcv9.ads: New file.
Here's the patch actually enabling multilib on SPARC/Solaris:
(botcazou@congo) ~ $ gnatmake ma -q -f
(botcazou@congo) ~ $ file ma
ma: ELF 32-bit MSB executable SPARC32PLUS Version 1, V8+ Required,
dynamically linked, not stripped
(botcazou@congo) ~ $ gnatmake ma -q -f -m64 --RTS=sparcv9
(botcazou@congo) ~ $ file ma
ma: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically
linked, not stripped
Tested on Solaris 9, applied on the mainline.
2008-09-26 Eric Botcazou <ebotcazou@adacore.com>
PR ada/5911
* gcc-interface/Makefile.in (SPARC/Solaris): Add multilib support.
--
Eric Botcazou
-------------- next part --------------
A non-text attachment was scrubbed...
Name: p.diff
Type: text/x-diff
Size: 923 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20080926/823dd1b1/attachment.bin>
More information about the Gcc-patches
mailing list