# CONFIG.win32-x86-cygwin.win32-x86-cygwin # # Revision-Id: anj@aps.anl.gov-20101005192737-disfz3vs0f3fiixd # # Definitions for win32-x86-cygwin host - win32-x86-cygwin target builds # Sites may override these definitions in CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin #------------------------------------------------------- # Include common gnu compiler definitions include $(CONFIG)/CONFIG.gnuCommon # cygwin's gcc, g++, ar, ld, and ranlib must be in user's path CC = gcc CCC = g++ AR = ar -rc LD = ld -r RANLIB = ranlib RES=.coff RCCMD = windres $(INCLUDES) $< $@ # No -fPIC avoids "-fPIC ignored for target (all code is position independent)" SHRLIB_CFLAGS = SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX) LOADABLE_SHRLIB_LDFLAGS = -shared -Wl,--out-implib,$(LIB_PREFIX)$*$(LIB_SUFFIX) # Override linking with gcc library from CONFIG.gnuCommon GNU_LDLIBS_YES =