X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f X-Recipient: djgpp AT delorie DOT com X-Original-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; bh=lu+EavrUpm/8ljXhf3JIrii+Aw2XWs/V/Qy61HfhHPk=; b=whR0hVRoyEbHPAZ4SZ2ceJObSih0NLFxifzvo49cV9Gde/VKHLFxfc9Yuvv/D5lDv6 Dra6cy6LuIzoaGg3VVgaIjbUVFpBidAMZ4ojZkYiqLUsvjaDnEYoXWtz7hKmkNWLX29U CKXNKNJc/BLL4l9DXmgXEqzvKSyQqad0e0i1nB+z8TYGW7gVFoTJzfsGoPGRIWbtNf5L K3JyPue0mSSCjhPhoWOWziBfmiMPKDr9EROOq9ldPHIMYiZg163FxtWdAUyx1dtVlKmj fFc5zFFFj6RI6P/G5mccIx0yI7iGOJjVy8GBNd5FbTTWGvlhTzyx31lawhE/D1Hj+ViB NrSQ== X-Received: by 10.50.79.202 with SMTP id l10mr697873igx.7.1434061784174; Thu, 11 Jun 2015 15:29:44 -0700 (PDT) Message-ID: <557A0BD6.5090901@gmail.com> Date: Thu, 11 Jun 2015 18:29:42 -0400 From: "Frank Sapone (emoaddict15 AT gmail DOT com)" User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: djgpp AT delorie DOT com Subject: Re: Quake 2 DOS -- DJGGP 2.05 upgrade problems. References: <201506091712 DOT t59HCPci004068 AT delorie DOT com> <557739E0 DOT 6070608 AT gmail DOT com> <55775E64 DOT 2090901 AT gmail DOT com> <5579ED42 DOT 6070309 AT gmail DOT com> In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp AT delorie DOT com Hiya, >> 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 added this to my CFLAGS like CFLAGS = -std=gnu89 -g -Wall -O2 and it still doesn't help. Should I zip up a copy of my DJGGP environment, maybe I'm missing something here? The error is pointing to time.h in djgpp itself and I really doubt that time.h would have an issue since it's such a common header to include. It makes me think I added something in the wrong order or wrong version or something to that effect. >> 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. Upgrading to the latest binutils fixed that issue, thanks for this. > >> 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). I'm curious about the DX3 and dll capabilities. Will it be able to load/unload? Quake 2 used DLLs for the game, so for now it is hardlinked, but would like to add the possibility to compile other game mods.