X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f MIME-Version: 1.0 Newsgroups: comp.os.msdos.djgpp Date: Sat, 1 Sep 2012 03:52:05 -0700 (PDT) Complaints-To: groups-abuse AT google DOT com Injection-Info: fm12g2000vbb.googlegroups.com; posting-host=95.208.68.152; posting-account=OsAajgoAAADdKJnkJkmhzqP0jo6I_P_0 NNTP-Posting-Host: 95.208.68.152 References: <201208302244 DOT 31877 DOT juan DOT guerrero AT gmx DOT de> User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20100101 Firefox/15.0,gzip(gfe) Message-ID: <8cdf2b94-9bc0-40c2-bdd1-57e6c15e7130@fm12g2000vbb.googlegroups.com> Subject: Re: gcc behaviour if djgpp.env is not available. From: Juan Manuel Guerrero Injection-Date: Sat, 01 Sep 2012 10:52:05 +0000 Content-Type: text/plain; charset=ISO-8859-1 Bytes: 3556 Lines: 51 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com On 31 Aug., 20:43, dos DOT DOT DOT AT googlemail DOT com wrote: [snip] > Since DXE apparently does not work with the latest DJGPP version this could be addressed too. > > Georg Can you clarify this issue? Are you using bnu222br4? Are you using stock djdev204 from the /beta directory? If you are using the latest gcc and binutils send me a small code snipped that produces the bug so I can reproduce the crash or whatever. I myself have successfully used DXE3 building lua521. The produced binary always is able to load a DXE3 file at run time. Please note that you can no longer mix any gcc, binutils and libc as you like. As described in thread gcc 4.6.1 and later produce code for DXE files that is incompatible with libc from djdev204. You have 2 possibilities to prodceed here: 1) If you prefer gcc-4.6.1 and later, you will have to check out the C-library code from the CVS repository and compile your own djdev204. In this case you also need to update to bnu222br4 No older version of binutils will work to produce DXE3 files. 2) Use gcc-4.5.3 or any older version of gcc. They do not generate certain extra frames for exception handling so they can be used with DXE3 as supported by stock djdev204. In this case you also have to use some older binutils port like bnu219 or older. Please in this case do _NOT_ use any of the bnu222 ports to create DXE3 libraries. Again, or use the stock ports gcc453, bnu219 and djdev204 all from the /beta directory or use bnu222br4, gcc461 (or later) and a C-library compiled from a fresh checkout of the sources from the CVS repository. But _NEVER_ mix those things. You cannot use gcc461 or any later version together with stock djdev204 to create DXE3 files. If you do not like to checkout the sources, you can download them from: If you need more info about compiling them, let me know. If all this still does not work for you, please send me a code snipped that produced the bug so I can try to debug it. At least for all my applications DXE3 supports works if the recommendations given above are followed. Regards, Juan M. Guerrero