GNU bug report logs -
#507
compilation problem under Solaris
Previous Next
Full log
View this message in rfc822 format
> -----Message d'origine-----
> De : Glenn Morris [mailto:rgm <at> gnu.org]
> Envoyé : jeudi 3 juillet 2008 22:00
> À : Langella Raphael
> Cc : 507 <at> emacsbugs.donarmstrong.com
> Objet : Re: bug#507: compilation problem under Solaris
>
> tags 507 = help
> stop
>
> "Langella Raphael" wrote:
>
> > Anyway, once corrected, cpp_undefs is correctly defined:
> cpp_undefs =
> > -UProduits -Utmp -Uemacs -Usparc -Usun -Usolaris2 -Usparc -Usun
> > -Usolaris2
> >
> > But compilation still fails. Instead of being replaced by "1 ", the
> >"sparc" string is just deleted. See attached src/Makefile.
>
> OK, I think I see what's going on. src/m/sparc.h does:
>
> #ifndef sparc
> #define sparc
> #endif
>
> And src/Makefile.c includes config.h which includes this file.
>
> Thus there seems to be no way to fix this through use of -U
> etc on the cpp line.
>
> By far the easiest way for you to fix this is just to edit
> your src and lib-src Makefile by hand.
That's exactly what I did even before reporting the bug. I just thought I should report this. And I didn't have to edit lib-src/Makefile, only src/Makefile.
This bug report was last modified 16 years and 192 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.