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/VRTSfssdk/6.0/include
     -L /opt/VRTSfssdk/6.0/lib -ldl -o MyApp \
    MyApp.c libvxfsutil.a

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

  1. Select the compiler path on your local system. Set the CC variable to be the path on your system:
    CC=/opt/bin/cc
    #CC=/usr/local/bin/gcc

    Use whichever path is appropriate for your compiler.

  2. Change to the src or libsrc directory and type:
    # gmake

    or

    # make