Compiling under Digital Unix

Douglas Bates bates@stat.wisc.edu
18 Jun 1998 17:08:39 -0500


Peter Dalgaard BSA <p.dalgaard@biostat.ku.dk> writes:

> Douglas Bates <bates@stat.wisc.edu> writes:

> > Is anyone familiar enough with Digital Unix to decide why it is
> > defining main in unix/system.o.  I checked and the symbol is indeed
> > defined there.
> 
> We *always* define main there... However, we do not generally use f77
> to link, so my guess would be that the Fortran compiler supplies a
> main() of its own. So perhaps you need to link with (g)cc and add in
> some Fortran libraries?

Of course.  My brain is not functioning it seems.
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._