This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Problems building --target=powerpc-eabi


Tom Hawkins <tomahawkins@gmail.com> writes:

> The next issue is a configuring problem in powerpc-eabi/libada.  Why
> does it think the host system is powerpc-unknown-eabi and not
> i686-pc-linux-gnu?

libada is built for the target system, in your case
powerpc-unknown-eabi.  Since libada is a library, it considers the
target of the overall build to be the host of the library.


> Checking multilib configuration for libada...
> mkdir -p -- powerpc-eabi/libada
> Configuring in powerpc-eabi/libada
> configure: creating cache ./config.cache
> checking build system type... i686-pc-linux-gnu
> checking host system type... powerpc-unknown-eabi
> checking target system type... powerpc-unknown-eabi
> checking for powerpc-eabi-gcc...
> /home/e0082888/Downloads/build/./gcc/xgcc
> -B/home/e0082888/Downloads/build/./gcc/
> -B/home/e0082888/powerpc-eabi/pow
> checking for C compiler default output file name...
> configure: error: in `/home/e0082888/Downloads/build/powerpc-eabi/libada':
> configure: error: C compiler cannot create executables
> See `config.log' for more details.

See powerpc-eabi-gcc/libada/config.log for the problem.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]