[Oberon] BlackBox port for ARMv7
Oleg N. Cher
allot at bk.ru
Thu Nov 5 15:35:09 CET 2020
Dear Pablo,
SYSTEM.h and SYSTEM.c should be stored in /C of the structure:
Build\
C\ <-- SYSTEM.h and SYSTEM.c placed here
...
Obj48\ <-- *.c and *.h files placed here
The content of /C folder you get from CPfront and copy to /C of armBox.
https://github.com/Oleg-N-Cher/CPfront/tree/master/C
makefile is designed for this structure. As you can see, it accesses the
folder ../C (from /Obj)
Then
> cd Obj48
> make
Hope it helps.
Pablo Cayuela пишет:
> Dear Oleg,
>
> I've get bbcb-1.7.2-b1.154.zip
> <https://blackbox.oberon.org/unstable/master/bbcb-1.7.2-b1.154.zip> from
> https://blackbox.oberon.org/download
> Downloaded your CPfront and armBox from Github account.
> Combined all in one directory under Windows 10 Home ed.
> Opened up BB and launch every step in Build\Build.odc. Everything
> compiled and generated without problems.
> Then in Raspi3, user pi directory, I create a directory *bbcp *with only
> the contents of BB \Obj48, and added the combined directories \C from
> CPfront and armBox, where System.h and System.c reside.
> Then I launch make and get the error:
> pi at raspberrypi:~/bbcp $ make
> gcc -g -I../C -Wfatal-errors -c Main.c
> Main.c:2:20: fatal error: SYSTEM.h: No such file or directory
> #include "SYSTEM.h"
> ^
> compilation terminated.
> Makefile:42: recipe for target 'Main.o' failed
> make: *** [Main.o] Error 1
>
> Then I copied System.c and System.h to the same directory *bbcp *as all
> the rest of c and h codes; then launch make again and I get this error:
> pi at raspberrypi:~/bbcp $ make
> gcc -g -I../C -Wfatal-errors -c Main.c
> make: *** No rule to make target '../C/SYSTEM.c', needed by 'SYSTEM.o'.
> Stop.
> pi at raspberrypi:~/bbcp $
>
> I wonder if I need to modify some paths on makefile or what else.
>
> If you could help me I will appreciate it.
> Thank you Oleg.
>
> Prof. Pablo Cayuela
>
>
> On Wed, Nov 4, 2020 at 6:42 AM Oleg N. Cher <allot at bk.ru
> <mailto:allot at bk.ru>> wrote:
>
> Dear mr. Pablo,
>
> Thank you for your kind words to the Ofront+ project.
>
> BlackBox for ARMv7 is my quick and dirty attempt to start the BlackBox
> system under ARM machine (only 32 bits supported).
>
> This work is based on BlackBox for Linux build by Ivan Denisov -
> https://blackbox.oberon.org
>
> on request of the ErSy (Ermakov Systima) company - https://iermakov.ru/
>
> I have received permission to publish the source code of this port.
> Modified files are published under the GPL 3.0 license.
>
> https://github.com/Oleg-N-Cher/armBox
>
> Unfortunately, this development can not be called too complete. Due to
> the termination of funding, I had to suspend work, and my employer
> switched their priorities to other areas.
>
> So this is the final snapshot, brought to the launch stage. If you have
> any interest in this project or questions, feel free to contact me.
>
> I have tested it under Linux Armbian on board Orange Pi PC Plus. I
> think
> it can be runned under any Raspberry Pi board. You will need the
> CPfront
> (and a host-machine with Windows to translate BlackBox sources to
> C), Pi
> board (with GCC) and GTK2 developer packages installed.
>
> The build process will look like this:
>
> 1. Download the sources from https://github.com/Oleg-N-Cher/armBox
> 2. Open Build/Build.odc and translate sources to C with commanders
> 3. Copy C files from Obj48 into your Pi board and run "make"
>
> I may have missed something...
>
>
> Pablo Cayuela пишет:
> > Dear Oleg,
> >
> > Thank you for informing us about your project. By the way it is
> impressive.
> > I've been also checking some other project from your GitHub, Armbox.
> > Could you tell us if that project works on the Raspberry Pi and
> what I
> > need to do in that case?
> > Thank you again.
> >
> > Prof Pablo Cayuela
> > Argentina
> >
> >
> > El vie., 30 oct. 2020 0:36, Oleg N. Cher <allot at bk.ru
> <mailto:allot at bk.ru>
> > <mailto:allot at bk.ru <mailto:allot at bk.ru>>> escribió:
> >
> > Dear Oberoners,
> >
> > I'm really surprised that many people here are hearing about
> Online
> > Oberon for the first time. I've known about it for a long time.
> >
> > In order to inform the public, I want to tell you about my
> own fork of
> > Josef Templ's project Ofront: https://github.com/jtempl/ofront/
> >
> > Ofront+ is a direct continuation of the ideas embedded in the
> Ofront
> > project. But it expands number of supported Oberon dialects:
> >
> > Oberon/Oberon-2
> >
> > Oberon-07/16 (support is still in-work,
> > but users need to encourage this direction)
> >
> > Component Pascal (almost everything is supported
> > except 2-byte CHAR type, even some GPCP
> extensions)
> >
> > Oberon-3 (experimental dialect with constant arrays and
> "proper FOR")
> >
> > We can also use multiple dialects in a single project.
> >
> > Ofront+ also increases the number of available target
> architectures:
> >
> > BlackBox Component Builder
> > FreeBSD amd64
> > Linux amd64
> > Linux armv7
> > Linux i386
> > OpenBSD amd64
> > OpenBSD armv7
> > OpenBSD i386
> > macOS X
> > MS Windows 32 bits
> > MS Windows 64 bits
> >
> > Ofront+ was tested and used with C compilers:
> >
> > GCC/MinGW, 32/64 bits
> > Clang
> > SDCC (Small Device C Compiler)
> > Tiny C (tcc)
> > cc65 (for CPU 6502)
> >
> > The latest build of Ofront+ you can get here:
> >
> > https://github.com/Oleg-N-Cher/OfrontPlus
> >
> > I have been working on this for many years and try to keep
> the project
> > afloat all the time. It's not very documented and it's not
> covered by a
> > huge set of tests, but I do what I can based on my modest
> strength.
> >
> > I didn't plan to go that far, I just needed to make a few
> changes. Then
> > I wanted to make support for Windows. Now we have the result
> of this
> > work. I still want to do a lot before the release of version
> 1.0, but
> > this is already quite stable.
> >
> > I won't tell you very much about the differences, but users
> say that I
> > went too far. ;-)
> >
> > Ofront+ comes as a subsystem for BlackBox and as command line
> tool
> > (Oberon-like GUI not implemented).
> >
> > So welcome, please use, write reviews and suggestions. Also I
> provide
> > support for free.
> >
> > I want to thank Josef Templ, who actively supported me and
> helped me
> > solve many problems.
> >
> > I also want to thank Stewart Greenhill, who made useful
> improvements
> > and
> > helped fix problems, and developed his own tools for Ofront+.
> >
> > List of differences and improvements:
> >
> >
> https://github.com/Oleg-N-Cher/OfrontPlus/blob/master/Readme.txt
> >
> > --
> > Oleg N. Cher
> > --
> > Oberon at lists.inf.ethz.ch <mailto:Oberon at lists.inf.ethz.ch>
> <mailto:Oberon at lists.inf.ethz.ch <mailto:Oberon at lists.inf.ethz.ch>>
> mailing
> > list for ETH Oberon and related systems
> > https://lists.inf.ethz.ch/mailman/listinfo/oberon
> >
> >
> >
> ------------------------------------------------------------------------
> >
> > --
> > Oberon at lists.inf.ethz.ch <mailto:Oberon at lists.inf.ethz.ch>
> mailing list for ETH Oberon and related systems
> > https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
>
> --
> Oleg N. Cher
> --
> Oberon at lists.inf.ethz.ch <mailto:Oberon at lists.inf.ethz.ch> mailing
> list for ETH Oberon and related systems
> https://lists.inf.ethz.ch/mailman/listinfo/oberon
>
More information about the Oberon
mailing list