This is the mail archive of the
mailing list for the GCC project.
Re: cc & gcc
>>>>> "Kai" == Kai Wang <firstname.lastname@example.org> writes:
> Sorry to bother you guys,but I have a question about gcc.
> Now I'm working on a SUN work station with both cc and gcc.
> I have some c++ source files compiled to *.o file using gcc
> and other c source files compiled to *.o file using cc.My
> question is : can I use cc to link them together to a excutable?
If both compilers use the same abi, yes-- but it's probably best to
save yourself some headache and compile everything with gcc.