Configure Error Cannot Test For Constructor/destructor Support When Cross Compiling
♦ | Report Content as Inappropriate ♦ ♦ Cross Compile krb5 Hi everybody I'm trying to cross compile krb5 for sh4 (STLinux) and i stopped in this problem: "Cannot test for constructor/destructor support when cross compiling". My question is: Can I cross compile krb5 for any plataform? Could you share with me the solution? Thanks a lot. Pedro Cavalcante. ________________________________________________ Kerberos mailing list [hidden email] https://mailman.mit.edu/mailman/listinfo/kerberos Kenneth G Raeburn Reply | Threaded Open this post in threaded view ♦ ♦ | Report Content as Inappropriate ♦ ♦ Re: Cross Compile krb5 On Jan 8, 2009, at 15:44, Pedro Cavalcante wrote: > Hi everybody > > I'm trying to cross compile krb5 for sh4 (STLinux) and i stopped in > this problem: "Cannot test for constructor/destructor support when > cross > compiling". My question is: Can I cross compile krb5 for any > plataform? > Could you share with me the solution? It's not trivial, as you've noticed, but I think it should be possible. You may have to spent a little time working on some of the makefile rules, and setting a few configuration variables before starting. The autoconf-generated configure scripts generally have the ability to cache configuration information learned from the environment, to speed up later invocations. The file "config.cache" will be generated after a successful invocation, so you can look at the sort of stuff that goes in there if you do a native build on some system. In this case, the variable krb5_cv_attr_constructor_destructor is set to "yes" if you're using a compilation environment that supports "__attribute__((constructor))" to indicate functions that should be run at startup or library load time and "__attribute__((destructor))" for cleanup functions; generally that equates to whether you're using GCC, but not always. If you set it to "no", you ma
date ] [ thread ] [ subject ] [ author ] When I cross compile krb5-1.4.1 for ppc on x86, configure error I got the following error message. # cd krb5-1.4.1/src #./configure -host=powerpc-linux Checking for constructor/destructor attribute support. configure: error: Cannot test for constructor/destructor support when cross compiling Even if configure error cannot I have to some modifications to pass configure, but still cannot make successfully. Do anybody can give me advice or tell me where to get krb5 library for ppc? Thanks, Johnson Cheng -------------- next part -------------- An HTML attachment was scrubbed... URL: http://ozlabs.org/pipermail/linuxppc-embedded/attachments/20050830/9145aada/attachment.htm Previous message: [PATCH] ppc32 :Added PCI support for MPC83xx Next message: Cross compile krb5 issue for ppc Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] More information about the Linuxppc-embedded mailing list