This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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: Target gdb


On 03 February 2006 15:38, Earl Olsen wrote:

> Using crosstools, I've build a powerpc cross compiler, glibc, gdbserver,
> etc.
> Now I try to build gdb for the target:

>     cd $BUILD_TMP_DIR/build-gdb
>     CC=$TARGET-gcc $BUILD_TMP_DIR/$GDB_DIR/configure \
>         --host=$TARGET --prefix=$PREFIX/$TARGET
>     make BUILD_SUBDIR=""
>     make install

> checking whether the C compiler works... configure: error: cannot run C
> compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details.
> make: *** [configure-libiberty] Error 1
> 
> Any ideas?


  Yes: this is wrong.

>checking build system type... powerpc-unknown-linux-gnu

  You'll have to figure out why it thinks you're building on a powerpc system.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


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