Hi David,
Hi All,
I tried to make GNUstep from git according to the wiki :
http://wiki.gnustep.org/index.php/Building_GNUstep_under_Debian_FreeBSD
I am stuck at this step : building libobjc2.
These are the steps and things done :
Building GNUstep under Raspbian (Buster 10.4) :
Step 1) Dependencies under Debian 10 : all done
Step 2) We install a decent clang compiler : done with clang 9, and lldb-9,
lld-9
pi@raspberrypi:~/Fabrique/gnustep $ clang-9 --version
clang version 9.0.1-6+rpi1~bpo10+1
Target: armv6k-unknown-linux-gnueabihf
Thread model: posix
InstalledDir: /usr/bin
Step 3) Download GNUSTEP (from git) : all done
Step 4) libiconv : passed.
Step 5) Defaults : updated due to clang-9
export CC=/usr/bin/clang-9
export CXX=/usr/bin/clang++-9
...
Step 6) libdispatch : failed / passed
pi@raspberrypi:~/Fabrique/gnustep/swift-corelibs-libdispatch/build $ cmake ..
-DCMAKE_C_COMPILER=${CC} \
> -DCMAKE_CXX_COMPILER=${CXX} \
> -DCMAKE_BUILD_TYPE=Release \
> -DUSE_GOLD_LINKER=YES
CMake Error at CMakeLists.txt:2 (cmake_minimum_required):
CMake 3.15.1 or higher is required. You are running version 3.13.4
Step 7) libobjc2 / gnustep-base :
Step 7-a) Blocked at building libobjc2 due to an ASM configure error :
pi@raspberrypi:~/Fabrique/gnustep/libobjc2/build $ cmake ..
-DCMAKE_BUILD_TYPE=Release \
> -DBUILD_STATIC_LIBOBJC=1 \
> -DCMAKE_C_COMPILER=${CC} \
> -DCMAKE_CXX_COMPILER=${CXX} \
> -DCMAKE_LINKER=${LD} \
> -DCMAKE_MODULE_LINKER_FLAGS=${LDFLAGS}
>-- The ASM compiler identification is unknown
>-- Found assembler: /usr/local/clang_9.0.0/bin/clang-9
>CMake Error at CMakeLists.txt:3 (project):
> The CMAKE_ASM_COMPILER:
>
> /usr/local/clang_9.0.0/bin/clang-9
>
> is not a full path to an existing compiler tool.
>
> Tell CMake where to find the compiler by setting either the environment
> variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
> to the compiler, or to the compiler name if it is in the PATH.
>
>
>-- Warning: Did not find file Compiler/-ASM
>-- Configuring incomplete, errors occurred!
>See also "/home/pi/Fabrique/gnustep/libobjc2/build/CMakeFiles/CMakeOutput.log".
>See also "/home/pi/Fabrique/gnustep/libobjc2/build/CMakeFiles/CMakeError.log".
Well, your help will be much appreciated.
Regards,
--
Patrick CARDONA