unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* Problem with removing <config.h> from gen-scmconfig when cross-compiling
@ 2014-03-13  1:23 Mark H Weaver
  2014-03-13 13:37 ` Ludovic Courtès
  0 siblings, 1 reply; 12+ messages in thread
From: Mark H Weaver @ 2014-03-13  1:23 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

Hi Ludovic,

Commit 8cb0d6d7fa9aaac316c29a64c541336b51b6f93d "build: Don't include
<config.h> in native programs when cross-compiling." apparently broke
cross-compiling.  Madsy on #guile, who successfully cross-compiled
e1bb79f for mingw, ran into this problem with 21a7ba9:

--8<---------------cut here---------------start------------->8---
make[1]: Entering directory `/home/madsy/mingw/home/madsy/test/guile-2.0.9.f239-21a7b-dirty/libguile'
  GEN      gen-scmconfig.o
gen-scmconfig.c: In function 'main':
gen-scmconfig.c:245:39: error: 'SIZEOF_CHAR' undeclared (first use in this function)
gen-scmconfig.c:245:39: note: each undeclared identifier is reported only once for each function it appears in
gen-scmconfig.c:246:48: error: 'SIZEOF_UNSIGNED_CHAR' undeclared (first use in this function)
gen-scmconfig.c:247:40: error: 'SIZEOF_SHORT' undeclared (first use in this function)
gen-scmconfig.c:248:49: error: 'SIZEOF_UNSIGNED_SHORT' undeclared (first use in this function)
gen-scmconfig.c:249:39: error: 'SIZEOF_LONG' undeclared (first use in this function)
gen-scmconfig.c:250:48: error: 'SIZEOF_UNSIGNED_LONG' undeclared (first use in this function)
gen-scmconfig.c:251:38: error: 'SIZEOF_INT' undeclared (first use in this function)
gen-scmconfig.c:252:47: error: 'SIZEOF_UNSIGNED_INT' undeclared (first use in this function)
gen-scmconfig.c:253:41: error: 'SIZEOF_SIZE_T' undeclared (first use in this function)
gen-scmconfig.c:258:44: error: 'SIZEOF_LONG_LONG' undeclared (first use in this function)
gen-scmconfig.c:259:53: error: 'SIZEOF_UNSIGNED_LONG_LONG' undeclared (first use in this function)
gen-scmconfig.c:275:43: error: 'SIZEOF_INTMAX_T' undeclared (first use in this function)
gen-scmconfig.c:279:43: error: 'SIZEOF___INT64' undeclared (first use in this function)
gen-scmconfig.c:296:50: error: 'SIZEOF_PTRDIFF_T' undeclared (first use in this function)
gen-scmconfig.c:300:43: error: 'SIZEOF_INTPTR_T' undeclared (first use in this function)
gen-scmconfig.c:302:44: error: 'SIZEOF_UINTPTR_T' undeclared (first use in this function)
make[1]: *** [gen-scmconfig.o] Error 1
make[1]: Leaving directory `/home/madsy/mingw/home/madsy/test/guile-2.0.9.239-21a7b-dirty/libguile'
make: *** [libguile/scmconfig.h] Error 2
--8<---------------cut here---------------end--------------->8---

      Mark



^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2014-03-18  1:45 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-13  1:23 Problem with removing <config.h> from gen-scmconfig when cross-compiling Mark H Weaver
2014-03-13 13:37 ` Ludovic Courtès
2014-03-13 15:16   ` Mark H Weaver
2014-03-13 15:47     ` Ludovic Courtès
2014-03-13 16:37       ` Mark H Weaver
2014-03-13 18:05         ` Ludovic Courtès
2014-03-14 21:43           ` Mark H Weaver
2014-03-17  6:48           ` Doug Evans
2014-03-17 20:32             ` Ludovic Courtès
2014-03-18  1:45               ` Doug Evans
2014-03-13 17:00       ` Mark H Weaver
2014-03-13 18:23         ` Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).