delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2012/09/01/07:15:19

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> <ad1f9780-28b4-42a0-8915-5cbb563fee5b AT googlegroups DOT com>
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 <juan DOT guerrero AT gmx DOT de>
Injection-Date: Sat, 01 Sep 2012 10:52:05 +0000
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
<http://www.delorie.com/archives/browse.cgi?p=djgpp-workers/
2011/08/14/12:46:28>
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:
<http://www.ludd.luth.se/~ams/djgpp/cvs/djgpp.cvs.tar.gz>
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

- Raw text -


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