[Insight-users] linker error with Borland

Miller, James V (Research) millerjv@crd.ge.com
Fri, 4 Oct 2002 12:41:29 -0400


I couldn't see where to do that.  There is a 

/Gn link option to turn off incremental linking

But only the linker ilink32 accepts this option.
It looks like the generated makefile uses bcc32 to
link executables. I don't see an entry in the CMakeCache
to force ilink32 to be used.



> -----Original Message-----
> From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
> Sent: Friday, October 04, 2002 12:31 PM
> To: Miller, James V (Research); 'Luis Ibanez'; dean.inglis@on.aibn.com
> Cc: insight-users@public.kitware.com
> Subject: RE: [Insight-users] linker error with Borland
> 
> 
> Can we turn off incremental linking?
> 
> 
> At 11:52 AM 10/4/2002 -0400, Miller, James V (Research) wrote:
> >Looks like we have been able to get a build going here that
> >uses the MinSizeRel build configuration. This seems to keep the 
> >tds files about an order of magnitude smaller.
> >
> >So we have a little more room before we hit the Borland ceiling.
> >We may still have issues with the examples. Unfortunately, we may 
> >be limited to using to using the MinSizeRel configuration only. 
> >
> >Don't know if this can be set as the default in CMake. 
> >
> >Also don't know whether the newer Borland Builder suite still has
> >this tds size issue.
> >
> >Jim
> >
> >
> >
> >> -----Original Message-----
> >> From: Luis Ibanez [mailto:luis.ibanez@kitware.com]
> >> Sent: Friday, October 04, 2002 10:22 AM
> >> To: dean.inglis@on.aibn.com
> >> Cc: insight-users@public.kitware.com
> >> Subject: Re: [Insight-users] linker error with Borland
> >> 
> >> 
> >> 
> >> Hi Dean,
> >> 
> >> Does the Borland linker has an option for increasing the size 
> >> of the stack ?
> >> 
> >> For VC++ we have to set it quite large.....=  0x989680
> >> 
> >> This may be related to the error you are getting...
> >> 
> >>   Just a guess.
> >> 
> >>       Luis
> >> 
> >> ========================================================
> >> 
> >> dean.inglis@on.aibn.com wrote:
> >> 
> >> >Hi,
> >> >
> >> >I'm getting a pb with linking of the sort:
> >> >Turbo Incremental Link 5.00 Copyright (c) 1997, 2000 Borland
> >> >Fatal: Error detected (LME351)
> >> >Warning: Cannot reserve virtual memory at addr
> >> >720C0000 for -786432 bytes (errcode 87)
> >> >** error 1 ** deleting 
> >> c:\Builder\itkRelease\bin\itkAlgorithmsTests.exe
> >> >
> >> >The Borland incremental linker seems to conk out
> >> >when the .tds file ( associated with the exe)
> >> >containing debug info etc. gets to around 35 Mb.
> >> >
> >> >I have increase virtual memory on a system that 
> >> >already has 768 Mb physical RAM.
> >> >
> >> >Dean
> >> >
> >> >_______________________________________________
> >> >Insight-users mailing list
> >> >Insight-users@public.kitware.com
> >> >http://public.kitware.com/mailman/listinfo/insight-users
> >> >
> >> 
> >> 
> >> 
> >> 
> >> 
> >> _______________________________________________
> >> Insight-users mailing list
> >> Insight-users@public.kitware.com
> >> http://public.kitware.com/mailman/listinfo/insight-users
> >> 
> >_______________________________________________
> >Insight-users mailing list
> >Insight-users@public.kitware.com
> >http://public.kitware.com/mailman/listinfo/insight-users 
> 
>