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


Hi Marc;

  Very nice.  I'll try that.  I think I already tried it with the CC variable.  
So a full path is not requred to that environment variable?  Apparently that 
will have to be in the path.

Thanks,
Ken

On Tuesday 28 October 2003 11:35, Marc Kleine-Budde wrote:
> 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

-- 
Kenneth A. Wolcott
Consultant, Clinical Systems Engineering
GE Medical Systems Information Technologies
8200 West Tower Avenue, Milwaukee, WI  53223
Phone:  414/362-2720 
Email:  Ken.Wolcott@med.ge.com

------
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]