由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Programming版 - Ask a g++ compilation qestion
相关主题
AIX, C-shared library, and g++C array
Python problem on 64 bit LinuxA C++ compiler related interview question
Can LGPL, Boost library be used in commercial software developing?请教,关于g++ -l的问题
which gcc version is good for aix 6一个奇怪的library linking问题(c++, boost.python, shared li (转载)
AIX sucks新手,一个C 库的问题
问个面试问题,请教Framework vs Library
C++ class library*** help needed! on MATLAB GUI ***
Linux and Shared objectHow to tell gcc stop compiling.
相关话题的讨论汇总
话题: libraries话题: lib话题: programs话题: qestion话题: ask
进入Programming版参与讨论
1 (共1页)
c**t
发帖数: 2744
1
g++ 3.2 就没有问题。3.4怎么不行?
$ make -f makefile all
rm -f ../../../../programs/libraries/libxmlparse.a
g++ -qmkshrobj -o ../../../../programs/libraries/libxmlparse.so ../../../../programs/libraries/static/libxmlparse_s.a
-blibpath:./programs/libraries:/usr/lib/threads:/lib:/usr/lib:/lib:/software/ace/ACE_wrappers/ace
-L/lib -ldl -lpthreads -ltli_r -lC_r
g++: `-b' must come at the start of the command line
make: *** [../../../../programs/libraries/libxmlparse.a] Error 1
$ g++ --version
g++
t****t
发帖数: 6806
2

~~~~~~~~~~~~~~
what is this?

【在 c**t 的大作中提到】
: g++ 3.2 就没有问题。3.4怎么不行?
: $ make -f makefile all
: rm -f ../../../../programs/libraries/libxmlparse.a
: g++ -qmkshrobj -o ../../../../programs/libraries/libxmlparse.so ../../../../programs/libraries/static/libxmlparse_s.a
: -blibpath:./programs/libraries:/usr/lib/threads:/lib:/usr/lib:/lib:/software/ace/ACE_wrappers/ace
: -L/lib -ldl -lpthreads -ltli_r -lC_r
: g++: `-b' must come at the start of the command line
: make: *** [../../../../programs/libraries/libxmlparse.a] Error 1
: $ g++ --version
: g++

c**t
发帖数: 2744
3
It's "g++ -fPIC -shared ...".
-qmkshrobj is for AIX...

笞髦刑岬 】

【在 t****t 的大作中提到】
:
: ~~~~~~~~~~~~~~
: what is this?

1 (共1页)
进入Programming版参与讨论
相关主题
How to tell gcc stop compiling.AIX sucks
inheritence problem问个面试问题,请教
A tech question (转载)C++ class library
An interesting C++ compile errorLinux and Shared object
AIX, C-shared library, and g++C array
Python problem on 64 bit LinuxA C++ compiler related interview question
Can LGPL, Boost library be used in commercial software developing?请教,关于g++ -l的问题
which gcc version is good for aix 6一个奇怪的library linking问题(c++, boost.python, shared li (转载)
相关话题的讨论汇总
话题: libraries话题: lib话题: programs话题: qestion话题: ask