This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Building shared library with g77 on HP-UX


On Tue, Oct 07, 2003 at 03:42:00PM -0500, Albert Chin wrote:
> I added a -v option to the link line and get:
>   /opt/TWWfsw/gcc33/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3/collect2 -z -b
>   -o build/lib.hp-ux-B.11.11-9000/785-2.3/scipy/linalg/fblas.sl
>   -L/opt/TWWfsw/gcc33r/lib -Lbuild/temp.hp-ux-B.11.11-9000/785-2.3
>   -Lbuild/temp.hp-ux-B.11.11-9000/785-2.3
>   -L/opt/TWWfsw/gcc33/lib/gcc-lib/hppa2.0w-hp-hpux11.11/3.3
>   -L/usr/ccs/bin -L/usr/ccs/lib -L/opt/langtools/lib
>   -L/opt/TWWfsw/gcc33/lib
>   build/temp.hp-ux-B.11.11-9000/785-2.3/opt/TWWfsw/python232p/lib/python2.3/site-packages/f2py2e/src/fortranobject.o
>   build/temp.hp-ux-B.11.11-9000/785-2.3/build/temp.hp-ux-B.11.11-9000/785-2.3/fblasmodule.o
>   -lfblas_f2py -llapack_src -lblas_src -lg2c -lm -lfrtbegin -lg2c -lm
>   -lgcc_s -lgcc_s
> 
> So yes, "-lfrtbegin" is being linked in. Is this wrong? If so, how do
> I fix?

BTW, if I add "-lm" to the command-line, "-lfrtbegin" doesn't get
linked in. What's up with this?

-- 
albert chin (china@thewrittenword.com)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]