This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Trailing underscores needed


I have a project with lots of .c and .f files, which builds OK in UNIX. I am 
new to g77. 

My make does all compiles, then bombs with lots of undefined references from 
.f SUBROUTINEs. I think I need to force trailing underscores, but I don't 
know how. Maybe I need a different library. The undefined references are:
 s_rdue
 do_uio
 e_rdue
 s_wdue
 e_wdue
 s_wsle
 do_lio
 e_wsle
 s_stop
 s_copy
 f_open
 f_clos
 s_paus
 d_mod
 s_wsfi
 do_fio
 e_wsfi
 s_wsfe
 e_wsfe

Mostly, I would appreciate a reference to documentation which explains this 
specific problem.

Thanx,

Marvin E Walden

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]