Recompiling with a different compiler
The required tools for recompiling the src or libsrc directory are as follows:
gmake command
gcc compiler
To recompile the src and libsrc directories
-
Edit the make.env file and modify it with the path to your compiler.
-
Change to the src or libsrc directory and run the gmake command:
-
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:
-
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)
#CC=/usr/local/bin/gcc
-
Change to the src or libsrc and type:
# gmake (or make)