Re: cpp cxx help - No thread API

2020-08-16 Thread Matt DeWall
ase try it: > > https://github.com/apache/incubator-nuttx/pull/1592/commits/79afeea64be227e218176805970cca1b2287ba29 > > > > -Original Message- > > From: Matt DeWall > > Sent: Sunday, August 16, 2020 2:28 AM > > To: dev@nuttx.apache.org > &

RE: cpp cxx help - No thread API

2020-08-16 Thread Xiang Xiao
> Only PMC/committer have the permission to update those repositories if > > I remember correctly, so we can manage github.com/nuttx using the same > > Apache process. > > > > > -Original Message- > > > From: Gregory Nutt > > > Sent: Saturda

Re: cpp cxx help - No thread API

2020-08-15 Thread Matt DeWall
at 8:24 PM Xiang Xiao wrote: > Only PMC/committer have the permission to update those repositories if I > remember correctly, so we can manage github.com/nuttx using the same > Apache process. > > > -Original Message- > > From: Gregory Nutt > > Sent: Saturday, Augu

RE: cpp cxx help - No thread API

2020-08-14 Thread Xiang Xiao
gt; Subject: Re: cpp cxx help - No thread API > > > > Guys, I think we should move your bitbucket libcxx to github.com/nuttx > > to make it more official. > > > > What do you think? Other (better) option should including official > > support to NuttX on llvm libcxx

RE: cpp cxx help - No thread API

2020-08-14 Thread Xiang Xiao
Yes, I will post the patch to llvm libcxx email list. > -Original Message- > From: Alan Carvalho de Assis > Sent: Saturday, August 15, 2020 3:23 AM > To: dev@nuttx.apache.org > Subject: Re: cpp cxx help - No thread API > > Guys, I think we should move your bitbucket

Re: cpp cxx help - No thread API

2020-08-14 Thread Gregory Nutt
Guys, I think we should move your bitbucket libcxx to github.com/nuttx to make it more official. What do you think? Other (better) option should including official support to NuttX on llvm libcxx. i would NEVER recommend github.com/nuttx for any significant use.  There are many people with

Re: cpp cxx help - No thread API

2020-08-14 Thread Alan Carvalho de Assis
>> -Original Message- >> From: Matt DeWall >> Sent: Friday, August 14, 2020 9:23 AM >> To: dev@nuttx.apache.org >> Subject: Re: cpp cxx help - No thread API >> >> Thanks Xiang. We're definitely getting closer, I now hit some conflicting >

RE: cpp cxx help - No thread API

2020-08-14 Thread Xiang Xiao
this automatically. > -Original Message- > From: Matt DeWall > Sent: Friday, August 14, 2020 9:23 AM > To: dev@nuttx.apache.org > Subject: Re: cpp cxx help - No thread API > > Thanks Xiang. We're definitely getting closer, I now hit some conflicting >

Re: cpp cxx help - No thread API

2020-08-13 Thread Matt DeWall
e[1]: *** [Makefile:80: algorithm.o] Error 1 make[1]: Leaving directory '/nuttx/nuttx/libs/libxx' make: *** [tools/LibTargets.mk:203: libs/libxx/libxx.a] Error 2 On Wed, Aug 12, 2020 at 8:55 PM Xiang Xiao wrote: > Matt, please try the attached workaround. I will provide the real &g

RE: cpp cxx help - No thread API

2020-08-12 Thread Xiang Xiao
Matt, please try the attached workaround. I will provide the real implementation later. > -Original Message- > From: Matt DeWall > Sent: Thursday, August 13, 2020 9:48 AM > To: dev@nuttx.apache.org > Subject: Re: cpp cxx help - No thread API > > I should add tha

Re: cpp cxx help - No thread API

2020-08-12 Thread Matt DeWall
>> so all boards support uClibc++/libc++ automatically >> >> Signed-off-by: Xiang Xiao >> Change-Id: Ibe6fafbec57f7acb26ea6188a3e9923ea82295c5 >> which is part of the work to make libc++/uCLibc++ available to all boards. >> >> > -Origina

Re: cpp cxx help - No thread API

2020-08-12 Thread Matt DeWall
> > Signed-off-by: Xiang Xiao > Change-Id: Ibe6fafbec57f7acb26ea6188a3e9923ea82295c5 > which is part of the work to make libc++/uCLibc++ available to all boards. > > > -Original Message----- > > From: Marc Rosen > > Sent: Wednesday, August 12, 2020 2:46 P

RE: cpp cxx help - No thread API

2020-08-12 Thread Xiang Xiao
: Xiang Xiao Change-Id: Ibe6fafbec57f7acb26ea6188a3e9923ea82295c5 which is part of the work to make libc++/uCLibc++ available to all boards. > -Original Message- > From: Marc Rosen > Sent: Wednesday, August 12, 2020 2:46 PM > To: dev@nuttx.apache.org > Subject: Re: cp

Re: cpp cxx help - No thread API

2020-08-11 Thread Marc Rosen
I should look more through before starting to say stuff. So most of the stuff I mentioned is moot because it was moved to a different place that I was not aware of. So Matt as Xiang mentioned the ARCHCXXFLAGS line should be enough. Importend is the define of __NuttX__ because it enables the neces

Re: cpp cxx help - No thread API

2020-08-11 Thread Marc Rosen
Hi, i did a curiosity check on this. No Make.defs for STM32 boards on master from some what yesterday evening (my localtime) has any include definitions for c++. So to help Matt. the following is from my current config add this to your Make.defs in your /nuttx/nuttx folder: ARCHINCLUDESXX += ${s

RE: cpp cxx help - No thread API

2020-08-11 Thread Xiang Xiao
Do you have this in your boards/Make.defs: ARCHCXXFLAGS += -D__NuttX__ -nostdinc++ Since there are many complex setting to make C++ library work on NuttX, but this setting spread in different Make.defs, I plan to enhance the experience in the next couple weeks(actually, all is done in our interna