From: Sam S. <sd...@gn...> - 2011-07-08 13:10:31
|
> * Yaroslav Kavenchuk <xnirapuhx@tznvy.pbz> [2011-07-08 09:35:39 +0300]: > > Sam Steingold wrote: >> what happens if you replace "UTILCC=gcc" with "UTILCC=$(CC)" in Makefile? > > the same result > > and rpl_malloc is not present in mingw of course it does not - it's in libgnu.a. how about this: diff -r d34dd44824e9 src/makemake.in --- a/src/makemake.in Fri Jul 08 09:08:50 2011 -0400 +++ b/src/makemake.in Fri Jul 08 09:08:56 2011 -0400 @@ -2334,6 +2334,7 @@ elif [ $CROSS = true ]; then else echol "UTILCC=\$(CC)" fi +EXTRAOBJ=${GLLIB_A} UTILCOMPILE="\$(UTILCC) \$(CPPFLAGS) \$(CFLAGS) \$(CLFLAGS) ${EXTRAOBJ}" for util in ${UTILS} ; do echol "${util}${HEXE} : ${UTILDIR_M}${util}.c" you might need to play with the argument order; maybe try edititing the Makefile directly putting libgnu.a before or after the object file(?) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://truepeace.org http://memri.org http://iris.org.il http://honestreporting.com http://thereligionofpeace.com Single tasking: Just Say No. |