help understanding import libraries

Timon Gehr timon.gehr at gmx.ch
Sat Aug 20 09:44:43 PDT 2011


On 08/20/2011 06:27 PM, Timon Gehr wrote:
> On 08/20/2011 04:35 PM, Andrej Mitrovic wrote:
>> On 8/20/11, maarten van damme<maartenvd1994 at gmail.com> wrote:
>>> Now only how come that
>>> "dmd hello.d" results in a 1.70 mb application whereas
>>> "dmd -c hello.d"&& "dmd hello.obj phobos.lib" results in a 144 kb app
>>
>> In both cases on my system it produces a 464Kb app. You must be doing
>> something wrong. :)
>
> Unless it is a bug of some sort. Maarten, what system are you on? Also,
> can you provide your hello.d?
>
> Have you tried to strip the executable?

should have read "have you tried stripping the executable".


More information about the Digitalmars-d-learn mailing list