Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-25 Thread Koi via Digitalmars-d-learn

On Monday, 23 March 2015 at 13:29:15 UTC, wobbles wrote:

Maybe this should be distributed in the DMD installer?


i don't know :)


Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-23 Thread wobbles via Digitalmars-d-learn

On Sunday, 22 March 2015 at 15:29:00 UTC, Koi wrote:


thank you Etienne, after i replaced dmd's link.exe my project 
compiles successfully in debug-mode again.


i'll add this info in my "todo-after-installing-DMD.txt" just 
in case.


On Sunday, 22 March 2015 at 14:29:14 UTC, Etienne wrote:

This is due to a high amount of symbols in your code.

I fixed this almost a year ago in the optlink repository:

https://github.com/DigitalMars/optlink/pull/15

You should be able to download it on the digitalmars.com 
website under:


Digital Mars C/C++ Compiler Version 8.57 (3662658 bytes)

The link.exe file in the bin folder is up-to-date.



Maybe this should be distributed in the DMD installer?


Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-22 Thread Koi via Digitalmars-d-learn


thank you Etienne, after i replaced dmd's link.exe my project 
compiles successfully in debug-mode again.


i'll add this info in my "todo-after-installing-DMD.txt" just in 
case.


On Sunday, 22 March 2015 at 14:29:14 UTC, Etienne wrote:

This is due to a high amount of symbols in your code.

I fixed this almost a year ago in the optlink repository:

https://github.com/DigitalMars/optlink/pull/15

You should be able to download it on the digitalmars.com 
website under:


Digital Mars C/C++ Compiler Version 8.57 (3662658 bytes)

The link.exe file in the bin folder is up-to-date.






Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-22 Thread Etienne via Digitalmars-d-learn

On 3/20/2015 1:35 PM, Koi wrote:

Hello,

after some coding i needed to update some external libraries like
DerelictSDL2. As we all know, one update isn't enough, so i
updated my whole d-environment at the end of the day (current dmd
version, VisualD).

After getting rid of some linking errors (symbols undefined) i
have only one error left:
Optlink:
Error 45: Too Much DEBUG Data for Old CodeView format

i googled, but really can't figure out what this error is about.


This is due to a high amount of symbols in your code.

I fixed this almost a year ago in the optlink repository:

https://github.com/DigitalMars/optlink/pull/15

You should be able to download it on the digitalmars.com website under:

Digital Mars C/C++ Compiler Version 8.57 (3662658 bytes)

The link.exe file in the bin folder is up-to-date.


Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-22 Thread Koi via Digitalmars-d-learn

On Saturday, 21 March 2015 at 21:25:26 UTC, Trass3r wrote:
Just save yourself lots of headaches and abandon the 
optlink/omf crap with -m64 resp. -m32mscoff.


thank you.

After some reading about m32mscoff, i have to recompile druntime 
and phobos with MODEL=32mscoff to use the new switch?


Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-21 Thread Trass3r via Digitalmars-d-learn
Just save yourself lots of headaches and abandon the optlink/omf 
crap with -m64 resp. -m32mscoff.


Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-21 Thread Koi via Digitalmars-d-learn

On Friday, 20 March 2015 at 21:35:54 UTC, Orfeo wrote:

You can refer to
http://forum.dlang.org/post/jhbgaacoguxaubxgp...@forum.dlang.org


but i don't want to throw in the towel. ;)
Compiling in release mode works fine, yes.


Do you use dub?
I resolved my problems (on Win) abandoning dub
and using makefile.



i used dub to create the Derelicts .lib files. My VisualD project 
use this dmd command:


"$(VisualDInstallDir)pipedmd.exe" dmd -g -debug -X 
-Xf"$(IntDir)\$(TargetName).json" 
-IC:\_projekte\D\Workspace\Derelict3-Updated\import 
-deps="$(OutDir)\$(ProjectName).dep" 
-of"$(OutDir)\$(ProjectName).exe" -map 
"$(INTDIR)\$(SAFEPROJECTNAME).map" -L/NOMAP 
C:\_projekte\D\Workspace\Derelict3-Updated\DerelictUtil\lib\DerelictUtil.lib 
C:\_projekte\D\Workspace\Derelict3-Updated\DerelictSDL2\lib\DerelictSDL2.lib 
C:\_projekte\D\Workspace\Derelict3-Updated\DerelictGL3\lib\DerelictGL3.lib 
C:\_projekte\D\Workspace\Derelict3-Updated\DerelictAl\lib\DerelictAL.lib 
C:\_projekte\D\Workspace\Derelict3-Updated\DerelictFt\lib\DerelictFT.lib 
-L/SUBSYSTEM:WINDOWS


Re: OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-20 Thread Orfeo via Digitalmars-d-learn

You can refer to
http://forum.dlang.org/post/jhbgaacoguxaubxgp...@forum.dlang.org

Do you use dub?
I resolved my problems (on Win) abandoning dub
and using makefile.


On Friday, 20 March 2015 at 17:35:19 UTC, Koi wrote:

Hello,

after some coding i needed to update some external libraries 
like

DerelictSDL2. As we all know, one update isn't enough, so i
updated my whole d-environment at the end of the day (current 
dmd

version, VisualD).

After getting rid of some linking errors (symbols undefined) i
have only one error left:
Optlink:
Error 45: Too Much DEBUG Data for Old CodeView format

i googled, but really can't figure out what this error is about.




OPTLINK Error 45 "Too Much DEBUG Data for Old CodeView format"

2015-03-20 Thread Koi via Digitalmars-d-learn

Hello,

after some coding i needed to update some external libraries like
DerelictSDL2. As we all know, one update isn't enough, so i
updated my whole d-environment at the end of the day (current dmd
version, VisualD).

After getting rid of some linking errors (symbols undefined) i
have only one error left:
Optlink:
Error 45: Too Much DEBUG Data for Old CodeView format

i googled, but really can't figure out what this error is about.