This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: cc & gcc


>>>>> "Kai" == Kai Wang <wk@ocarina.ece.ucsb.edu> writes:

 > hi,
 >    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.

Aldy


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]