delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/06/21:03:52

From: "Keith McCormick" <kdm98 AT spiritone DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Need help building Allegro!?!
Date: 6 Sep 1999 22:33:05 GMT
Organization: <none>
Lines: 65
Message-ID: <936657184.703540@ridge.spiritone.com>
References: <Pine DOT SUN DOT 3 DOT 91 DOT 990905153717 DOT 20300X-100000 AT is> <936604378 DOT 64271 AT ridge DOT spiritone DOT com>
NNTP-Posting-Host: ridge.spiritone.com
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
X-Trace-ISP: 936657184 18873 206.98.121.74 hf8n/F66:xqz98
X-Complaints-To-ISP: abuse at spiritone dot com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I forgot to mention:

Another thing I changed myself (as intimated in mail archive) is the
COFF_DEFAULT_SECTION_ALIGNMENT_POWER.  I changed it to 4 instead of 2.

Also, does this actually do anything because the linker scripts have an
ALIGN statement.  Should these be changed to 0x400 or left as is and the
COFF_DEFAULT_SECTION_ALIGNMENT_POWER will actually make the code aligned
better for the pentiums and k6's (I use K6-2).

KeithM

Keith McCormick <kdm98 AT spiritone DOT com> wrote in message
news:936604378 DOT 64271 AT ridge DOT spiritone DOT com...
> >> I am using the DJDEV 3rd alpha
> >> that is posted on simtel.net and a ported version of binutils 2.9.1 and
> gcc
> >> 2.95.1.
>
> >Did you change anything in the sources of Binutils?  If so, post here
> >the changes that you did.  If not, did you build the original Binutils
> >2.9.1 as distributed by the GNU project, or some later development
> >snapshot?
>
> The only thing I did was use a script and diff files written by Andris
> Pavenis (got them from off the mail archives) and that did change a few of
> machine specific source files:
>
> coff-go32.c
> coff-i386.c
> coffgen.c
> tc-i386.h
> te-go32.h
>
> Other than that the only problem I ran into was the linker script
generation
> did not work right (It left a few extra braces in 3 of the script files)
so
> I corrected the generated c source that had the scripts (I just removed
the
> extra braces) and then I rebuilt the linker.
>
> The only problem that has shown up is the allegro build (I cannot get any
of
> them to make good exe files).  Everything else I have done works just
fine,
> ie no crashing.
>
> The problem has to be in allegro because when I built a modified version
(I
> had the makefile leave out the graphics portions and related peices --
just
> built sound modules) it works.
>
> KeithM
>
> I can send the binutils script and diff files that I have through email if
> you would like me to.  (I cannot seem to send any attachments to the news
> server -- none of the messages I have sent recently that contained file
> attachment have shown up.)
>
>
>


- Raw text -


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