www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - What to do when the linker fails

reply Benjamin Thaut <code benjamin-thaut.de> writes:
At the current state of my object optlink fails with EID=0042785B

What options do I have to work around this issue?
Go back to older dmd / optlink versions?
Keep coding and hope it fixes itself?
Search for cyclic references and remove them?

-- 
Kind Regards
Benjamin Thaut
Nov 15 2010
parent reply Kagamin <spam here.lot> writes:
Benjamin Thaut Wrote:

 At the current state of my object optlink fails with EID=0042785B
 
 What options do I have to work around this issue?
 Go back to older dmd / optlink versions?
 Keep coding and hope it fixes itself?
 Search for cyclic references and remove them?
dmd has a -lib option to compile to a library.
Nov 15 2010
parent reply Benjamin Thaut <code benjamin-thaut.de> writes:
Am 15.11.2010 12:33, schrieb Kagamin:
 Benjamin Thaut Wrote:

 At the current state of my object optlink fails with EID=0042785B

 What options do I have to work around this issue?
 Go back to older dmd / optlink versions?
 Keep coding and hope it fixes itself?
 Search for cyclic references and remove them?
dmd has a -lib option to compile to a library.
How does that help if the linker crashes? There is a typo in my original post "object" should be "project". -- Kind Regards Benjamin Thaut
Nov 15 2010
parent reply Kagamin <spam here.lot> writes:
Benjamin Thaut Wrote:

 How does that help if the linker crashes?
It can stop crashes.
Nov 15 2010
parent div0 <div0 sourceforge.net> writes:
On 15/11/2010 11:55, Kagamin wrote:
 Benjamin Thaut Wrote:

 How does that help if the linker crashes?
It can stop crashes.
Also try without -g, some times OPTLINK will cope then. Of course then you can't debug your program though... -- My enormous talent is exceeded only by my outrageous laziness. http://www.ssTk.co.uk
Nov 15 2010