www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/09/18/08:45:22

From: neil AT robots DOT ox DOT ac DOT uk (Neil Townsend)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Unusual effect from DJGPP
Date: Mon, 18 Sep 2000 12:37:11 GMT
Organization: Robotics Research Group, Engineering Science Dept, Oxford, UK.
Lines: 27
Message-ID: <2000Sep18.123711.16986@arragonrobots.ox.ac.uk>
References: <2000Aug23 DOT 173529 DOT 28049 AT arragonrobots DOT ox DOT ac DOT uk> <vqd8qsg278t4aha9ubu6uubcoc2v17d15h AT 4ax DOT com> <2000Aug24 DOT 121239 DOT 28647 AT arragonrobots DOT ox DOT ac DOT uk> <Rbep5.27665$Ee DOT 202643 AT afrodite DOT telenet-ops DOT be>
NNTP-Posting-Host: arragon.robots.ox.ac.uk
X-Trace: news.ox.ac.uk 969280634 5178 163.1.6.216 (18 Sep 2000 12:37:14 GMT)
X-Complaints-To: newsmaster AT ox DOT ac DOT uk
NNTP-Posting-Date: 18 Sep 2000 12:37:14 GMT
Originator: neil AT arragon
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

In article <Rbep5.27665$Ee DOT 202643 AT afrodite DOT telenet-ops DOT be>,
Tim 'Zastai' Van Holder <zastai AT hotmail DOT com> wrote:
>
>Well, you could try building all objects using DJGPP 2.03 on both
>Solaris and the DOS machine; since they behave differently, there
>must be a difference in code somewhere. Just do
>'cmp --ignore-initial=16 solaris-object.o msdos-object.o' to see if
>the code differs (I am assuming the cross-compiler generates
>objects in the target format, and doesn't just generate the target
>format when linking). It may not be a great help, but might help
>pinpointing the location of the difference.

It turned out (after some playing around) that the code worked when I
put the cwsdpmi.exe from 2.03 (as opposed to the from from 2.02 which
was already there) on the DOS machine. I was slightly surprised by
this but I don't really know enough to know whether I should have been.

Interestingly the code differs quite significantly: the object files
produced by the cross compiler are always 5 to 15% larger than those
produced by the native compiler. I am not in a position to really
chase this up but if anyone out there wants to I am happy to
cross-compile (small) programs you send me and send the object code
back to you for examination.

Neil
-- 
Neil Townsend   +44 (1865) 273121   neil AT robots DOT ox DOT ac DOT uk

- Raw text -


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