|
From: | David Chisnall |
Subject: | Re: GNUStep runtime / libobjc2 build problems: tests failing or segfaulting |
Date: | Wed, 16 Jan 2019 14:37:33 +0000 |
User-agent: | Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 |
On 16/01/2019 10:40, Andreas Fink wrote:
cd libobjc2 mkdir Build cd Buildcmake .. -DCMAKE_BUILD_TYPE=RelWithDebInfo -DBUILD_STATIC_LIBOBJC=1 -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_COMPILER=${CXX} -DTESTS=OFFmake -j8 make install cd .. ldconfig
Two things here:1. If things aren't working for you, why are you disabling the test suite? Remove the -DTESTS=OFF and run ctest (optionally -j {cores} if you want it to run nice and fast). This will run a load of tests of your Objective-C configuration and report errors.
2. Why are you doing this *after* installing GNUstep Make? GNUstep Make will search for your runtime and pick a sensible one.
DavidP.S. I think you still need to patch -make to pass -fobjc-runtime=gnustep-2.0
[Prev in Thread] | Current Thread | [Next in Thread] |