Mail Archives: djgpp/2012/09/01/07:15:19
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 -