Tested and working on … Fedora 29
Debian 9 FreeBSD OpenBSD will take a bit longer because I have to rebuild the virtual machine The sequence of commands issued On Fedora and Debian 136 git clone http://00003...@bitbucket.org/00003481/rxSnippets 137 mkdir rxSnippets.bin 138 cd rxSnippets.bin 139 cmake ../rxSnippets -DOOREXX_INSTALL_PREFIX=$HOME/ooRexx 140 make 142 export LD_LIBRARY_PATH=`pwd` 143 ./rxNative.rex 144 ./rxClassic.rex 145 exit On FreeBSD 486 git clone http://00003...@bitbucket.org/00003481/rxSnippets 487 mkdir rxSnippets.bin 488 cd rxSnippets.bin 489 cmake ../rxSnippets 490 gmake 492 export LD_LIBRARY_PATH=`pwd` 493 ./rxNative.rex 494 ./rxClassic.rex 495 exit No need to specify the OOREXX_INSTALL_PREFIX My build of ooRexx is infrastructure aware and uses pkg-config To add the proper flags for the compiler and the linker Cheers E PS Here is how the result of the tests might look I sprinkled around a few printf [vagrant@freebsd rxSnippets.bin]$./rxNative.rex rxNativeVersion at line 35' '1.0.0' 1.0.0 rxNativeWorker at line 48' Argc 0 rxNativeWorker at line 48' Argc 1 Argv 1 'A' rxNativeWorker at line 48' Argc 2 Argv 1 'A' Argv 2 'B' [vagrant@freebsd rxSnippets.bin]$./rxClassic.rex rxClassicVersion at line 84' '1.0.0' 1.0.0 rxClassicWorker at line 103' Argc 0 rxClassicWorker at line 103' Argc 1 Argv 0 'A' rxClassicWorker at line 103' Argc 2 Argv 0 'A' Argv 1 'B' > On 17 Feb 2019, at 19:27, Rony G. Flatscher <rony.flatsc...@wu.ac.at> wrote: > > On 17.02.2019 19:09, Enrico Sorichetti via Oorexx-devel wrote: >> >> See here >> >> git clone http://00003...@bitbucket.org/00003481/rxSnippets >> <http://00003...@bitbucket.org/00003481/rxSnippets>Cloned it, skimming over >> it, it is electrifying!! > >> Have a good time > Will take a few days, but will definitely have a good time! > :) > (This should help me to create - and perhaps understand a little bit more of > - CMakeLists.txt for BSF4ooRexx.cc and also for the "dbusoorexx" (ooRexx > external function library for Linux' DBus communication infrastructure), > foregoing the Makefiles.) > >> >> Tested only on Darwin >> >> Working on the other platforms >> >> I will keep You posted > Please do so! Having a minimal CMakeLists.txt for producing external Rexx > function libraries for the major platforms is really a great boon! > ---rony > _______________________________________________ > Oorexx-devel mailing list > Oorexx-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/oorexx-devel
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel