delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/11/18:00:08

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
X-Received: by 10.182.27.2 with SMTP id p2mr13918704obg.45.1434059400423;
Thu, 11 Jun 2015 14:50:00 -0700 (PDT)
X-Received: by 10.140.20.40 with SMTP id 37mr188048qgi.26.1434059400396; Thu,
11 Jun 2015 14:50:00 -0700 (PDT)
Newsgroups: comp.os.msdos.djgpp
Date: Thu, 11 Jun 2015 14:50:00 -0700 (PDT)
In-Reply-To: <5579ED42.6070309@gmail.com>
Complaints-To: groups-abuse AT google DOT com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=65.13.115.246;
posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO
NNTP-Posting-Host: 65.13.115.246
References: <201506091712 DOT t59HCPci004068 AT delorie DOT com> <557739E0 DOT 6070608 AT gmail DOT com>
<CAB9Rao93XrKFBpUDnZdjCz+rEXHGOU2RNKdou2oMLJOk802LnA AT mail DOT gmail DOT com>
<55775E64 DOT 2090901 AT gmail DOT com> <CAB9Rao-Njdr-CB=vqHnb+TVDmXu3eXqsB5CHB7V0kDwBEsM-WQ AT mail DOT gmail DOT com>
<5579ED42 DOT 6070309 AT gmail DOT com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <bedfae3f-2695-4253-8d9c-11c55703f8b5@googlegroups.com>
Subject: Re: DJGGP 2.05 upgrade problems.
From: "rugxulo AT gmail DOT com" <djgpp AT delorie DOT com>
Injection-Date: Thu, 11 Jun 2015 21:50:00 +0000
Bytes: 3736
Lines: 57
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

Hi,

Just FYI, I would recommend to create a new ("Quake 2") thread
for all of this in the near future.

On Thursday, June 11, 2015 at 3:36:44 PM UTC-5, Frank Sapone (emoaddict15 AT hates DOT spam) wrote:
>
> Hey guys, so I figured I might as well try to upgrade the Q2DOS project 
> to DJGPP 2.05 (we're using 2.03!).  I would like to add DX3 support for 
> loading/unloading game DLLs (a separate topic, but also curious if this 
> will be possible)

Juan's /beta/v2gnu/ port of Make 4.1 uses .DXE v3 by default.
His /beta/v2tk/ Lua port also (optionally) used it.

Though I wouldn't recommend worrying with that just yet if you're
still trying to fix other issues.
 
> I made an entirely new DJGPP dir, got my paths all that, etc. setup 
> properly and afaik I have all the required tools.  When I try to build I 
> get this:
> 
> Not sure what I'm missing here.

As Louis said, GCC 5.1.0 is "-std=c11" by default. Try manually
using "-std=gnu89", and see if that helps.

> I also noticed find doesn't work 
> properly to delete all the previous *.o files.  Whatever previous 
> version of find I was using for 2.03 works fine.
> The way we were using it before is "find ./ -name '*.o' -exec rm {} \;".
> Now it spits out:
> rm : cannot remove './client/cl_cin.o' : No such file or directory (ENOENT).

Ignore find entirely! Use "rm .../*.o".

> I am using Windows XP SP3 to compile if this helps.

XP usually works fairly well for DJGPP. Though I dunno, maybe there's
some (more) bugs. Maybe if subdirs nest too deeply? Try to avoid that.

> Another reason for 
> wanting to try out 2.05 is now the project is getting quite large and 
> I'm getting this warning at link time:
> 
> "warning: .text: line number overflow: 0x10029 > 0xffff".  I guess 2.03 
> has smaller limits for compiling a total project size?

Is that (only) with debugging enabled? Yeah, older released (BinUtils
before 2.23 ???) didn't have the COFF relocation extension hack.
 
> Thanks for everyones help, really looking forward to upgrading Q2DOS and 
> my Q1/QW ports to 2.05 as well once the issues are ironed out.

Honestly, I wouldn't upgrade at all (just yet). If you just want a stable
release, don't worry with it. Of course, I'm not saying you can't use 2.05,
but at the moment I don't see any huge advantage (outside of just helping
further test it for everyone here).

- Raw text -


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