Open Source 4gl compiler
Ref: https://www.aubit.com Credit: Mike Aubury (Aubit4GL maintainer)
docker run -t -i map7/aubit4gl /bin/bash
cd tools/test
4glpc hello.4gl -o hello
fcompile form
./hello
sudo apt install git docker.io
version: "3.3"
services:
aubit4gl:
container_name: aubit4gl
image: map7/aubit4gl:latest
network_mode: host
environment:
- AUBITDIR=/opt/aubit4gl
- LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/aubit4gl/lib:$LIB:$PROD
- PATH=$PATH:/opt/aubit4gl/bin
- A4GL_UI=TUI
- A4GL_SQLTYPE=pg8
- A4GL_DBDATE="DMY4"
- A4GL_LEXTYPE=C
- A4GL_SQLUID=postgres
- A4GL_SQLPWD=bucala
- TTY=$SSH_TTY
- PGDATABASE=pais_legacy
- PGPORT=5432
- PGHOST=127.0.0.1
- PGUSER=postgres
- PGPASSWORD=<Enter your password> # Change
stdin_open: true
tty: true
volumes:
- /var/run/postgresql:/var/run/postgresql
- /path/to/4gl/code:/path/to/4gl/code # Change to your 4GL source directory
- /path/to/production/code:/path/to/production/code # Change to your compiled area
sudo docker-compose up -d --build
sudo docker-compose exec aubit4gl bash
cd /home/map7/code/pais_legacy/tests/with_db
4glpc with_db.4gl -o with_db
./with_db
exit
docker-compose stop
Content type
Image
Digest
sha256:1f71b40d4…
Size
504 MB
Last updated
about 3 years ago
docker pull map7/aubit4gl