2009/12/23 Alon Bar-Lev <alon.bar...@gmail.com>: > Oh... For the comment I understand that you did not fully understand > the reason for failure... > > For testing if the malloc is gnu malloc or not a autoconf must try to > *RUN* a program... > --- > int > main () > { > return ! malloc (0); > ; > return 0; > } > --- > > The problem is that when you cross compile autoconf cannot run any > program, so it cannot detect malloc variant. So using this macro > usually breaks cross compiling. > > Now I understand why I have some issues that you don't have... you run > on Windows while I cross-compile all my programs in Linux... :) > > Alon. > > On Wed, Dec 23, 2009 at 3:29 PM, Kai Tietz <ktiet...@googlemail.com> wrote: >> 2009/12/23 Alon Bar-Lev <alon.bar...@gmail.com>: >>> On Wed, Dec 23, 2009 at 3:03 PM, Kai Tietz <ktiet...@googlemail.com> wrote: >>>> The change about malloc isn't used AFAICS, but well I want to keep it, >>>> as we plan to improve the conditional header includes in future. >>>> Does this line leads to an build error for you? >>> >>> Yes... It is needed. >>> Once the autoconf detects that gnu malloc is not available, it place >>> #define malloc rpl_malloc in config.h. >>> You do not have rpl_malloc in sources so linkage fail. >>> >>> Alon. >>> >> >> Ok fixed. Thanks for the explaination. >> >> Cheers, >> Kai >> >> -- >> | (\_/) This is Bunny. Copy and paste >> | (='.'=) Bunny into your signature to help >> | (")_(") him gain world domination >> >
Ok, I see. I added to the comment that this just happens on cross-compile. Btw gendef should work as native build on linux, too. There shouldn't be any dependencies to Windows specific runtime. Cheers, Kai -- | (\_/) This is Bunny. Copy and paste | (='.'=) Bunny into your signature to help | (")_(") him gain world domination ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public