Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: IBM XL Fortran 8.1 for OSX does not load



Boris,

Before you install xlc/xlf, run gcc_select and make sure that it is pointing to version 3.3. On the command prompt, type:

sudo gcc_select 3.3
gcc -v

It should give you the following output:
Reading specs from /usr/libexec/gcc/darwin/ppc/3.3/specs
Thread model: posix
gcc version 3.3 20030304 (Apple Computer, Inc. build 1495)

Then install xlc/xlf and try compiling your program. See if it works.

Thanks.

Yusuf

On Jan 22, 2004, at 9:38 AM, Craig Hunter wrote:

Message: 6
To: email@hidden
From: Boris Blankleider <email@hidden>
Subject: IBM XL Fortran 8.1 for OSX does not load
Date: Thu, 22 Jan 2004 14:28:55 +1030

After installing the beta version of IBM XL Fortran 8.1 for Mac OSX on
my G4 iBook, the simple program x.f, consisting of the three lines
     f=.3
     write(6,*) f
     end
compiles but does not load. Doing, for example, f77 x.f gives output
message

** _main   === End of Compilation 1 ===
1501-510  Compilation successful for file x.f.
/usr/bin/ld: can't map file: /usr/lib ((os/kern) invalid argument)

Does anybody know the origin of this problem?


Let me ask some dumb questions -- have you installed the Apple Developer
tools first? -- did your run the configure script for XLF?


Try using the -c option with XLF to produce an object file without invoking
the linker. Then see if you can manually link it, and use the verbose
options for ld. I've never tried with just one object, I assume it will
still link. Maybe you'll get more useful information.


Craig

--
Dr. Craig Hunter
NASA Langley Research Center
AAAC/Configuration Aerodynamics Branch
email@hidden (new!!)
(757) 864-3020
(Dual G4 - OS X)
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.
_______________________________________________
scitech mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/scitech
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: IBM XL Fortran 8.1 for OSX does not load (From: Craig Hunter <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.