ok recap :
1) we should continue this discussion in a "D" thread, I think there are other problems too
2) it is obvious that codeview stuff will enlarge the exe (so that will explain the size difference)
3) Digital Mars D NEEDS also Digital Marc C (well at least the linker parts of it), I have checked the code of CB for "D" support, it containes some minor errors; You can see them yourself : go to the compiler and debugger settings : choose D compiler, and look at the programs (compare them with DMC), first of all :
- DLL's : link.exe or dmd.exe ?? (for dmc : we specify link.exe)
- static lib's : lib.exe
- push the browse button for the static lib executable -> notice you are in the bin dir of "D", there's no link.exe or lib.exe overthere, since they are being used from DMC (dmd.exe apparantly knows how to get there, the ini file ??) --> so we need to specify them fully ?? and autodetect them fully .. (damn)
- it is for sure that the way dmd.exe and link.exe take their aruments is different !!!
So all you "D" users if you could try to investigate, try out, and report back your research on how it should be done in the other thread (
http://forums.codeblocks.org/index.php?topic=2476.0), I could adopt the "D" support code. Please forgive me that I won't do the investigation myself, I don't have the time at this moment to learn how "D" and it's tools work.
One question for Yiannis : How come there's no entry to specify the linker for exe's ?? (we only can specify for dynamic and static LIBS) ?