February 06, 2005 -g on Linux | ||||
---|---|---|---|---|
| ||||
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. |
February 06, 2005 Re: -g on Linux | ||||
---|---|---|---|---|
| ||||
Posted in reply to evilmrhenrynospaam | 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... > # dmd hello.d > gcc hello.o -o hello -lphobos -lpthread -lm # dmd -g hello.d > gcc hello.o -o hello -g -lphobos -lpthread -lm But 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 |
Copyright © 1999-2021 by the D Language Foundation