This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
RE: Patch for g++
- To: cygwin at sourceware dot cygnus dot com
- Subject: RE: Patch for g++
- From: "Parker, Ron" <rdparker at butlermfg dot com>
- Date: Mon, 5 Jun 2000 18:44:20 -0500
> Was your patch for changing the dll search order, Ron? I must have
> missed it. I'd be happy to ping people about this, too.
It was a simple little patch that removed -lm from the command line for
collect2/ld when called by g++ for a cygwin target. There was no need for
the '-lm' and it will cause virtually all C++ programs to die.
I am working on a more complete patch for cases where a g{cc,++} is
explicitly called with -lm, -lc, etc. The nature of the extended patch is a
change to ld that replaces all references to libs that are symlinks with the
linked-to lib. This is going to require more work as it involves a patch to
binutils and should only happen for cygwin targets. Imagine what would
happen to the shared libraries on a UNIX box if this was indescriminantly
applied to all targets. It could completely mess up using version-numbered
vs. versionless libs.
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com