Re: [Cppcms-users] ICU lib error in building cppcms 64bit environment
Brought to you by:
artyom-beilis
From: Aris S. <ari...@gm...> - 2010-08-29 20:10:08
|
> Not, there is not import libraries crap so you link against shared > objects directly. But the code, as you mentioned should be compiled > with -fPIC - make it position independent - suitable for shared objects, > static libraries are usually compiled without this option > as expected to be used in static libraries. I have try to pass --with-pic option into "./configure" command and "--with-pic" option wasn't recognized. Then I execute "./configure --help" command to show all acceptable option with "./configure" command, and there is no "--with-pic" option, as explained in some article which show how to use PIC in compilation. How I can compile with -fPIC command? Is it same if I use "--with-pic" option? I use "--with-pic" command because I don't know yet about passing "-fPIC" option. I don't know in which command I must pass it into; in "./configure" or "gcc/g++"? Thanks -Aris |