LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 04-19-2007, 02:18 PM   #1
arya
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Rep: Reputation: 0
GCC issue in 64 bit Linux


Hi, I am trying install R (64 bit) on 64 bit machine with with gcc version 3.4.2 installed. Executing gcc v gave me following out put.
Reading specs from /mypath /Linux/src/gcc/gcc-3.4.3/bin/../lib/gcc/i686-pc-linux-gnu/3.4.3/specs
Configured with: ../src/gcc-3.4.3/configure --prefix=/mypath /Linux/src/gcc/gcc-3.4.3
Thread model: posix
gcc version 3.4.3

When I run configure command to generate make file. I got following errors (in my config.log file)


Quote:
.
.
.
. /tmp/ccv2oqk7.s: Assembler messages:
/tmp/ccv2oqk7.s:6: Error: suffix or operands invalid for `push'
.
.
configure:4103: error: C compiler cannot create executables
See `config.log' for more details
.

I also tried using gcc m64 option instead of just gcc (in CC field), but in that case I got following error message.

Quote:
sorry, unimplemented: 64-bit mode not compiled in
After trying to complile it with different options, I tried to compile a simple hello world type program, but I got exactly same type of errors. However the program complied perfectly in other 32 bit Linux machine. Also, I successfully complied my hello world program with m64 option in solaris machine.

So, I guess its some configuration issue with that particular machine, but I couldnt figure out what it is. Any help or suggestions will be greatly appreciated. Thank you


By the way, gcc is installed in NFS and used by all Linux machine both 32 and 64.
 
Old 04-19-2007, 02:33 PM   #2
trickykid
Guru
 
Registered: Jan 2001
Posts: 24,133

Rep: Reputation: 194Reputation: 194
This is just a wild guess but when I have problems with gcc on 64 bit machines usually dealing with VMware, I had to install gcc.i386 for some things to compile..

yum install gcc.i386
 
Old 04-19-2007, 03:20 PM   #3
arya
LQ Newbie
 
Registered: Apr 2007
Posts: 4

Original Poster
Rep: Reputation: 0
re:

Quote:
Originally Posted by trickykid
This is just a wild guess but when I have problems with gcc on 64 bit machines usually dealing with VMware, I had to install gcc.i386 for some things to compile..

yum install gcc.i386
Hi, thank you very much for the answer. Could you please tell me, what is the difference between gcc-i386 and current gcc I have? . Also, can I build 64 bit application with this complier (gcc.i386)? As I want to build 64 bit version R in the current machine. By the way, I am not using VMware. Thank you.

Last edited by arya; 04-19-2007 at 03:21 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Community: Why There is Better Driver Support in 64-bit Linux Than 64-bit Windows XP LXer Syndicated Linux News 0 10-18-2006 09:33 PM
GCC compiler option for 64 bit lilzz Linux - Newbie 2 08-15-2006 11:48 PM
gcc, etc for 64 bit Suse 10.0 Linux Yast Conflicts munichtexan Linux - Software 15 11-19-2005 06:13 PM
Mozilla Issue... Need a tiny bit of help inspectreo Linux - Newbie 4 04-23-2005 12:28 AM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration