Wednesday, March 3, 2010

Compiler CC and gcc under Unix are able to link each

I've tested that comiler CC and gcc under Solaris 10 are able to link each. It means, a software could be compiled partly in CC, and other in gcc. The could link the generated .so files rightly.

It is very useful while 2 teams need to cooperate, to combine.

测试结果:在Solaris 10 下,使用gcc编译出来的程序可以链接CC编出来的.so库,反之亦然。

在两个团队需要合作,需要集成为一个软件,或者一个团队需要用到第三方的.so库时,这非常有用。

No comments: