This is the mail archive of the crossgcc@sources.redhat.com 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: unable to compile gdb 6.0 as a cross gdb


On Tue, Oct 28, 2003 at 08:50:57AM -0600, Wolcott, Ken (MED, Compuware) wrote:
> file gdb
> gdb: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically 
> linked (uses shared libs), not stripped
> 
>   I notice in the output (compressed, attached) that the gcc is being called, 
> not arm-arm9-linux-gnu-gcc.  To me that implies that --with-gcc=/path/to/gcc 
> configure option is not working.

# ../gdb-6.0/configure \
# --verbose \
# --host=arm-arm9-linux-gnu \
# --build=i686-pc-linux-gnu \
# --target=arm-arm9-linux-gnu \
[...]

Try:

CC=arm-arm9-linux-gnu-gcc \
AR=arm-arm9-linux-gnu-ar \
<TOOL>=arm-arm9-linux-gnu-<tool> \
../gdb-6.0/configure \
--verbose \
--host=arm-arm9-linux-gnu \
--build=i686-pc-linux-gnu \
--target=arm-arm9-linux-gnu\
+ the rest

hth marc

-- 
#!/bin/sh
set - `type $0` 'tr "[a-zA-Z]" "[n-za-mN-ZA-M]"';while [ "$2" != "" ];do \
shift;done; echo 'frq -a -rc '`echo "$0"| $1 `'>$UBZR/.`rpub signature|'`\
echo $1|$1`'`;rpub "Jr ner fvtangher bs obet. Erfvfgnapr vf shgvyr!"'|$1|sh

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


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