[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Missing "exceptions/asm_utils.o" for powerpc 4.7

On Sun, 2005-02-20 at 10:45 -0500, Peter Dufault wrote:
> OK, my build ran for quite a while (multilibs take forever!) and it 
> finally failed with:
> "powerpc-rtems-gcc: exceptions/asm_utils.o: No such file or directory"
You need the patch attached to 

> in directory 
> rtems-4.7/powerpc-rtems/c/mvme500/lib/libcpu/powerpc/mpc6xx (bottom of 
> log attached).
> The configuration is now (from config.status):
> rtems config.status
> configured by ../../tools/rtems-4.7/configure, generated by GNU 
> Autoconf 2.59,
>    with options \"'--target=powerpc-rtems'
>    '--prefix=/opt/rtems-4.7'
>    '--enable-posix'
>    '--enable-networking'
>    '--enable-cxx'
>    '--enable-rtems-debug'
>    '--disable-itron'
>    '--enable-multilib'
>    '--enable-maintainer-mode'
>    '--with-cpu=7450'
>    '--enable-rtemsbsp=mvme5500'
>    'target_alias=powerpc-rtems'\"
> and I've set CC_FOR_TARGET to powerpc-rtems-gcc and CXX_FOR_TARGET to 
> powerpc-rtems-g++ in the environment prior to the configuration.


does everything you need.

Besides this I strongly recommend to keep rtems-4.7 toolchains separate
from rtems-4.6 toolchains, i.e. to install them into a different prefix
and using a different target tuple.

ie. I recommend to configure binutils and gcc w/
--prefix=/opt/rtems-4.7 --target=<target>-rtems4.7