This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


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

Re: c++: unrecognized option `-rdynamic'


On Sat, 31 Mar 2001, Tom Weichmann wrote:

> I was just compiling the latest Octave (2.1.33) with the latest 
> version of Cygwin.  Octave has been compiling OOTB for a awhile 
> now, but I have ran into an error.  I am not sure if this a Cygwin 
> problem - something broken in this release, or if it is a new feature 
> in Octave which has never been supported in Cygwin.  Here is my 
> error:
[ ... ]
> c++: unrecognized option `-rdynamic'

It's a bug in the configuration, and since it's harmless, nobody had
bothered to remove it. However, it should be fixed in recent CVS. If
not, please send a note to Octave mailing list.

> What is -rdynamic?

It's used for resolving symbols in the executable itself when using
dynamic loading, and typically is a synonym for whatever the native 
linker expects (-export-dynamic on Linux for example). On some OS's
such as IRIX, it's ignored, and just works. On others such as Cygwin,
it's a bit more tricky, since you'll have to explicitly export all
the symbols that you want to load dynamically.

Regards,
Mumit



--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple


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