This is the mail archive of the gdb@sources.redhat.com mailing list for the GDB 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: `gdbserver' in cross compiled builds


> Hello,
> 
> thanks for you answer, but my questions aimed to another point.
> 
> Why is the gdbserver not built automatically also in cross builds ?

Are you configuring with:

..../configure --target=powerpc-linux-gnu

or

..../configure --host=powerpc-linux-gnu --target=powerpc-linux-gnu 
--build=i386-linux-gnu

the former configures to build a cross debugger.  The latter configures 
to build a debugger (and gdbserver) that will run on the target system. 
  The latter assumes that you have a powerpc-linux-gnu-gcc installed 
somewhere while the former doesn't.

Andrew


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