Re: Freedos/Watcom

Tomas By <[email protected]> Mon, 29 Mar 2021 10:04:33 +0200
Newsgroups gmane.comp.encryption.cryptlib
Message-ID <[email protected]>
Hi again,

Now I'm trying to target a 16-bit machine, using the MS compiler.

|DOS:
|	$(MAKE) OSNAME=3Ddos target-init
|	$(MAKE) $(DEFINES) OSNAME=3Ddos CC=3Dcl CFLAGS=3D"$(XCFLAGS) \
|		-DCONFIG_DATA_LITTLEENDIAN -DOSVERSION=3D5 -O2 -D_REENTRANT \
|		-DCONFIG_PROFILE_PGP -DCONFIG_CONSERVE_MEMORY -D__MSDOS16__ \
|		-DCONFIG_RANDSEED -DCONFIG_SLOW_CPU -DCONFIG_NO_SESSIONS" \
|		LDFLAGS=3D"$(XLDFLAGS)"

and get "16-bit DPMI unsupported", presumably because GNU make does
not like the compiler?

Is there some secret trick, or should I switch to MS Make (nmk) and
edit the Makefile?

Lack of systems: emulator?

/Tomas



On Thu, 25 Mar 2021 01:38:16 +0100, Peter Gutmann wrote:
> So that's for a 16-bit CPU?=A0 I would be surprised if that worked withou=
t some
> effort, it's been run on 16-bit systems in the past but the code hasn't b=
een
> maintained for those for a long time due to the lack of 16-bit systems to
> build it on.

On Thu, 25 Mar 2021 09:47:23 +0100, Peter Gutmann wrote:
> [...] as you've found out the makefile assumes it's running in a
> Unix-style shell for it to autoconfigure itself. You'd be best off
> adding a new make target 'DOS' in the makefile in the "Other OS
> Targets" section and doing an explicit 'make DOS', then you can add
> whatever options you need directly.

_______________________________________________
Cryptlib mailing list
[email protected] via Mail: [email protected]=
anken.de
Archive: ftp://ftp.franken.de/pub/crypt/cryptlib/archives/
http://news.gmane.org/gmane.comp.encryption.cryptlib
Posts from non-subscribed addresses are blocked to prevent spam, please
subscribe in order to post messages.