delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2015/06/11/16:36:44

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=Mo9FXVgYNXdhuwEy9NBh6rgOIN5LGg8lLpvI2wHnuvA=;
b=cMwS8cYTOFYJLPCwdgcaIvhXaBhvE3YW9BFGymkhq8nwbZVBY0CB7UKifO3JurZ9bQ
WSzEpQ7mcVm2a54LU1KTNkmycS3W0D1zCP/5uOvybdJ69S6iAe6tIusE8jtmkjSeLGOv
Fygu2y6EomYuUS+DE+UowonWk/6YuZKxxm9ujvp5/sj/K0wtkWyux0DeFNRbm0VnJZVK
wb4Jk0iAxYqbITFeTOOLwKQ99kq47I1cB4G77WN9FLS3Tok/za4swKVDBH49x7Hkzij/
jr1RvOJH8DJV32WnBqH1Zn3iSGOiIm/k0mgciN63N8KcumW5oWI5yoPqSh8L0ha4zYGl
VujA==
X-Received: by 10.107.33.9 with SMTP id h9mr13901087ioh.1.1434053956423;
Thu, 11 Jun 2015 13:19:16 -0700 (PDT)
Message-ID: <5579ED42.6070309@gmail.com>
Date: Thu, 11 Jun 2015 16:19:14 -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: 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>
In-Reply-To: <CAB9Rao-Njdr-CB=vqHnb+TVDmXu3eXqsB5CHB7V0kDwBEsM-WQ@mail.gmail.com>
Reply-To: djgpp AT delorie DOT com

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

- Raw text -


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