User forums > Using Code::Blocks
-fPIC flag is not showing in list
Rahul:
hi to all, I've centos 6.4 in VM and codeblocks 16. I developed shared library project before ( i installed in previous VM of centos due to some reason i removed that centos and installed new). After that i installed codeblocks 16 in new centos. But having problem with codeblocks it is not showing -fPIC flag for shared lib project and that page is not showing. this is image of previous centos and codeblocks :
(i don't know how to upload images)
oBFusCATed:
Have you looked if the option is in the other compiler options tab?
Rahul:
thanks for your reply, yes i saw in project-build-opotion->other-compiler-option there is nothing
oBFusCATed:
This is text field where you can enter anything you like.
Rahul:
but question is how to find "-fPIC" flag in codebloks compiler settings. hare is screenshot of compiler flags option :
Navigation
[0] Message Index
[#] Next page
Go to full version