Recompiling with a different compiler

The required tools for recompiling the src or libsrc directory are as follows:

To recompile the src and libsrc directories

  1. Edit the make.env file and modify it with the path to your compiler.

  2. Change to the src or libsrc directory and run the gmake command:

  3. After writing the application, compile it as follows:

    # gcc -I /opt/VRTS/include -L /opt/VRTS/lib -ldl -o MyApp \
    MyApp.c libvxfsutil.a

To compile the src or libsrc directory, edit the /opt/VRTSfssdk/4.1/make.env file as follows:

  1. Select the compiler path on your local system. choose and edit CC to the path on your system.

    CC=/opt/SUNWspro/bin/cc (Whatever path is appropriate)
  2. Change to the src or libsrc and type:

    # gmake (or make)