[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need Help in compiling



Incoming from sajid hameed:
> 
> i have started using unix recently i have an problem using fortran
> i have write a program in fortran namely test.f that uses a subroutine 

For one thing, don't call it "test"; there already is a test program
in unix, and it's a fairly important one.  To keep from getting in the
way of already existing programs, see if they exist first by (eg.)
typing "which test"; you'll see there's a /usr/bin/test

Secondly, if your objects are now in a library, supply the library
name with -Ldir   See "man f77" and "man gcc".


-- 
Any technology distinguishable from magic is insufficiently advanced.
(*)               http://www.spots.ab.ca/~keeling 
- -



Reply to: