www.delorie.com/archives/browse.cgi | search |
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=GxP+f9pZ/WuQ2QVMqw/KvyHR52tvb8H5qFw4mzhO480=; | |
b=ubhV79CUQQqfvekZW3YYOuebyh9JdqFpzHPVT1ft5mYGfaMEFKe2M0jKDH9Y3vk+gD | |
FlhceCwIJ+5Tza/wAJUlCrvO8RWDvTm2h0sJtoZkja1+snVjAm4kyqhRr2ntwdK+1cwv | |
JURKnWGjL+X0I1J4ktH8cC0bh7CBq9pPXGuE834p/yGhbQd2nM7SLwjU/oaa9s3aR9VL | |
sDATKMWZ4TghGEVSFC9PGdrfeKRLef83qJkFiIrCLWrxAOaZRTFJjz6ykCDoig7KBmfX | |
JqPiJFJ9M4xjoa2hcJfD6w+Iyn4h27vw4Aze/xGGs+I1fQqizpIg0wX1gC8s9qvCTOGn | |
yCJg== | |
X-Received: | by 10.42.43.199 with SMTP id y7mr13102503ice.12.1434058383272; |
Thu, 11 Jun 2015 14:33:03 -0700 (PDT) | |
Message-ID: | <5579FE8D.3080501@gmail.com> |
Date: | Thu, 11 Jun 2015 17:33:01 -0400 |
From: | "Frank Sapone (emoaddict15 AT gmail DOT com)" <djgpp AT delorie 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: DJGGP 2.05 upgrade problems. |
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> <CAB9Rao8cvu3hLEf=KsRWn7woXka0F9Aax7uM9Jj5QqCO=1bL8w AT mail DOT gmail DOT com> |
In-Reply-To: | <CAB9Rao8cvu3hLEf=KsRWn7woXka0F9Aax7uM9Jj5QqCO=1bL8w@mail.gmail.com> |
Reply-To: | djgpp AT delorie DOT com |
GCC is v5.1.0 and binutils is whatever that latest release update was that was posted a few days ago. CFLAGS = -g -Wall -O2 Build is q2: $(OBJECTS) $(CC) $(CFLAGS) $(OBJECTS) -o q2 -lm $(WLFLAGS) -lm $(OCCLFLAGS) -lm $(VORBLFLAGS) cp q2.exe $(HOME)/dos/q2 The branch with the 2.05 conversion is available at https://bitbucket.org/neozeed/q2dos/branch/djggp205 if you need to see more On 6/11/2015 5:27 PM, Louis Santillan (lpsantil AT gmail DOT com) wrote: > Which gcc, binutils are you using? What about your CFLAGS? > > I believe GCC 5+ is C11 by default where previous versions were C89 > which is a bit stricter (or clearer) about corner cases of the > language. > > On Thu, Jun 11, 2015 at 1:19 PM, Frank Sapone (emoaddict15 AT gmail DOT com) > <djgpp AT delorie DOT com> 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) >> >> 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: >> >> In file included from F:/proj/q2dos/game/q_shared.h:40:0, >> from client../qcommon/qcommon.h:23, >> from client/ref.h:23, >> from client/client.h:30, >> from client/cl_input.c:22: >> f:/djgpp_205/include/time.h:126:16: error: expected '=', ',', ';', 'asm' or >> '__attribute__' before 'unsigned' >> _EXTERN_INLINE unsigned long long >> ^ >> >> Not sure what I'm missing here. 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). >> >> I am using Windows XP SP3 to compile if this helps. 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? >> >> 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. >> >> Frank
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |