[Insight-developers] RE: [Insight-users] linker error with Borland
Bill Hoffman
bill.hoffman@kitware.com
Fri, 04 Oct 2002 14:40:22 -0400
The only other thing we could do, is to create a static library
that has the test sources, and link the test driver to that library.
-Bill
At 02:33 PM 10/4/2002 -0400, you wrote:
>Nope.
>
>> -----Original Message-----
>> From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
>> Sent: Friday, October 04, 2002 2:32 PM
>> To: Miller, James V (Research)
>> Subject: RE: [Insight-users] linker error with Borland
>>
>>
>> So, -lGn did not work?
>>
>> -Bill
>>
>>
>> At 01:34 PM 10/4/2002 -0400, you wrote:
>> >Didn't seem to help.
>> >
>> >> -----Original Message-----
>> >> From: Bill Hoffman [mailto:bill.hoffman@kitware.com]
>> >> Sent: Friday, October 04, 2002 1:04 PM
>> >> To: Miller, James V (Research)
>> >> Subject: RE: [Insight-users] linker error with Borland
>> >>
>> >>
>> >> -lx Pass option x to linker
>> >> or this one:
>> >> -l-x Disables option x for the linker
>> >>
>> >>
>> >> At 12:41 PM 10/4/2002 -0400, you wrote:
>> >> >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
>> >> >>
>> >> >>
>> >> >_______________________________________________
>> >> >Insight-users mailing list
>> >> >Insight-users@public.kitware.com
>> >> >http://public.kitware.com/mailman/listinfo/insight-users
>> >>
>> >>
>>
>>