Page 1 of 1

ProFortran

Posted: Tue Apr 26, 2016 4:57 am
by swensont
I have been able to compile programs with the Prospero ProFortran compiler. I found that you don't need to load both the Eprom and the resident toolkit (in fact if you have both loaded, the compiler will not work).

The problem that I am having is with executing the resultant binaries. I've compile the PRIME and SQUARES example programs, but when I execute them, nothing happens. Through the Jobs command I can see a new job has started, but the screen has not changed.

I've read through the ProFortan manual and I'm not finding any info there. It says that EX or EXEC will start the programs.

Has anyone else tried this?

Tim Swenson

Re: ProFortran

Posted: Tue Apr 26, 2016 4:59 am
by swensont
Oh, almost forgot. I'm using Q-Emulator version 3.1.3. The EPROM is loaded via the configuration. I also have TK2 loaded as an EPROM. There is no boot, so it can't be a conflicting toolkit for something else.

Tim

Re: ProFortran

Posted: Tue Apr 26, 2016 6:45 am
by QLvsJAGUAR
All runs fine here.

Without going into details, try the thingy out of THE DISTRIBUTION where everything has been pre-configured and tested. The Prospero suite is in the folder \xcl\prs\, the pre-configured QemuLator in the folder \xcl\. Just start QemuLator with the supplied prs-Prospero_Pascal_Fortran77.QCF configuration file.

Once started, here’s the path to success:

In SuperBASIC
PRL
EX F77

Then in the compiler
MDV1_PRIME
. (to take defaults)

Once the compiler has finished his job back in SuperBASIC
EX LINK

In the linker
MDV1_PRIME MDV1_F77

Once the linker has finished his job back in SuperBASIC
EX PRIME_BIN

All fine here.

Never underestimate the power of THE DISTRIBUTION. ;-)

QL forever!

Urs