Subj : Re: Unresolved reference __turboFloat To : borland.public.cpp.borlandcpp From : Greg Chicares Date : Sun Dec 05 2004 05:07 pm On 2004-12-05 11:01 AM, Ed Mulroy [TeamB] wrote: > > While the compiler will accept multiple -I statements and > combine them I do not know that the linker will do that for > multiple -L statements. Well, bc++5.02 online help for '-L' says: You can place more than one of each option on the command line, like this: BCC.EXE -Ldirname1 -Ldirname2 -Iinc1 -Iinc2 -Iinc3 myfile.c If you list multiple -L or -I options on the command line, the result is cumulative; the compiler searches all the directories listed in order from left to right But that's wrong and you're right. My personal documentation says: # Contrary to the borland documentation, library paths # *must* be given as # /L$(bc_owl_path)/lib;$(bcXXXdir)/LIB \ # i.e. a single '/L' option with paths separated by a semicolon. # This option: # /L$(bc_owl_path)/lib /L$(bcXXXdir)/LIB \ # will *not* work, even though the documentation says it will. It seems # that the last '/L' option *replaces* any preceding '/L' options. > Assuming that there are 3 desired > paths to search for libraries and they are path1, path2 and > path2 then I would expect to see > > -Lpath1;path2;path3 That works. > and not > -Lpath1 > -Lpath2 > -Lpath3 That does not work. .