AMD64 server 6.06 - looking for pointers to Makefile setup

James Gray james at grayonline.id.au
Tue Jul 18 06:16:37 UTC 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Stu Beal wrote:
> Good Morning. I'm a new convert to Ubuntu (other systems Debian + Mac OS
> X).
> 
> I am looking for a pointer to any development hints and kinks for an
> Athlon based server (LAMP). I have a pile of C software to implement and
> I'm a little mystified as to all the options for compiling. -mcpu is
> depricated, and -march=athlon or -mtune=athlon generates "error: CPU you
> selected does not support x86-64 instruction set".
> 
> Is there a FAQ or HOWTO on AMD 64 bit specifics?

man gcc

- -m32
- -m64
    Generate code for a 32-bit or 64-bit environment.  The 32-bit envi-
    ronment sets int, long and pointer to 32 bits and generates code
    that runs on any i386 system.  The 64-bit environment sets int to
    32 bits and long and pointer to 64 bits and generates code for
    AMD's x86-64 architecture.


I think that should point you in the right direction :)  Beyond the gcc
and ld man pages, google is your friend.

Cheers,

James
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFEvHzFwBHpdJO7b9ERAiunAKDLfmeQ/ugDyw7dIo2hxSkKXe0CjACeN7hz
nOcgP8F6DQq4pSxnRsmBzJo=
=zDdF
-----END PGP SIGNATURE-----





More information about the ubuntu-users mailing list