Mac Nagware Fortran compiler and Leopard

Aiueoz

macrumors newbie
Original poster
Nov 7, 2007
2
0
Hello.

I have used Nagware f95 compiler since I used Tiger.
Just today I've changed the OS to Leopard (ie, Xcode 3.0).
Now I tried to use Nagware f95 compiler as usual, but I've got a message as below:

Undefined symbols:
"___NAGf90_sin_c", referenced from:
flat_namespace undefines in libf98.dylib
"___NAGf90_sqrtd", referenced from:
flat_namespace undefines in libf98.dylib
"___NAGf90_sqrtf", referenced from:
flat_namespace undefines in libf98.dylib
ld: symbol(s) not found
collect2: ld returned 1 exit status

It seems to be the library path has changed.

I don't know how to fix it...
If you know how to cope with this problem, could you tell me, please?

Best regards,

Aiueoz
 

ChrisA

macrumors G4
Jan 5, 2006
11,616
438
Redondo Beach, California
What's wrong with gcc? gcc does FORTRAN 90 just fine.

When you build gcc you can enable any of sevral languages. The gcc in xcode has only C, C++ and Objective C but you can also get it to do Ada, FORTRAN and Java. You can go to the GNU site and get the source or get it from Fink pre built. I just had to compile from source on Solaris. Took "forever" even on a modern high end SPARC server.
 

Eraserhead

macrumors G4
Nov 3, 2005
10,410
10,815
UK
What's wrong with gcc? gcc does FORTRAN 90 just fine.
Unless they've updated it in the last year to do so, it doesn't on the Mac.

Hello.

I have used Nagware f95 compiler since I used Tiger.
Just today I've changed the OS to Leopard (ie, Xcode 3.0).
Now I tried to use Nagware f95 compiler as usual, but I've got a message as below:
You could try the latest version of g95 here.

Alternatively you can use the Intel Compiler for evaluation.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.