vanam srihari kumar wrote:
I am porting the code which is developed on sun pc and cc compilers to gcc and gpc.But I did not remove sun pc and cc compilers from my machine,anyway I am not using them for compilation.
But I have several doubts, please clarify them
1)I have libc, but I donot have glibc,Do I have to load glibc or libc is enough?
2)I am linking the below libraries besides 'libgcc' and 'libgpc',these libraries are sun libraries,Do we have any equivalent libraries?
libXol libXt libX11 libsocket libintl libnsl libw libposix4 libdl libc libm libxnet libsunmath
You can link to these libraries with gpc also, so there shouldn't be a problem. Or do you want to port the software to another platform ? Then, you have to look at each library whether it is already installed or can be built for that platform (e.g. on my machine libXol, libXt, libX11, libdl, libc and libm are pre-installed). Obviously "libsunmath" is sun specific, so you would have to find out which routines are used from that library (if any) and for what reason.
Regards,
Adraian van Os