c - Correspoding gcc option? -


with ibm's cc compiler there 1 option -brtl.

cc-brtl .....

this option following:-

-brtl tells linkage editor accept both .so , .a library file types.

i using gcc compiler on ubuntu. want know corresponding option in gcc achieve same thing?

you don't need option gcc. link editor accept both , files default, files being preferred. can think of gcc having opposite behaviour ibm's c compiler: behaviour without options if provided -brtl ibm's c compiler, while option -static turns of dynamic linking (and causes gcc not take files consideration), if didn't specify -brtl ibm's c compiler.


Comments

Popular posts from this blog

java - UnknownEntityTypeException: Unable to locate persister (Hibernate 5.0) -

python - ValueError: empty vocabulary; perhaps the documents only contain stop words -

ubuntu - collect2: fatal error: ld terminated with signal 9 [Killed] -