On 8/24/2010 11:55 PM, jmchu@xxxxxxx wrote:
Hi,
I am running Cygwin on Windows 7 and I am trying to compile a c file that
has uses a function from a c++ file.
........
I think the linker does not know where to look for my wireless.o file,
it is at the current directory of make file/build.328/obj
how do I tell the linker where to look? when I tried -l/build.328/obj ,
it kept saying folder not found
Doesn't that expand to /libbuild.328/obj (adding an entire directory in
the top level of your cygwin installation to the link; seems unlikely to
work even if it exists)? Did you mean simply
build.328/obj/wireless.o
?
--
Tim Prince