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

Re: 64 bit compiling



On Wed, Nov 12, 2008 at 10:20:01AM -0500, Steve West wrote:
> When running on Fedora x86 64 bit do you need to specify -m64 in gcc
> to create 64 bit applications or does it default to 64 bit compile &
> link? 
>
It defaults to 64 bit.

> Also will applications compiled on Fedora x86 32 bit using -m64
> run on Fedora x86 64 bit?
> 
With the possible exception of the kernel, that's unlikely to work at all
since a 32 bit system won't have 64 bit libraries installed to link
against.

Ewan

Attachment: pgp7yw1XTVQ7v.pgp
Description: PGP signature


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