April 01, 2007 Linking win32 app | ||||
|---|---|---|---|---|
| ||||
I am trying to link a application with hundreds of object files. Sometimes the linker terminates without message and without writing the executable. Sometimes the linker crashes. It looks like DMD is concating all obj file name and pass them to the linker. If the command line to the linker exceeds 8192 characters, the linking does not succeed. The only way I see is to use parameter files. 1. Call dmd with parameter file to compile 2. Call link directly with parameter file to link Did I miss something? Is it possible to make DMD to call link.exe always internally with a parameter file or pipe or something else that works in a save way? | ||||
April 01, 2007 Re: Linking win32 app | ||||
|---|---|---|---|---|
| ||||
Posted in reply to Frank Benoit (keinfarbton) | On Sun, 01 Apr 2007 17:23:41 +0200, Frank Benoit (keinfarbton) wrote: > Is it possible to make DMD to call link.exe always internally with a parameter file or pipe or something else that works in a save way? Not using the DigitalMars tool set. Using the Bud tool, one can force (or not) the use of a response file for the linker. -- Derek Parnell Melbourne, Australia "Justice for David Hicks!" skype: derek.j.parnell | |||
Copyright © 1999-2021 by the D Language Foundation
Permalink
Reply