Just tested that: MacOS builds Linux gcc gets an error during compilation. ---rony
P.S.: While cleaning the build directory with "rm -rf *" I mistakingly deleted my home directory "~" so I will not be able to create builds for ooRexx or BSF4ooRexx for Linux 32- and 64-bit. :-( [As I alotted too much time to ooRexx in the past weeks I have to make up for it for my day job, so it will be a while before I become able to compile on Linux again...] On 13.01.2019 17:49, Rick McGuire wrote: > Hmm, the following lines in CMakeLists.txt look suspicious. I think the SET > commands should be > outside the conditional. > > # Extra link library definitions > # gcc (at least on Linux) requires linking with -lcrypt > # clang (at least on Darwin) doesn't have libcrypt > if (CMAKE_CXX_COMPILER_ID STREQUAL "GNU") > target_link_libraries(rxunixsys rexx rexxapi crypt > ${CMAKE_REQUIRED_LIBRARIES}) > else () > set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++") > set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -stdlib=libc++ > -lc++abi") > > target_link_libraries(rxunixsys rexx rexxapi ${CMAKE_REQUIRED_LIBRARIES}) > endif ()
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel