Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Q: compiling fortran/C++ main's
@ 2000-02-01  5:00 Tuan Le
  2000-02-01  5:00 ` cstranslations
  2000-02-01  5:00 ` Q: " Steve Lionel
  0 siblings, 2 replies; 3+ messages in thread
From: Tuan Le @ 2000-02-01  5:00 UTC (permalink / raw)


I am trying to compile both fortran and c files, but I get an error when
it tries to create 2 different main.o files.  Does anyone know a way
around this error?


Graham




^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Q: compiling fortran/C++ main's
  2000-02-01  5:00 Q: compiling fortran/C++ main's Tuan Le
  2000-02-01  5:00 ` cstranslations
@ 2000-02-01  5:00 ` Steve Lionel
  1 sibling, 0 replies; 3+ messages in thread
From: Steve Lionel @ 2000-02-01  5:00 UTC (permalink / raw)


On Tue, 01 Feb 2000 10:53:08 -0800, Tuan Le <tdle@u.washington.edu>
wrote:

>I am trying to compile both fortran and c files, but I get an error when
>it tries to create 2 different main.o files.  Does anyone know a way
>around this error?

Compaq/DEC Fortran has a -noformain switch to disable generation of a
main program - I don't know if C has something similar.


Steve Lionel (mailto:Steve.Lionel@compaq.com)
Fortran Engineering
Compaq Computer Corporation, Nashua NH

Compaq Fortran web site: http://www.compaq.com/fortran



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: compiling fortran/C++ main's
  2000-02-01  5:00 Q: compiling fortran/C++ main's Tuan Le
@ 2000-02-01  5:00 ` cstranslations
  2000-02-01  5:00 ` Q: " Steve Lionel
  1 sibling, 0 replies; 3+ messages in thread
From: cstranslations @ 2000-02-01  5:00 UTC (permalink / raw)



Tuan Le <tdle@u.washington.edu> wrote in message
news:38972B94.A6FC0852@cs.washington.edu...
> I am trying to compile both fortran and c files, but I get an error when
> it tries to create 2 different main.o files.  Does anyone know a way
> around this error?

Which OS - Tru64 or OpenVMS?

Either way you can't have two "main program units."

Joe





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-02-01  5:00 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-02-01  5:00 Q: compiling fortran/C++ main's Tuan Le
2000-02-01  5:00 ` cstranslations
2000-02-01  5:00 ` Q: " Steve Lionel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox