pisze taki sobie programik ktory powiedzmy sklada sie z 5 plikow.
Pod CygWinem kompiluje sie ladnie kazdy pliczek z osobna i pozniej linkuje sie tez pieknie..
pod Linuxem.. hmm.. kazdy pliczek sie ladnie kompiluje ale z linkowanie jest cos nie tak:
TSquery.o(.text+0x9d7): In function `TSquery::TSquery[not-in-charge](std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, unsigned short, unsigned short, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&, std::basic_string<char, std::char_traits<char>, std::allocator<char> >&)' undefined reference to 'std::basic_string<char, std::char_traits<char>, std::allocator<char> >::_S_empty_rep_storage'
(to tylko wycinek ale taki sam blad dla kazdego z artumentow konstruktora klasy TSquery)
a jak wpisze
g++ `ls *.cpp` -o AATSI
to sie kompiluje