LTG, LF90 or LF95 Produces Compiler Error

LTG, LF90 or LF95 produces the compiler error "ABORT -- Cannot recognize command line".

This error almost certainly comes because the value of the TMP Environment variable contains spaces.
The Lahey compilers F77L3, LF90 and LF95 do not operate if there are any spaces in the TMP Environment variable.

The remedy is to set your TMP Environment variable to something extremely short and simple. eg C:\TEMP or similar.

If you are running Windows 2000 or XP

You can right-click on "My Computer" and select "Properties | Advanced | Environment Variables"
and then edit the User Environment variable called TMP to be C:\TEMP.
Create a new folder C:\TEMP if you do not already have one.

If you are running Windows NT

You can right-click on "My Computer" and select "Properties | Environment Variables"
and then edit the User Environment variable called TMP to be C:\TEMP.
Create a new folder C:\TEMP if you do not already have one.

If you are running a different version of Windows (eg Windows 95, 98 or ME)

You need to change your AUTOEXEC.BAT file. For example, put the line
set TMP=c:\temp
to set TMP to point to directory c:\temp. You need to reboot after making a change to AUTOEXEC.BAT.

Go back to
GEMPACK FAQ Page