Optlink messages
Jeremy
Jeremy_member at pathlink.com
Tue Jun 20 16:14:20 PDT 2006
In article <op.tbgvkcku6b8z09 at ginger.vic.bigpond.net.au>, Derek Parnell says...
>
>On Wed, 21 Jun 2006 01:14:54 +1000, Jeremy <Jeremy_member at pathlink.com>
>wrote:
>
>> C:\dmd\FreeUniverse>build FreeUniverse.d -cleanup -O -debug -inline
>>
>> C:\dmd\FreeUniverse>build FreeUniverse.d -cleanup -O -release -inline
>> OPTLINK (R) for Win32 Release 7.50B1
>> Copyright (C) Digital Mars 1989 - 2001 All Rights Reserved
>>
>> c:\dmd\lib\phobos.lib(ti_double) Offset 1C75EH Record Type 0091
>> Error 1: Previous Definition Different : __init_10TypeInfo_d
>> c:\dmd\lib\phobos.lib(ti_double) Offset 1C778H Record Type 0091
>> Error 1: Previous Definition Different : __Class_10TypeInfo_d
>> c:\dmd\lib\phobos.lib(ti_double) Offset 1C791H Record Type 0091
>> Error 1: Previous Definition Different : __vtbl_10TypeInfo_d
>>
>> So, it seems to compile fine with -debug, but when I use -release, I get
>> weird
>> errors. This is using the new DMD v0.161 -- any ideas?
>
>This is caused by using Build with a response file for the Linker (the
>default behaviour). If you run Build with the -R=No switch, it should work.
>
>The problem is I create the response file as ...
>
> test.obj
> test.exe
> test.map
> somelib.lib
> test.def
> test.res
> /noi/map
>
>but OptLink doesn't like this. It turns out I need to create it as ...
>
> test.obj
> test.exe
> test.map
> somelib.lib
> test.def
> test.res/noi/map
>
>I've repaired Build and will release it later today.
>
>--
>Derek Parnell
>Melbourne, Australia
Yay, sounds good :) Is that -exec bug going to be fixed too?
More information about the Digitalmars-d
mailing list