digitalmars.D.bugs - -g on Linux
- evilmrhenrynospaam emhsoft.net (5/5) Feb 05 2005 So the -g flag isn't actually implemented on Linux. I'm OK with that. Th...
- =?ISO-8859-1?Q?Anders_F_Bj=F6rklund?= (9/22) Feb 06 2005 Actually,
So the -g flag isn't actually implemented on Linux. I'm OK with that. The problem I have is that the console doesn't actually tell you this; the only warning seems to be at the website. I would appreciate it if "dmd -g something.d" outputed something like: Warning: -g flag is not implemented on Linux.
Feb 05 2005
evilmrhenrynospaam emhsoft.net wrote:So the -g flag isn't actually implemented on Linux. I'm OK with that. The problem I have is that the console doesn't actually tell you this; the only warning seems to be at the website. I would appreciate it if "dmd -g something.d" outputed something like: Warning: -g flag is not implemented on Linux.Actually, using -g on Linux does do *something*. It passes -g to the linker...gcc hello.o -o hello -lphobos -lpthread -lm gcc hello.o -o hello -g -lphobos -lpthread -lmBut I guess it's just one of those bugs that'll get fixed before 1.0 ?Linux Bugs * -g is not implemented, because I haven't figured out how to do it yet. gdb still works, though, at the global symbol level.http://www.digitalmars.com/d/dcompiler.html#linux Another thing that is missing is a symbol "demangler" for GDB, although there is a D program that does the actual demangling: http://svn.dsource.org/svn/projects/bindings/trunk/demangle.d --anders
Feb 06 2005