Submit a Story  :  IRAF Links  :  Past Polls  :  Calendar  :  Advanced Search  
     iraf.net
FAQ
 Forum FAQForum FAQ   Forum SearchForum Search   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

64 bit compiling problem

 
Post new topic   Reply to topic    iraf.net Forum Index -> Sitemail Archives
View previous topic :: View next topic  
Author Message
Guest
Guest





PostPosted: Mon Sep 19, 2005 8:06 pm    Post subject: 64 bit compiling problem Reply with quote

>From gressett@noao.edu Mon Sep 19 12:18:15 2005
Date: Mon, 19 Sep 2005 12:18:09 -0700 (MST)
From: Katrina Gressett <gressett@noao.edu>
To: Mike Fitzpatrick <fitz@noao.edu>
Subject: 64 bit compiling problems with IRAF and GRASP

Hi Mike,
I'm trying to compile GONG's GRASP package on a fedora core 3, 64 bit
architecture, linux box with iraf 2.12.2 installed (and patched) and I'm
running into a bit of a library problem.

When ever a package tries to link I get this error:
/usr/bin/ld: warning: i386 architecture of input file
`/opt/iraf/iraf/bin.redhat/libvops.a(achtsu.o)' is incompatible with
i386:x86-64 output

Have you guys run into this? Is there a way I can get around this?

Thanks a bunch!
Trina Gressett

--
--
___________________________________________________________
Katrina Gressett
NSO/GONG -- Data Reduction Specialist
gressett@noao.edu
520.318.8568
___________________________________________________________


>From fitz@tucana.tuc.noao.edu Mon Sep 19 12:22:36 2005
Date: Mon, 19 Sep 2005 12:22:35 -0700
From: Mike Fitzpatrick <fitz@tucana.tuc.noao.edu>
To: fitz@noao.edu, gressett@noao.edu
Subject: Re: 64 bit compiling problems with IRAF and GRASP
Cc: fitz@tucana.tuc.noao.edu

Hi Trina,
64-bit compilation is not supported by IRAF and won't likely be
anytime soon given NOAO's decision to "scale back" its IRAF work. The
32-bit compiled binaries will run on some 64-bit hardware but won't take
full advantage of the machine or address space, but it means you can
develop on a 32-bit machine and move the package when done.

-Mike

>From gressett@noao.edu Mon Sep 19 12:40:03 2005
Date: Mon, 19 Sep 2005 12:39:55 -0700 (MST)
From: Katrina Gressett <gressett@noao.edu>
To: Mike Fitzpatrick <fitz@tucana.tuc.noao.edu>
Subject: Re: 64 bit compiling problems with IRAF and GRASP

Thanks Mike!

Though I'm still sort of confused. None of the GRASP code was developed on
the 64-bit platform. So when I run mkpkg to generate the binaries, is
there a way to trick the compiler into compiling 32-bit binaries?

The binaries I generated on my 32-bit platform seem to work fine on the
64-bit platform.

Trina

On Mon, 19 Sep 2005, Mike Fitzpatrick wrote:

> Hi Trina,
> 64-bit compilation is not supported by IRAF and won't likely be
> anytime soon given NOAO's decision to "scale back" its IRAF work. The
> 32-bit compiled binaries will run on some 64-bit hardware but won't take
> full advantage of the machine or address space, but it means you can
> develop on a 32-bit machine and move the package when done.
>
> -Mike
>

--
--
___________________________________________________________
Katrina Gressett
NSO/GONG -- Data Reduction Specialist
gressett@noao.edu
520.318.8568
___________________________________________________________


>From fitz@tucana.tuc.noao.edu Mon Sep 19 12:47:07 2005
Date: Mon, 19 Sep 2005 12:46:56 -0700 (MST)
From: Mike Fitzpatrick <fitz@tucana.tuc.noao.edu>
To: Katrina Gressett <gressett@noao.edu>
Subject: Re: 64 bit compiling problems with IRAF and GRASP


Trina,
GCC does have a "-m32" flag to produce 32-bit binaries which
you can enable by defining

setenv XC_CFLAGS "-m32"
setenv XC_FFLAGS "-m32"

However there is no guarantee this will work, you're better off compiling
on a 32-bit machine.


-Mike



Post generated using Mail2Forum (http://www.mail2forum.com)
Back to top
Display posts from previous:   
Post new topic   Reply to topic    iraf.net Forum Index -> Sitemail Archives All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2009 phpBB Group
 Copyright © 2005-2011 iraf.net
 All trademarks and copyrights on this page are owned by their respective owners.
Powered By Geeklog 
Created this page in 0.11 seconds