I am afraid your message is in an unreadable character set and none was
specified by your mailer. So I don't really know what you used, but I
have ^V where - should be, and so on.
What you would need is
g77 -O2 -c all.f
^ note
You appear to have asked for a file '2' here via -o2.
g77 -shared -o all.dll all.o -lg2c
^ note ^^^^^ note
It is much less error-prone to use
R CMD SHLIB all.f under Unix-alikes
Rcmd SHLIB all.f under Windows
On Thu, 10 Jun 2004, Rui wrote:
> Hi folks,
>
> I tried to compile a FORTRAN routine using the command �g77 �o2 �c
> all.f�, it seems everything is fine, there is no error message at all,
> but finally I can not get the file all.o. Therefore, I can not move on
> to the next step using �g77 �shared �c all.dll all.o� to get the file
> all.dll. The following is what happened on my screen:
> > g77 �o2 �c all.f
> >
> Could anyone help me? Thanks in advance.
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html