httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Guenter Knauf <fua...@apache.org>
Subject Re: [PATCH Attachment 28632, Bug 51257] Build failed when cross-compiling: ./gen_test_char: cannot execute binary file
Date Fri, 20 Apr 2012 15:11:39 GMT
Hi Henrik,
Am 20.04.2012 14:59, schrieb Henrik Strand:
> I've applied and tried the modified patch
> (http://svn.apache.org/viewvc?view=revision&revision=1327907) but it
> seems that the BUILD_FOR_CC value isn't propagated to the Makefile in
> the server folder.
>
> Did it work for you? If so, what more did you have to do in order to get
> it to work?
I've just committed a follow-up patch:
http://svn.apache.org/viewvc?view=revision&revision=1328390
it is *required* that you re-run buildconf so that configure gets 
re-created! After you've run configure with f.e.:
CC_FOR_BUILD=gcc ./configure --host=...
you can check ./build/config_vars.mk where CC_FOR_BUILD should appear 
now and ./server/Makefile should now see the var ...
please check and report back!

Now I would finally like to see that configure sets self CC_FOR_BUILD 
when --host is specified ...
Anybody who can help with this??
I see that CC_FOR_BUILD appears already in config.guess ...
Any help with this appreaciated!

Thanks, Gün.



Mime
View raw message