delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/10/20/19:00:24

NNTP-Posting-Date: Sun, 20 Oct 2002 17:56:10 -0500
Message-ID: <3DB3423E.5050303@aros.net>
Date: Sun, 20 Oct 2002 16:54:38 -0700
From: Daniel Jeffery <jeffery AT aros DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:0.9.4.1) Gecko/20020508 Netscape6/6.2.3
X-Accept-Language: en-us
MIME-Version: 1.0
Newsgroups: comp.os.msdos.djgpp
Subject: request library (eg. libc.a) src for djcrx cross-to-dos
Lines: 30
X-Trace: sv3-SvqOwXHbXV9l67QVH1GNZNKaOhGLr8LjIILwVzaZ58IWd47KbE9DFObDZOK77WnV4EAXy0x2Q+oy51a!BYQCu5WahVKmiDweWLMwK3qORvJ84iNjyK7RplACNVyd0ARaEm3NhyE0cLTr70VsHsVg
X-Complaints-To: abuse AT aros DOT net
X-DMCA-Notifications: http://www.giganews.com/info/dmca.html
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint properly
X-Postfilter: 1.1
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Hello,

I wanted to ask if there is any good reason Allegro (WIP) shouldn't 
compile with djcrx.  I have a reglar DOS djgpp environment (desktop) and 
a dos/linux system (laptop).  Having successfully used djcrx to compile 
Ghostscript (5.10), I know that it works.  But libc.a in djcrx203 
appears to differ from libc.a in djdev203 and djlsr203.  For example: 
the former carries a reference to _cleanup in flsbuf.c, while the latter 
make no mention of _cleanup.  My libgcc.a for djcrx appears to require 
_cleanup and so apparently orders the finished COFF executable text 
segment differently.  (I gleaned this idea from a discussion of 
cross-compilers on other systems).  djcrx makes slightly larger 
executables and its libc.a includes no _go32_dpmi_lock_data (for 
example).  Inclusion of this is essential in compiling the latest 
versions of Allegro.  Also djgpp.djl from djdev203 apparently won't make 
good .exe files, so I have to take the COFF binary to DOS and run 
`coff2exe' on it.  But I digress.  My question now is simply, where are 
the sources for djcrx?  Why are they not more similar to what is 
provided with djlsr?  Is it possible to rebuild the libraries with what 
is available?  If not, would someone be willing to provide the needed 
sources or libraries updated to include the functions in the official 
DOS source tree?  Or, as I may well be afraid, must I provide a `glue 
layer' between the (old-style?) DOS environment and its (updated?) 
cross-compiling counterpart?  Anyone?

My plans are to link Ghostscript (which simply won't link in DOS, there 
are so many .o files the computer just locks up), with Allegro and use 
the finished product in dosemu.  After that, does anyone know how to get 
Palantir to work reliably?  (I know...old...)

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019