mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Ladislav Michl <ladis@linux-mips.org>
To: ptxdist@pengutronix.de
Subject: [ptxdist] [PATCH] [OSELAS.Toolchain] cross-gcc: add Objective-C option
Date: Fri, 10 Jan 2020 11:12:45 +0100	[thread overview]
Message-ID: <20200110101245.GA248867@lenoch> (raw)

Signed-off-by: Ladislav Michl <ladis@linux-mips.org>
---
 Hi,

 Objective-C is needed to cross compile GNUstep (GNUstep is needed
 to free myself from Qt and GTK ;-))

 rules/cross-gcc.in   | 14 ++++++++++++++
 rules/cross-gcc.make |  2 ++
 2 files changed, 16 insertions(+)

diff --git a/rules/cross-gcc.in b/rules/cross-gcc.in
index 5b2f356..76f82c7 100644
--- a/rules/cross-gcc.in
+++ b/rules/cross-gcc.in
@@ -131,6 +131,20 @@ config CROSS_GCC_LANG_JAVA
 	  As GCC is a compiler collection, it can support various languages.
 	  Select this for Java support
 
+config CROSS_GCC_LANG_OBJC
+	bool
+	prompt "Objective-C"
+	help
+	  As GCC is a compiler collection, it can support various languages.
+	  Select this for Objective-C support
+
+config CROSS_GCC_LANG_OBJCXX
+	bool
+	prompt "Objective-C++"
+	help
+	  As GCC is a compiler collection, it can support various languages.
+	  Select this for Objective-C++ support
+
 source "workspace/rules/cross-ecj.in"
 
 endif
diff --git a/rules/cross-gcc.make b/rules/cross-gcc.make
index 8dc77fd..d692476 100644
--- a/rules/cross-gcc.make
+++ b/rules/cross-gcc.make
@@ -125,6 +125,8 @@ CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_C)		+= c
 CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_CXX)		+= c++
 CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_JAVA)		+= java
 CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_FORTRAN)	+= fortran
+CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_OBJC)		+= objc
+CROSS_GCC_LANG-$(PTXCONF_CROSS_GCC_LANG_OBJCXX)		+= obj-c++
 
 CROSS_GCC_CONF_TOOL	:= autoconf
 CROSS_GCC_CONF_OPT	:= \
-- 
2.25.0.rc1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

                 reply	other threads:[~2020-01-10 10:12 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20200110101245.GA248867@lenoch \
    --to=ladis@linux-mips.org \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox