[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross compiler deb package question



On Wednesday 22 January 2003 20:07, Bart Trojanowski wrote:

> So to build for x86-64 I just have to specify -mcpu=x86_64, while the
> default is i386, right?

Almost. The actual parameter is '-m64' (luckily the same as on s390 and
sparc). With '-mcpu=x86-64', you probably get an i386 binary that is 
optimized for running on Hammers in 32 bit mode.

The ncurses package is actually not needed for running the others, you
can see it as an example for how to build 64 bit binaries. There, I
have added a fifth library target 'libncurses5-64' in addition to the
existing 'libncurses{,w}5{,-dbg}' packages.

	Arnd <><




Reply to: