X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Message-ID: <4491A0F1.6090507@iki.fi> Date: Thu, 15 Jun 2006 21:03:29 +0300 From: Andris Pavenis User-Agent: Thunderbird 1.5.0.2 (X11/20060420) MIME-Version: 1.0 To: djgpp-workers AT delorie DOT com Subject: Re: djgpp CVS patches References: <2886 DOT 220 DOT 233 DOT 177 DOT 46 DOT 1150377852 DOT squirrel AT cafemail DOT mcadcafe DOT com> In-Reply-To: <2886.220.233.177.46.1150377852.squirrel@cafemail.mcadcafe.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Reply-To: djgpp-workers AT delorie DOT com decker AT dacafe DOT com kirjoitti: > Hi Markus. This is Ben. Thanks for your patch. > >> As there seems to be some revived activity here it's probably a good >> time for sending some patches against the current CVS. Please review >> and apply if you find them useful > > > Well, I'm not sure it could really be considered 'activity'. But for what > it is worth to anyone here, we talked briefly about your patch on > irc.freenode.net #djgpp. Some of your changes weren't completely > understood, but it's clear that gcc 4.x uses stricter typing. > > The fseeko stuff looks OK to me. Darwin sources look very similar. I'm not > completely sure if we don't need some arg checking for fseeko64, though > (??). > > Please omit the "-mtune=i586" stuff or you will break compatibility with > gcc 3.3-! Then perhaps the only way is to write some small tool to generate compiler options while build. > > We got the following compile error toward the end. Nott sure why and > haven't looked into it anymore. Sorry. > > PASTE: > ld -s ../../../lib/crt0.o symify.o ../../../lib/libdbg.a > ./../../lib/libc.a -o > ../../../bin/symify.exe d:/usr/djgpp/lib/gcc-lib/djgpp/3.32/libgcc.a -T > d:/usr/ > djgpp/lib/gcc-lib/djgpp/3.32/djgpp-x.djl > ./../../lib/libc.a(crt1.o):crt1.c:(.text+0x241): undefined reference to > `_envir > on' If You are still stuck with gcc-3.3, then at least please update to the latest of gcc-3.3X series (gcc-3.3.6). _environ was added to djgpp-x.djl beginning with DJGPP port of gcc-3.3.5. Andris