ВходНаше всё Теги codebook 无线电组件 Поиск Опросы Закон Среда
17 июля
586667 Топик полностью
SciFi (18.03.2015 15:22 - 15:27, просмотров: 50) ответил VVB на Да даже если я без -L и -l прямо указываю мою библиотеку, не собирается
Про порядок поиска там тоже написано: 
It makes a difference where in the command you write this option; the linker searches and processes libraries and object files in the order they are specified. Thus, ‘foo.o -lz bar.o’ searches library ‘z’ after file foo.o but before bar.o. If bar.o refers to functions in ‘z’, those functions may not be loaded. ... Normally the files found this way are library files—archive files whose members are object files. The linker handles an archive file by scanning through it for members which define symbols that have so far been referenced but not defined. But if the file that is found is an ordinary object file, it is linked in the usual fashion. The only difference between using an -l option and specifying a file name is that -l surrounds library with ‘lib’ and ‘.a’ and searches several directories.
ส็็็็็็็็็็็็็็็็็็็็็็็็็༼ ຈل͜ຈ༽ส้้้้้้้้้้้้้้้้้้้้้้้