digitalmars.D - What to do when the linker fails
- Benjamin Thaut <code benjamin-thaut.de> Nov 15 2010
- Kagamin <spam here.lot> Nov 15 2010
- Benjamin Thaut <code benjamin-thaut.de> Nov 15 2010
- Kagamin <spam here.lot> Nov 15 2010
- div0 <div0 sourceforge.net> Nov 15 2010
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
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
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
Benjamin Thaut Wrote:How does that help if the linker crashes?
It can stop crashes.
Nov 15 2010
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








div0 <div0 sourceforge.net>