Re: ld -r errors with C++ objects

2003-08-14 Thread Brian R. Gaeke
> > 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++

RE: ld -r errors with C++ objects

2003-08-14 Thread Ross Smith
> From: Brian R. Gaeke [mailto:[EMAIL PROTECTED] > > > > 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 case

Re: ld -r errors with C++ objects

2003-08-14 Thread Brian R. Gaeke
Ross Smith wrote: > Are you using -Ur? If not, RTFM. If you are, I'm out of suggestions. Danny Smith wrote: > The problem is with the .stabs debugging symbols in C++ - and it has been > around for awhile as you have already noted. Debugging symbols don't seem to > cause problem in C. > > This sho

Re: ld -r errors with C++ objects

2003-08-14 Thread Danny Smith
From: "Brian R. Gaeke" > > > > 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

RE: ld -r errors with C++ objects

2003-08-03 Thread Ross Smith
> From: Brian R. Gaeke [mailto:[EMAIL PROTECTED] > > 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. l