pro64-support
[Top] [All Lists]

IA 64 fortran compiler and getargs

To: pro64-support@xxxxxxxxxxx
Subject: IA 64 fortran compiler and getargs
From: Ole W Saastad <ole@xxxxxxxx>
Date: Wed, 14 Mar 2001 08:58:45 +0100
Organization: Scali A/S
Sender: owner-pro64-support@xxxxxxxxxxx
Dear SGI open source team,
I am trying to get hold of the arguments on the command line
in a fortran program. The usualy way to do this is by calling
getarg. I did not find it in the FAq and nor did I find manuals in
the download area, which forces me to bother you. How do I get 
hold of the command line arguments ?



./Linux2.ia64.gnu/producer_f.o:/home/swtest/work/ScaMPItst/src/apps/producer_f/producer_f.f:124:
undefined
reference to `iargc_'
./Linux2.ia64.gnu/producer_f.o: In function `MAIN__':
./Linux2.ia64.gnu/producer_f.o(.text+0x1e2): undefined reference to
`getarg_'
./Linux2.ia64.gnu/producer_f.o(.text+0x372): undefined reference to
`getarg_'
./Linux2.ia64.gnu/producer_f.o(.text+0x3f2): undefined reference to
`getarg_'
collect2: ld returned 1 exit status


Best regards
Ole W Saastad
Scali AS.
http://www.scali.no

<Prev in Thread] Current Thread [Next in Thread>