[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ncurses on power
From: |
Thomas Dickey |
Subject: |
Re: ncurses on power |
Date: |
Wed, 11 Dec 2013 19:14:30 -0500 |
User-agent: |
Mutt/1.5.20 (2009-06-14) |
On Wed, Dec 11, 2013 at 02:33:45PM -0500, Frank Winter wrote:
> All,
>
> I am having trouble building ncurses on the Power 64bit
> architecture. I tried version 5.8 and 5.9. Both builds fail with the
> same linker error:
>
> /bgsys/drivers/toolchain/V1R1M2/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld:
> unrecognized option '--end-group-lgcc'
> /bgsys/drivers/toolchain/V1R1M2/gnu-linux/lib/gcc/powerpc64-bgq-linux/4.4.6/../../../../powerpc64-bgq-linux/bin/ld:
> use the --help option for usage information
> collect2: ld returned 1 exit status
>
>
> I configured the package quite standard I would say:
>
> /home/dp007/dp007/fwinter/src/ncurses-5.9/configure
> --prefix=/home/dp007/dp007/fwinter/toolchain/install/ncurses-5.9-gcc
> CC=gcc CFLAGS=-O3 CXX=g++ CXXFLAGS=-O3
>
>
> I grepped for --end-group-lgcc in the package (source directory) and
> it doesn't seem to be used anywhere. So, I don't know where this
> flag entered.
The linker generally uses a script - I'd look there.
gcc has a verbose option which helps find the script, by showing
the parameters passed to the linker.
(gcc --help):
-v Display the programs invoked by the compiler
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
signature.asc
Description: Digital signature
- ncurses on power, Frank Winter, 2013/12/11
- Re: ncurses on power,
Thomas Dickey <=