Hi!
I tried to be DB Berkeley, but until now I don't obtain success ... only
I got with other database, VBISAM 2.1, zip file it is to download in the
sourceforge site... that VBISAM was via Cross Compile Debian and
FreeDOS. Now, I'll use that to generate my GNU Cobol in the FreeDOS
ambient. The FreeDOS is installed with DOSBOX Staging, last version for
Debian, ok! If you too wish to try, below is the shell script used to
compile VBISAM:
#/bin/sh
DJGPP=/home/everaldo/HDDs/C/devel2/djgpp.env
./configure --build=i686-pc-linux-gnu --host=i586-pc-msdosdjgpp
--prefix=/home/everaldo/HDDs/C/devel2 CONFIG_SITE=NONE
CC=/usr/local/djgpp/bin/i586-pc-msdosdjgpp-gcc
CPPFLAGS="-I/home/everaldo/HDDs/C/devel2/include"
LDFLAGS="-L/home/everaldo/HDDs/C/devel2/lib"
XML2_CFLAGS="-I/home/everaldo/HDDs/C/devel2/include/libxml2"
XML2_LIBS="-lpdcurses -lxml2 -lgmp -lvbisam -lz -llzma -lm" PKG_CONFIG=false
----------------------------------------------------------------------------
Thank you!
Everaldo
Em 24/11/2024 12:45, Paul Dufresne via Freedos-user escreveu:
For me I get to:
configure: error: C compiler cannot create executables
This is kind of expected, because my gcc is a cross-compiler from Linux to
DJGPP:
https://github.com/andrewwutw/build-djgpp (not sure... but I think)
So before trying to compile berkeley db I did:
/usr/local/cross/bin/i386-pc-msdosdjgpp-setenv
to set an environment where gcc is the cross-compiler until exit.
As Berkeley DB seems to only support Unix environment compilation...
cd build_unix
[paul@betakard build_unix]$ ../dist/configure
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking if building in the top-level or dist directories... no
../dist/configure: line 3060: AM_OPTIONS_SET: command not found
../dist/configure: line 3095: AM_PROGRAMS_SET: command not found
checking for a BSD-compatible install... /usr/bin/install -c
checking for cc... cc
checking whether the C compiler works... no
configure: error: in '/home/paul/Téléchargements/libdb-5.3.28/build_unix':
configure: error: C compiler cannot create executables
See 'config.log' for more details
[paul@betakard build_unix]$
I checked a bit... configure seems to try to compile LINENO ... did not found
in configure.ac what is the test giving the error.
There seems to be a lot of optional features not present on DJGPP...
Basically... DJGPP is not an expected target. I have tried some TARGET= without
success.
And you would have to decide how much trouble you want to work over... to use
Berkeley DB rather than GDBM.
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user
_______________________________________________
Freedos-user mailing list
Freedos-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/freedos-user