Subj : Re: problems with command line linker To : borland.public.cpp.borlandcpp From : Ed Mulroy [TeamB] Date : Fri Jun 03 2005 07:36 pm Jack, It's great to hear that you've found it! .. Ed > JackRosenbloom wrote in message > news:42a09bb4$1@newsgroups.borland.com... > > Thanks for your feedback. I should have been able to find this myself. > Here's what I found: > > 1) Duplicate symbols was me being blind. There is a module in my library > with a similar looking name as the application which I mis-read. The > duplicate error was actually refering to a duplication in my application, > not between the library and application. > > 2) the fixup error was caused by the -Ff=2000 switch. The symbol is > larger than 2000 bytes. > > The compiler/linker switches I got came from using the IDE "Generate > Makefile" command. The makefile it created didn't work, so I have been > simplifying it. The duplicate symbol error got introduced through a > manual editting mistake. > > The -Ff2000 is a little different. In my IDE, I have the options: > > Far Data threshold = 2000 > Automatic far data is NOT checked > > I assume that the reason the IDE build doesn't cause the fixup error is a > bug in the automatic makefile generation. Looks like -Ff2000 should not > be in the build. I assume that in the IDE build, the 2000 parameter is > ignored because Automatic far data is off. > > > Thanks for your guidance. You were a great help! .