LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 01-14-2005, 04:56 AM   #1
Phoenix2206
LQ Newbie
 
Registered: Jan 2005
Location: Kent, England
Distribution: SuSE 9.1 64 bit, FreeBSD 5.3 64 bit
Posts: 18

Rep: Reputation: 0
64 bit programs


I have just recently bought a 64 bit computer and want to take full advantage of it's power.

Is there a C compiler that will compile source code into a 64 bit program? (for Linux)
 
Old 01-14-2005, 05:11 AM   #2
rjlee
Senior Member
 
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
There are several.

I would recommend gcc, as it a) is competitive in terms of optimizing power and b) is a standard compiler for Linux. So long as you have installed the 64-bit version of a Linux distro, it should be installed by default.

Tip: Always compile production code with -O3 for speed, and development code with -Wall to trap common mistakes. You can also set various other flags to tweak the speed of your program; see the manpage.

Code:
man gcc
Also see http://gcc.gnu.org/onlinedocs/gcc-3....4-Options.html
 
Old 01-14-2005, 01:22 PM   #3
Phoenix2206
LQ Newbie
 
Registered: Jan 2005
Location: Kent, England
Distribution: SuSE 9.1 64 bit, FreeBSD 5.3 64 bit
Posts: 18

Original Poster
Rep: Reputation: 0
Hey thanks. SUSE 9.1 should have it then lol.

and FreeBSD...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
bit torrent programs HalkEkmek Ubuntu 4 11-17-2005 03:06 AM
How does the 64 bit version handle interacting with 32 bit programs? purelithium Mandriva 1 11-13-2005 05:16 PM
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 05:50 AM
16 bit programs : useless ? programmershous General 9 07-22-2004 11:24 PM
Graphic Card that Supports displaying 8-bit and 24-bit images simultaneously yrraja Linux - Hardware 2 04-30-2003 06:41 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 04:59 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration