? host-cross-20020708.def ? host-cross-20020711.def ? host.def ? xc-config-cf-cygwin.cf-20021016-2004.diff ? xc-config-cf-cygwin.cf.diff Index: cygwin.cf =================================================================== RCS file: /cvs/xc/config/cf/cygwin.cf,v retrieving revision 3.45 diff -U3 -r3.45 cygwin.cf --- cygwin.cf 2002/10/01 14:31:36 3.45 +++ cygwin.cf 2002/10/17 00:34:44 @@ -102,7 +102,7 @@ #define GccGasOption -DGCCUSESGAS #define AsmDefines -DUSE_GAS -DGCCUSESGAS #ifndef LdCmd -#define LdCmd ld -lautomode +#define LdCmd gcc -lautomode #endif /* LdCmd */ #define MkdirHierCmd mkdir -p #ifndef CppCmd @@ -114,6 +114,20 @@ #define LexCmd flex -l #define LexLib -lfl #define HasFlex YES + +/* + * Cygwin-specific Windows resource compiler command + */ + +#ifdef CrossCompileDir +# ifndef WindresCmd +# define WindresCmd Concat3(CrossCompileDir,/,windres) +# endif +#else +# ifndef WindresCmd +# define WindresCmd windres +# endif +#endif #define PreProcessCmd CcCmd -E Index: cygwin.rules =================================================================== RCS file: /cvs/xc/config/cf/cygwin.rules,v retrieving revision 3.21 diff -U3 -r3.21 cygwin.rules --- cygwin.rules 2002/10/02 10:47:47 3.21 +++ cygwin.rules 2002/10/17 00:34:45 @@ -463,3 +463,19 @@ echo "okay, continuing in $(CURRENT_DIR)") #endif /* UseInstalled */ #endif /* ImakeDependency */ + + +/* + * ResourceObjectRule - Build a Windows resouce file (.res) into + * an object file (.o) that can be linked in with the executable + * or library being built. + */ + +#ifndef ResourceObjectRule +#define ResourceObjectRule(basename,depends,options) @@\ +AllTarget(basename.RESsuf) @@\ +basename.RESsuf: basename.RCsuf depends @@\ + RemoveFile($@) @@\ + ClearmakeOSName \ + WindresCmd basename.RCsuf options -O coff -o basename.RESsuf +#endif /* ResourceObjectRule */ Index: cygwin.tmpl =================================================================== RCS file: /cvs/xc/config/cf/cygwin.tmpl,v retrieving revision 3.11 diff -U3 -r3.11 cygwin.tmpl --- cygwin.tmpl 2002/10/01 14:31:36 3.11 +++ cygwin.tmpl 2002/10/17 00:34:45 @@ -46,3 +46,20 @@ #ifndef XawClientLibs #define XawClientLibs $(XAWLIB) $(XMULIBONLY) $(XTOOLLIB) $(XPMLIB) $(XLIB) #endif + + +/* + * Suffix for Windows resource source files + */ + +#ifndef RCsuf +#define RCsuf rc +#endif + +/* + * Suffix for Windows resource compiled files + */ + +#ifndef RESsuf +#define RESsuf res +#endif