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 2/3/06, Earl Olsen <earl.olsen@dilithiumnetworks.com> wrote:
> Using crosstools, I've build a powerpc cross compiler, glibc, gdbserver,
> etc.
> Now I try to build gdb for the target:

For what it's worth, ptxdist can do this.  You might peek
at its rules to see how it does it.  The file rules/gdb.make in
http://www.pengutronix.de/software/ptxdist/download/v0.9/ptxdist-0.9.1.tgz
has sections like
GDB_ENV_AC      = \
        $(CROSS_ENV_AC) \
        gdb_cv_func_sigsetjmp=yes \
        bash_cv_func_strcoll_broken=no \
        bash_cv_must_reinstall_sighandlers=no \
        bash_cv_func_sigsetjmp=present \
        bash_cv_have_mbstate_t=yes

GDB_ENV         = \
        $(CROSS_ENV) \
        $(CROSS_ENV_FLAGS_FOR_TARGET) \
        $(GDB_ENV_AC) \
        CFLAGS='$(strip $(CROSS_CFLAGS)) $(strip $(CROSS_CPPFLAGS))' \
        CFLAGS_FOR_TARGET='$(strip $(CROSS_CFLAGS)) $(strip $(CROSS_CPPFLAGS))'

that might give you some hints (though they're a bit hard to decode...).
- Dan
--
Wine for Windows ISVs: http://kegel.com/wine/isv

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