¡@

Home 

c++ Programming Glossary: test.a

Variable dissapears in binary which is available in static lib

http://stackoverflow.com/questions/3881325/variable-dissapears-in-binary-which-is-available-in-static-lib

NULL int main return 0 BUILD g c test.cpp o test.o ar cr test.a test.o g main.cpp o app L home duminda intest test.a nm C test.a.. ar cr test.a test.o g main.cpp o app L home duminda intest test.a nm C test.a 0000000000000054 t global constructors keyed to.. test.o g main.cpp o app L home duminda intest test.a nm C test.a 0000000000000054 t global constructors keyed to _ZN4TestC2Ev..

Linker driving me mad! Please help

http://stackoverflow.com/questions/3888409/linker-driving-me-mad-please-help

NULL int main return 0 BUILD g c test.cpp o test.o ar cr test.a test.o g c main.cpp o main.o g main.o o app Wl whole archive.. g main.o o app Wl whole archive L home dumindara intest test.a Wl no whole archive ERROR linking step usr lib64 gcc x86_64.. you don't need L since you give full path and name of test.a do either Wl whole archive L home dumindara intest ltest Wl..