Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

When using the Microsoft C compiler shipped with LANSA, the PATH, INCLUDE and LIB environment variables need to be initialized with the location of this compiler. First, run the cmd program to open up a command prompt. Then set the environment variables using the following examples. You will need to change the directory name to reflect where you have installed LANSA:

     set Path=C:\Program Files\LANSA\MicrosoftCompiler90\bin;%Path%
 

...

  set INCLUDE=C:\Program Files\LANSA\MicrosoftCompiler90\include;%include%
 

...

  set LIB=C:\Program Files\LANSA\MicrosoftCompiler90\lib;%lib% 

When using a Microsoft compiler direct from Microsoft, open a command window using the Microsoft-installed short cut similar to Visual Studio Command Prompt (2010) in the Microsoft Visual Studio 2010\Visual Studio Tools program folder. This sets up the required environment variables.

...

Command Notes:

In this command:

     NMAKE /e /a /f U_BIFnnn.MAK SRCROOT=D:\LANSAV10\X_WIN95\X_LANSA TRGROOT=D:\LANSAV10\X_WIN95\X_LANSA

         SRCROOT is the location of the SOURCE directory where the .C is located

...