digitalmars.D - File format unrecognized?
- Jeremy (16/16) May 21 2006 I am using Mingw, build 2.10, and dmd 0.157:
- Walter Bright (3/4) May 21 2006 Mingw and dmd are not compatible with each other. To debug dmd generated...
- Jeremy (5/9) May 22 2006 Yeah, I eventually figured that out to solve my problem. However, windbg...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (3/5) May 22 2006 Why not use GDC, if you want it to be GDB and MinGW-compatible ?
- Jeremy (8/13) May 22 2006 I do like the GDC project -- but I don't like using v0.140, I want to ma...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (10/18) May 22 2006 GDC is currently recovering from the absence of David Friedman,
- Walter Bright (2/13) May 22 2006 What do you mean by it not working? It works when I use it.
- Jeremy (2/15) May 22 2006 http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/37879
- Carlos Santander (4/27) May 22 2006 --
I am using Mingw, build 2.10, and dmd 0.157: C:\dmd\FreeUniverse>build FreeUniverse.d -debug C:\dmd\FreeUniverse>objdump FreeUniverse.exe -Dxr objdump: FreeUniverse.exe: File format not recognized C:\dmd\FreeUniverse>gdb FreeUniverse.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"..."C:\dmd\FreeUniverse/FreeUniverse exe": not in executable format: File format not recognized (gdb) q C:\dmd\FreeUniverse>FreeUniverse.exe <runs fine... except for that damn access violation i can't solve>
May 21 2006
Jeremy wrote:I am using Mingw, build 2.10, and dmd 0.157:Mingw and dmd are not compatible with each other. To debug dmd generated executables, try the windbg debugger included with dmd.zip.
May 21 2006
In article <e4rc8h$1l7a$1 digitaldaemon.com>, Walter Bright says...Jeremy wrote:Yeah, I eventually figured that out to solve my problem. However, windbg is very limitted use, since "-g" doesn't work :( What is the ETA (if any) on getting "-g" to work, and will dmd be compatible with mingw in the (near) future?I am using Mingw, build 2.10, and dmd 0.157:Mingw and dmd are not compatible with each other. To debug dmd generated executables, try the windbg debugger included with dmd.zip.
May 22 2006
Jeremy wrote:What is the ETA (if any) on getting "-g" to work, and will dmd be compatible with mingw in the (near) future?Why not use GDC, if you want it to be GDB and MinGW-compatible ? --anders
May 22 2006
In article <e4sie1$3ag$1 digitaldaemon.com>, =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= says...Jeremy wrote:I do like the GDC project -- but I don't like using v0.140, I want to make sure my application works (and is compiled with) the latest D spec. How does GDC compare with DMD in performance? And I like using 'build', I don't want to make makefiles and such... Maybe I should grab GDC just when I really need GDB compatibility, but otherwise use DMD.What is the ETA (if any) on getting "-g" to work, and will dmd be compatible with mingw in the (near) future?Why not use GDC, if you want it to be GDB and MinGW-compatible ? --anders
May 22 2006
Jeremy wrote:GDC is currently recovering from the absence of David Friedman, so there might be a while yet before any GDC 0.18 with DMD 15x is stable enough for any public consumption - but getting thereWhy not use GDC, if you want it to be GDB and MinGW-compatible ?I do like the GDC project -- but I don't like using v0.140, I want to make sure my application works (and is compiled with) the latest D spec.How does GDC compare with DMD in performance? And I like using 'build', I don't want to make makefiles and such...As far as my own experiences go, DMD is a lot faster then what GDC is... (in the compile step, I haven't actually benchmarked what they generate) But I do think that Build supports GDC, on the "usual two" platforms ?Maybe I should grab GDC just when I really need GDB compatibility, but otherwise use DMD.That seems to be the current status, yes. Never hurts to test with two compilers either, even if GDC is a bit behind now ("soo last year...") --anders
May 22 2006
Jeremy wrote:In article <e4rc8h$1l7a$1 digitaldaemon.com>, Walter Bright says...What do you mean by it not working? It works when I use it.Jeremy wrote:Yeah, I eventually figured that out to solve my problem. However, windbg is very limitted use, since "-g" doesn't work :( What is the ETA (if any) on getting "-g" to work, and will dmd be compatible with mingw in the (near) future?I am using Mingw, build 2.10, and dmd 0.157:Mingw and dmd are not compatible with each other. To debug dmd generated executables, try the windbg debugger included with dmd.zip.
May 22 2006
In article <e4sofb$ahl$1 digitaldaemon.com>, Walter Bright says...Jeremy wrote:http://www.digitalmars.com/drn-bin/wwwnews?digitalmars.D/37879In article <e4rc8h$1l7a$1 digitaldaemon.com>, Walter Bright says...What do you mean by it not working? It works when I use it.Jeremy wrote:Yeah, I eventually figured that out to solve my problem. However, windbg is very limitted use, since "-g" doesn't work :( What is the ETA (if any) on getting "-g" to work, and will dmd be compatible with mingw in the (near) future?I am using Mingw, build 2.10, and dmd 0.157:Mingw and dmd are not compatible with each other. To debug dmd generated executables, try the windbg debugger included with dmd.zip.
May 22 2006
Jeremy escribió:I am using Mingw, build 2.10, and dmd 0.157: C:\dmd\FreeUniverse>build FreeUniverse.d -debug C:\dmd\FreeUniverse>objdump FreeUniverse.exe -Dxr objdump: FreeUniverse.exe: File format not recognizedI believe objdump works with .obj not .exeC:\dmd\FreeUniverse>gdb FreeUniverse.exe GNU gdb 5.2.1 Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-mingw32"..."C:\dmd\FreeUniverse/FreeUniverse exe": not in executable format: File format not recognized (gdb) q C:\dmd\FreeUniverse>FreeUniverse.exe <runs fine... except for that damn access violation i can't solve>-- Carlos Santander Bernal
May 22 2006