Here's a patch for the -fPIC warnings on Cygwin (issue STCXX-346). I got a little crafty with the conditional and used findstring instead of two ifs. I hope that's okay. I also took the liberty to add a "-*- Makefile -*-" tag to the top of the file to enable emacs syntax highlighting.
-- Mark Index: /home/mbrown/stdcxx/etc/config/gcc.config =================================================================== --- /home/mbrown/stdcxx/etc/config/gcc.config (revision 513621) +++ /home/mbrown/stdcxx/etc/config/gcc.config (working copy) @@ -1,3 +1,4 @@ +# -*- Makefile -*- # # $Id$ # @@ -48,9 +49,10 @@ DEPENDFLAGS = -M -# IBM AIX code is always position independent -ifneq ($(OSNAME),AIX) -PICFLAGS = -fPIC +# avoid adding -FPIC on IBM AIX and Cygwin where +# gcc generated code is always position independent +ifeq (,$findstring |$(OSNAME)|,|AIX|CYGWIN|) + PICFLAGS = -fPIC endif ifeq ($(OSNAME),SunOS) ____________________________________________________________ ONE-CLICK WEBMAIL ACCESS - Easily monitor & access your email accounts! Visit http://www.inbox.com/notifier and check it out!