Menu

cc++ Cross-compiling issues?

Help
Anonymous
2000-11-22
2000-11-28
  • Anonymous

    Anonymous - 2000-11-22

    Hello,

    Is there a cross-compilation FAQ or guide? I'm trying to build cc++ for a 2.4.x ARM distribution and not having much luck.

    Thanks,

    Tim

     
    • David Sugar

      David Sugar - 2000-11-28

      I actually built awhile ago a solaris cross compiler under GNU/Linux with Common C++ cross compiled, but I don't have those notes in front of me right now.  I believe the key issues was to make sure the prefix fell into the correct install location for your cross compiler, and to use the --target= and --host= in configure.  You may also need to set CC, CXX, LD, and AR in your environment to make sure they point to your cross compiler before running configure, and make sure your cross compiler binaries (say /usr/local/xxxx-yyy/bin) appear first in your PATH.

       

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.