This is the mail archive of the gdb-patches@sourceware.org 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: [rfc] Fix canadian cross build of sim/ppc


Hi again,

Has anybody looked at these patches?

Is there anything additional I can do to help resolve the issue?

Best regards,
Esben

On Wed, Oct 1, 2008 at 10:39 AM, Esben Haabendal
<esbenhaabendal@gmail.com> wrote:
> Hi
>
> Canadian cross build of build gdb-6.8 for build=x86_64-linux host=i586-mingw32
> target=powerpc-linux, is broken.
>
> It was reported first time back in 14 Jul 2007:
> http://sourceware.org/ml/gdb/2007-07/msg00123.html
>
> The problem is that config.h is generated for $(CC), which for the
> above mentioned
> canadian cross is my i586-mingw32-gcc, and included in a number of .c
> and .h files
> i sim/ppc, ending up in both $(CC) and $(CC_FOR_BUILD) builds.
>
> To fix this, I have added #ifdef HAVE_CONFIG_H in all places and patched the
> Makefile.in to define HAVE_CONFIG_H for all $(CC) build.
>
> Best regards,
> Esben
> --
> Esben Haabendal, Senior Software Consultant
> DoréDevelopment ApS, Ved Stranden 1, 9560 Hadsund, DK-Denmark
> Tlf: +45 51 92 53 93, mail: eha@doredevelopment.dk
> WWW: http://www.doredevelopment.dk
>



-- 
Esben Haabendal, Senior Software Consultant
DoréDevelopment ApS, Ved Stranden 1, 9560 Hadsund, DK-Denmark
Phone: +45 51 92 53 93, E-mail: eha@doredevelopment.dk
WWW: http://www.doredevelopment.dk


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