Using cross-compiler to build the libraries
I have been able to build (and link with) the libraries using the native gcc compiler on my linux-x86 platform, but have been unable to find a way to force the build process to use something like: /path/to/my/cross_compiler/for/linux-ppc/gcc Can someone please advise me in the proper way to build the libs with an absolute path to my cross compiler? Thanks very much for any help, Bruce CONFIDENTIALITY NOTICE: This email, together with any attachments, is intended only for use by Aristos Logic Corporation and the individual(s) to which it is addressed and may contain information that is privileged, confidential or exempt from disclosure. If you are not the intended recipient, you are hereby notified that any dissemination, distribution, or copying of this email, or any attachment, is strictly prohibited. If you have received this email in error, please notify Aristos Logic Corporation by sending an email to sysadm@aristoslogic.com and delete this email, along with any attachments, from your computer. Thank you.
Bruce Reid wrote:
I have been able to build (and link with) the libraries using the native gcc compiler on my linux-x86 platform, but have been unable to find a way to force the build process to use something like: /path/to/my/cross_compiler/for/linux-ppc/gcc
Can someone please advise me in the proper way to build the libs with an absolute path to my cross compiler?
Have this in your user-config.jam: using gcc : : /path/to/my/cross_compiler/for/linux-ppc/g++ ; Note that if you're having any C++ sources, you should provide the path to the C++ compiler, not the C one. - Volodya
participants (2)
-
Bruce Reid
-
Vladimir Prus