I have C/C++ programming exper but am just getting started with AS5. Have built a small library with 2 .c files as one lib solution then built a v-e-r-y simple test program as an EXE solution. The link pass on the test program fails: it can't "see" any of the functs invoked from the library. So I'm assuming it either has to do with getting the linker path options just right, or the generated lib file isn't right. A full read thru all the docs for avr-libc GCC and what little there is for AS5 has been no help.
Linker Library options question:
If the generated .a library file in the filepath\Debug folder is "libCB-Library.a", and if the path to that Debug folder is "C:\Users\abc\Documents\AVRStudio\CB-Library\CB-Library\Debug", then does the following linker invocation from AS5 look right?
"C:/Program Files (x86)/Atmel/AVR Studio 5.0/AVR ToolChain/bin/avr-gcc.exe" -Wl,-L"C:\Users\abc\Documents\AVRStudio\CB-Library\CB-Library\Debug" -mmcu=atmega328p -Wl,-Map=Test-GLCD.map -o Test-GLCD.elf Test-GLCD.o -Wl,-lCB-Library
Thanks in advance for any help.