PDA

View Full Version : Why linker find my default library, LF90.LIB (or F77L3.LIB or ELF90.LIB)


R. T. (Fortran Man)
09-02-2003, 11:35 PM
Why can't the linker find my default library, LF90.LIB (or F77L3.LIB or ELF90.LIB) after the path to my Lahey compiler directories has been changed?

Lahey Support
09-02-2003, 11:35 PM
The linker executable image (386LINK.EXE) is configured with the path to your library directory when you installed the compiler. Now you need to use the following commands to reconfigure it to point to the new path to your *.LIB file:

For LF90 or ELF90:

1. cd <your_new_path>\bin
2. cfig386 -image 2 386link.exe -clear -libpath <your_new_path>\lib

For EM/32:

1. cd \bin
2. cfig386 -last 386link.exe -clear -libpath \lib -minreal 0h -maxreal ffffh -defstubname gorunb