------- Comment #5 from bonzini at gnu dot org  2006-08-18 13:34 -------
Anyway, the simplest solution for you is to build in a combined tree:

        cd build && rm -rf ppc_combined_src ppc_combined && \
          mkdir ppc_combined_src ppc_combined
        cd build/binutils-$(BINUTILS_VERSION) && find . -print | \
          cpio -pdlm ../ppc_combined_src
        cd build/gcc-$(GCC_VERSION) && find . -print | \
          cpio -pdlmu ../ppc_combined_src
        cd build/ppc_combined && ../ppc_combined_src/configure \
          --prefix=$(HOME)/local --program-prefix=x --target=powerpc-ibm-eabi
        cd build/ppc_combined && make && make install

It works for either native or cross, and for native it will test the binutils
by using them to compile themselves.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28770

Reply via email to