ld -r errors with C++ objects
Ross Smith
rosss@pharos.co.nz
Sun Aug 3 21:03:00 GMT 2003
> From: Brian R. Gaeke [mailto:gaeke@uiuc.edu]
>
> When I link two particular .o files together into a new relocatable
> (using ld -r) I get errors from ld, instead of a new .o file. This
> happens in many of our C++ projects, but only on Cygwin. I have
> reduced the test cases significantly.
ld doesn't speak C++. Use g++ to link C++ modules.
Ross Smith ...................... Pharos Systems, Auckland, New Zealand
"Remember when we told you there was no future?
Well, this is it." -- Blank Reg
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list