[yocto] [meta-mingw][PATCH v2 2/2] cmake: add support for building nativesdk-cmake

2018-11-20 Thread Samuli Piippo
Build nativesdk-cmake and dependency libs without without openssl. Signed-off-by: Samuli Piippo --- recipes-devtools/cmake/cmake_%.bbappend | 7 +++ recipes-extended/libarchive/libarchive_%.bbappend | 1 + recipes-support/curl/curl_%.bbappend | 2 ++ 3 files changed

Re: [yocto] [meta-mingw][PATCH 2/2] cmake: add support for building nativesdk-cmake

2018-11-19 Thread Samuli Piippo
v 16, 2018 at 12:33 AM Samuli Piippo wrote: >> >> I've been testing cmake with Qt Creator integration which explicitly uses -G >> "MinGW Makefiles", while cmake defaults to NMake Makefiles. I'm not sure if >> it's possible to set generator in the to

Re: [yocto] [meta-mingw][PATCH 2/2] cmake: add support for building nativesdk-cmake

2018-11-16 Thread Samuli Piippo
November 2018 05:35:50 To: Samuli Piippo Cc: Yocto list discussion Subject: Re: [yocto] [meta-mingw][PATCH 2/2] cmake: add support for building nativesdk-cmake On Thu, Nov 15, 2018 at 7:22 PM Samuli Piippo wrote: > > Build nativesdk-cmake and dependency libs without without openssl. &

[yocto] [meta-mingw][PATCH] Remove security flags from GCCPIE

2018-11-15 Thread Samuli Piippo
GCCPIE defaults to "--enable-default-pie" in security_flags.inc, which breaks Windows binaries. Signed-off-by: Samuli Piippo --- conf/machine-sdk/include/mingw32-common.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/conf/machine-sdk/include/mingw32-common.inc b/conf/m

Re: [yocto] [meta-mingw][PATCH 1/2] winpthreads: use posix threads library from mingw64

2018-11-15 Thread Samuli Piippo
2/2 is also unrelated, there should 3 patches from me, sent at the same time. Don’t know where they got stuck. > On 15 Nov 2018, at 19.21, Burton, Ross wrote: > > I see 1/2 but no 2/2, presumably this missing patch is the PIE one? > > Ross >> On Thu, 15 Nov 2018 at

Re: [yocto] [meta-mingw][PATCH 1/2] winpthreads: use posix threads library from mingw64

2018-11-15 Thread Samuli Piippo
Sure, it’ll take me couple of hours though. Let’s see if the missing emails appear meanwhile. > On 15 Nov 2018, at 19.33, Burton, Ross wrote: > > Weird. > > Can you push them to a git repo? > > Ross >> On Thu, 15 Nov 2018 at 17:32, Samuli Piippo wrote: >> &g

[yocto] [meta-mingw][PATCH 2/2] cmake: add support for building nativesdk-cmake

2018-11-15 Thread Samuli Piippo
Build nativesdk-cmake and dependency libs without without openssl. Signed-off-by: Samuli Piippo --- .../nativesdk-packagegroup-sdk-host.bbappend | 1 + recipes-devtools/cmake/cmake_%.bbappend | 8 recipes-extended/libarchive/libarchive_%.bbappend

Re: [yocto] [meta-mingw][PATCH 1/2] winpthreads: use posix threads library from mingw64

2018-11-15 Thread Samuli Piippo
I don't have access to the contrib git repo, so pushed them here instead: https://github.com/sapiippo/meta-mingw/ From: Samuli Piippo Sent: 15 November 2018 19:45:29 To: Burton, Ross Cc: Yocto-mailing-list Subject: Re: [yocto] [meta-mingw][PATCH 1/2] winpth

[yocto] [meta-mingw][PATCH 1/2] winpthreads: use posix threads library from mingw64

2018-11-15 Thread Samuli Piippo
Use the winpthreads library available in the mingw64 and change the thread model from win32 to posix to get access to c++11 features. Signed-off-by: Samuli Piippo --- conf/machine-sdk/include/mingw32-common.inc | 2 - recipes-core/gettext/gettext_0.19.%.bbappend | 5 +- recipes-devtools

Re: [yocto] meta-mingw: unable to run executables on Windows

2018-11-15 Thread Samuli Piippo
patch sent. On Thu, 15 Nov 2018 at 11:17, Burton, Ross wrote: > > Good work! > > Can we have a patch from someone please? > > Ross > > On Thu, 15 Nov 2018 at 08:35, Samuli Piippo wrote: >> >> On Thu, 15 Nov 2018 at 07:01, Khem Raj wrote: >> > >

Re: [yocto] meta-mingw: unable to run executables on Windows

2018-11-15 Thread Samuli Piippo
On Thu, 15 Nov 2018 at 07:01, Khem Raj wrote: > > On Wed, Nov 14, 2018 at 8:08 PM Joshua Watt wrote: > > > > On Wed, Nov 14, 2018 at 8:41 PM Mark Hatle wrote: > > > > > > On 11/14/18 9:54 AM, Mark Hatle wrote: > > > > On 11/13/18 3:56 AM, Samuli P

Re: [yocto] meta-mingw: unable to run executables on Windows

2018-11-13 Thread Samuli Piippo
On Tue, 13 Nov 2018 at 12:17, Burton, Ross wrote: > > On Tue, 13 Nov 2018 at 09:57, Samuli Piippo wrote: > > I've just upgraded poky and meta-mingw layers from sumo to thud and as a > > result a lot of the executables in the toolchain no longer run correctly on > >

[yocto] meta-mingw: unable to run executables on Windows

2018-11-13 Thread Samuli Piippo
Hi, I've just upgraded poky and meta-mingw layers from sumo to thud and as a result a lot of the executables in the toolchain no longer run correctly on Windows. I've built meta-toolchain for SDKMACHINE=x86_64-mingw32. From that, gcc/g++ work fine on Windows 10, but ar, as, objdumb, and others ha

Re: [yocto] [meta-mingw][PATCH] mingw64: update to 5.0.3

2017-12-03 Thread Samuli Piippo
ping On 10 November 2017 at 11:30, Samuli Piippo wrote: > Use the latest mingw64 release to get access to the latest Windows APIs > > BUILDSDK_CPPFLAGS were emptied from poky.conf, but are needed for mingw > build to include correct float.h. (error: '_MCW_DN' undeclared he

[yocto] [meta-mingw][PATCH] mingw64: update to 5.0.3

2017-11-10 Thread Samuli Piippo
fined reference to `xmlFree'' Signed-off-by: Samuli Piippo --- recipes-core/gettext/gettext_0.19.%.bbappend| 2 +- ...gw-w64-headers_3.1.0.bb => nativesdk-mingw-w64-headers_5.0.3.bb} | 4 ++-- ...gw-w64-runtime_3.1.0.bb => nativesdk-mingw-w64-runtime_5.0.3.

[yocto] [meta-mingw][PATCH] gdb: add missing space to append line

2017-10-19 Thread Samuli Piippo
Signed-off-by: Samuli Piippo --- recipes-devtools/gdb/gdb-cross-canadian_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend b/recipes-devtools/gdb/gdb-cross-canadian_%.bbappend index 54b975a..067b614 100644 --- a

[yocto] [meta-raspberrypi][PATCH] bluez5: correctly append brcm43438 service

2016-10-04 Thread Samuli Piippo
Cannot use += operator together with machine override. Signed-off-by: Samuli Piippo --- recipes-connectivity/bluez5/bluez5_%.bbappend | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/recipes-connectivity/bluez5/bluez5_%.bbappend b/recipes-connectivity/bluez5/bluez5_

[yocto] [meta-mingw][PATCH] mingw64: update headers and runtime files

2016-05-11 Thread Samuli Piippo
Update to more recent version that fixes errors with conflicting declaration of 'xxx' with 'C' linkage coming from intrin.h Signed-off-by: Samuli Piippo --- ...ingw-w64-headers_3.1.0.bb => nativesdk-mingw-w64-headers_3.3.0.bb} | 4 ++-- ...ingw-w64-runtime_3.1.0.bb

[yocto] [meta-mingw][PATCH] libgcc: move libgcc*.dll from /lib to /usr/bin

2016-05-11 Thread Samuli Piippo
Moved to /usr/bin so that any application there finds it without setting additional PATHs. Signed-off-by: Samuli Piippo --- recipes-devtools/gcc/libgcc_%.bbappend | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/recipes-devtools/gcc/libgcc_%.bbappend b/recipes-devtools