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

Need Help in compiling



Hello
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
displaymessage.f and this subroutine uses another subroutine display.f
i compiled all of them in single library say libt.a when a make an
executable file of it the error is
No Main Fortran Program to execute
i dont know why it is so while test.f  is the main program
on the other hand when i compile them with followinf commands
f77 -o tt test.f displaymessage.f display.f it works
please help me i want to make exe from library
sajid



Post your free ad now! Yahoo! Canada Personals

Reply to: