I want to build a C project that uses a static library project. When link stops the build. Eclipse try it with:
Invoking: GCC C Linker
gcc-o "src_amrg". / amgr / amgr.o. / amgr / libamgr.o-l "/ home / timo / Projects / test_poc / eclipse / public / src_ioc / debug libsrc_ioc.a /"
/ usr / bin / ld: can not find -l/home/timo/Projects/test_poc/eclipse/public/src_ioc/Debug/libsrc_ioc.a
The following works in ubuntu terminal (without-l flag):
gcc-o "src_amrg". / amgr / amgr.o. / amgr / libamgr.o "/ home / timo / Projects / test_poc / eclipse / public / src_ioc / debug libsrc_ioc.a /"
Version: 3.7.0 Build id: I20110613-1736
C / C + + development tools 8.0.2.20120211192
Ubuntu 11:10
gcc (Ubuntu / Linaro 4.6.1-9ubuntu3) 4.6.1
My Test Project (Library are referenced as workspace-path)
+ test_poc
+ src
+ amrg (That, I would like to build)
amgr.c /. h
libarmg.c /. h
+ ioc (Static Library)
ioc.c /. h
+ eclipse (Workspace)
+ public
+ src_amrg
+ src_ioc
[Updated on: Thu, 15 March 2012 20:23] by Moderator