Dear Anthony,
Excellent news!
I copied the Makefile to https://leti.lt/bolprocessor/test.php, logged
in under ssh and ran the "make" command. It started well but stopped at
this stage:
$ make
gcc -c -I source/BP2 -include source/prefix/PrefixANSIDebug.h
source/BP2/Arithmetic.c -o source/BP2/Arithmetic.o
make: gcc: command not found
Makefile:93: recipe for target 'source/BP2/Arithmetic.o' failed
make: *** [source/BP2/Arithmetic.o] Error 127
I understand that my account does not yet have a gcc compiler although
it is eligible for running one. I tried the same with a "hello.c" tiny
program and got the same diagnosis.
Old discussions on the OVH forum (my provider) claim that gcc is
available on this type of account. I am a bit confused about installing
it… Should I simply upload a binary from:
https://gcc.gnu.org/install/binaries.html ???
First steps are always slow ;-)
I am planning to create a googledoc summarizing your suggestions for
future development along with links to resources and documentation. This
will help me to investigate these new paths, both in terms of developing
a console application (which we started naming "BP3") and going further
to a stand-alone application, namely "BP4". These ideas may attract more
developers but we need to decide to what extent if could be public
(read-only or comment).
All the best
Bernard Bel
Anthony Kozar wrote on 05/07/2020 07:29:
> Bernard,
>
> Thanks very much for testing the console build! I'm glad that
> everything worked for you too. ^_^
>
> Yes, even though the musical results are not the most impressive, the
> fact that grammar derivation, polymetric expansion, and time setting all
> appear to be working correctly is very exciting. And, as far as my
> tests have shown, they work both with the 32-bit and the 64-bit builds.
>
> I'm sorry if you were delayed in pursuing your goal of making a PHP
> front end due to the lack of a way to compile BP console for Linux. The
> code has been at the stage where I hoped it would compile on Linux and
> Windows except there was no appropriate make/build file.
>
> Tonight though, I created a make file and am very happy to report that
> it can be used to compile BP console on both OS X and Linux! I checked
> out the code on the Linux server that hosts my websites and it compiled
> wonderfully (ignoring warnings which are present on OS X also). The
> resulting executable appears to work as well as the program does on my
> Mac too. So, Bol Processor is now officially "cross-platform"! That is
> pretty exciting. ^_^
>
> It will probably work best if you can recompile a Linux binary on your
> target machine. So, I hope that your web server has development tools
> installed. (GCC and Make should be enough). But let me know if that is
> not possible and I can send you the binary I compiled.
>
> The make file is available from:
>
> http://www.anthonykozar.net/files/BolProcessor/Makefile
>
> Put that file into the top-level "bolprocessor" folder. Then just type
> the command "make". It will compile a program called simply "bp" unless
> you change the Makefile.
>
> Good luck and let me know if you run into problems.
>
> Anthony
|