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
|