* How to get autotools to use C++11 under 'danny'
@ 2014-10-17 16:47 Chris Tapp
2014-10-17 19:17 ` Maciej Borzecki
0 siblings, 1 reply; 3+ messages in thread
From: Chris Tapp @ 2014-10-17 16:47 UTC (permalink / raw)
To: Yocto Project
Does anybody know what I need to add to my configure.ac to get C++11 (or C++0x) support added to the gcc flags at compile time?
I've tried using:
AC_LANG([C++])
AC_PROG_CXX
AX_CXX_COMPILE_STDCXX_11([noext])
But that fails at configure time.
--
Chris Tapp
opensource@keylevel.com
www.keylevel.com
----
You can tell you're getting older when your car insurance gets real cheap!
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get autotools to use C++11 under 'danny'
2014-10-17 16:47 How to get autotools to use C++11 under 'danny' Chris Tapp
@ 2014-10-17 19:17 ` Maciej Borzecki
2014-10-17 20:53 ` Chris Tapp
0 siblings, 1 reply; 3+ messages in thread
From: Maciej Borzecki @ 2014-10-17 19:17 UTC (permalink / raw)
To: Chris Tapp; +Cc: yocto
On Friday 17 of October 2014 17:47:29 Chris Tapp wrote:
> Does anybody know what I need to add to my configure.ac to get C++11 (or
> C++0x) support added to the gcc flags at compile time?
>
> I've tried using:
>
> AC_LANG([C++])
> AC_PROG_CXX
> AX_CXX_COMPILE_STDCXX_11([noext])
>
> But that fails at configure time.
Care for posting how exactly that fails?
Besides AX_CXX_COMPILE_STDCXX_11 is part of autoconf-archive. Adding autoconf-
archive to DEPENDS might help. You could also dump the macro directly into say
m4 dir in your source package and add EXTRA_AUTORECONF_append = "-I${S}/m4"
the recipe.
--
Maciej Borzęcki
Senior Software Engineer Open-RnD Sp. z o.o.
www.open-rnd.pl, Facebook, Twitter
mobile: +48 telefon, fax: +48 42 657 9079
Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub
poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do
których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo
zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku
uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie
nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.
This message, including any attachments hereto, may contain privileged or
confidential information and is sent solely for the attention and use of the
intended addressee(s). If you are not an intended addressee, you may neither
use this message nor copy or deliver it to anyone. In such case, you should
immediately destroy this message and kindly notify the sender by reply email.
Thank you.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to get autotools to use C++11 under 'danny'
2014-10-17 19:17 ` Maciej Borzecki
@ 2014-10-17 20:53 ` Chris Tapp
0 siblings, 0 replies; 3+ messages in thread
From: Chris Tapp @ 2014-10-17 20:53 UTC (permalink / raw)
To: Maciej Borzecki; +Cc: yocto
On 17 Oct 2014, at 20:17, Maciej Borzecki <maciej.borzecki@open-rnd.pl> wrote:
> On Friday 17 of October 2014 17:47:29 Chris Tapp wrote:
>> Does anybody know what I need to add to my configure.ac to get C++11 (or
>> C++0x) support added to the gcc flags at compile time?
>>
>> I've tried using:
>>
>> AC_LANG([C++])
>> AC_PROG_CXX
>> AX_CXX_COMPILE_STDCXX_11([noext])
>>
>> But that fails at configure time.
> Care for posting how exactly that fails?
Ah - I meant to say "with a syntax error" !
> Besides AX_CXX_COMPILE_STDCXX_11 is part of autoconf-archive. Adding autoconf-
> archive to DEPENDS might help. You could also dump the macro directly into say
> m4 dir in your source package and add EXTRA_AUTORECONF_append = "-I${S}/m4"
> the recipe.
Thanks, I'll have a look at that. In the mean time I've added CFLAGS+=" -std=c++x0" to get me going.
>
> --
>
> Maciej Borzęcki
> Senior Software Engineer Open-RnD Sp. z o.o.
> www.open-rnd.pl, Facebook, Twitter
> mobile: +48 telefon, fax: +48 42 657 9079
>
> Niniejsza wiadomość wraz z załącznikami może zawierać chronione prawem lub
> poufne informacje i została wysłana wyłącznie do wiadomości i użytku osób, do
> których została zaadresowana. Jeśli wiadomość została otrzymana przypadkowo
> zabrania się jej kopiowania lub rozsyłania do osób trzecich. W takim przypadku
> uprasza się o natychmiastowe zniszczenie wiadomości oraz poinformowanie
> nadawcy o zaistniałej sytuacji za pomocą wiadomości zwrotnej. Dziękujemy.
>
> This message, including any attachments hereto, may contain privileged or
> confidential information and is sent solely for the attention and use of the
> intended addressee(s). If you are not an intended addressee, you may neither
> use this message nor copy or deliver it to anyone. In such case, you should
> immediately destroy this message and kindly notify the sender by reply email.
> Thank you.
--
Chris Tapp
opensource@keylevel.com
www.keylevel.com
----
You can tell you're getting older when your car insurance gets real cheap!
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2014-10-17 20:53 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-10-17 16:47 How to get autotools to use C++11 under 'danny' Chris Tapp
2014-10-17 19:17 ` Maciej Borzecki
2014-10-17 20:53 ` Chris Tapp
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.