- C言語なら俺に聞け(入門編)Part 127 [転載禁止]©2ch.net
713 :デフォルトの名無しさん[sage]:2015/01/24(土) 17:10:30.33 ID:9qZykLIl - >>710
man gcc -l library 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.
|
|