public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-1673] [Ada] powerpc64-wrs-vxworks7r2: build shared libgnat
@ 2021-06-21 11:04 Pierre-Marie de Rodat
0 siblings, 0 replies; only message in thread
From: Pierre-Marie de Rodat @ 2021-06-21 11:04 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3045dd3c1769f9016a5d8f8ea3fd7e1f50a28232
commit r12-1673-g3045dd3c1769f9016a5d8f8ea3fd7e1f50a28232
Author: Frederic Konrad <konrad@adacore.com>
Date: Fri Nov 6 20:08:28 2020 +0100
[Ada] powerpc64-wrs-vxworks7r2: build shared libgnat
gcc/ada/
* Makefile.rtl: Compiles both static and dynamic libgnat for
powerpc64-wrs-vxworks7r2.
Diff:
---
gcc/ada/Makefile.rtl | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/gcc/ada/Makefile.rtl b/gcc/ada/Makefile.rtl
index 7f075c7f986..37311818778 100644
--- a/gcc/ada/Makefile.rtl
+++ b/gcc/ada/Makefile.rtl
@@ -1194,6 +1194,13 @@ ifeq ($(strip $(filter-out powerpc% wrs vxworks vxworksspe vxworks7% vxworks7spe
GCC_SPEC_FILES+=vxworks-cert-$(ARCH_STR)-link.spec
GCC_SPEC_FILES+=vxworks-smp-$(ARCH_STR)-link.spec
endif
+
+ ifeq ($(strip $(filter-out vxworks7r2 powerpc64 rtp rtp-smp, $(target_os) $(target_cpu) $(THREAD_KIND))),)
+ # Shared libraries are only supported on PowerPC64, VxWorks7r2
+ # ATM. Also this is disabled for kernel runtimes.
+ GNATLIB_SHARED = gnatlib-shared-dual
+ LIBRARY_VERSION := $(LIB_VERSION)
+ endif
endif
# PowerPC and e500v2 VxWorks 653
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-06-21 11:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-21 11:04 [gcc r12-1673] [Ada] powerpc64-wrs-vxworks7r2: build shared libgnat Pierre-Marie de Rodat
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).