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 06-21-2007, 01:15 AM   #1
TridentKing
LQ Newbie
 
Registered: Oct 2006
Posts: 21

Rep: Reputation: 15
Compiling for 64 and 32 bit


I use Anjuta for my C/C++ code. All of my installed packages are the 64 bit versions.

I installed Suse 10.2 on an AMD 64 machine and now I wonder if the default compilation is 32 or 64 bit?

Also, how can I switch back and forth between compiling
32 bit and 64 bit programs?

PS
It really doesn't matter what compiler I use, but I like Anjuta. I'll use gcc, Kdevelop or whatever...
 
Old 06-21-2007, 01:41 AM   #2
thloh85
Member
 
Registered: Apr 2006
Location: Earth
Distribution: BLFS customized
Posts: 160

Rep: Reputation: 31
Suse 10 should be 64-bit... But it should be backward compatible with 32bit programs...
And clarify things... No matter what IDE you use(Anjuta, KDevelop, etc)... In linux... Generally you're using GCC(gcc or g++)
Hope this helps...
 
  


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
compiling 64 bit kernel in 32 bit linux MadnessASAP Linux - Hardware 6 05-04-2009 11:47 AM
compiling in 32-bit mode on 64-bit Linux germanymontrealexpat Linux - Software 2 05-26-2006 07:39 AM
Help with compiling rdesktop on a 64 bit machine OmnipotentOscar Linux - Newbie 1 01-18-2005 10:16 AM
Compiling 32-bit binary in a 64-bit environment Kaj Linux - Software 1 12-13-2004 09:43 AM
compiling 64 bit MadnessASAP Linux - Hardware 1 10-10-2004 01:50 PM

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

All times are GMT -5. The time now is 05: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