[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Problem with removing <config.h> from gen-scmconfig when cross-compiling
From: |
Mark H Weaver |
Subject: |
Problem with removing <config.h> from gen-scmconfig when cross-compiling |
Date: |
Wed, 12 Mar 2014 21:23:26 -0400 |
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
- Problem with removing <config.h> from gen-scmconfig when cross-compiling,
Mark H Weaver <=
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Ludovic Courtès, 2014/03/13
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Mark H Weaver, 2014/03/13
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Ludovic Courtès, 2014/03/13
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Mark H Weaver, 2014/03/13
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Ludovic Courtès, 2014/03/13
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Mark H Weaver, 2014/03/14
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Doug Evans, 2014/03/17
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Ludovic Courtès, 2014/03/17
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Doug Evans, 2014/03/17
- Re: Problem with removing <config.h> from gen-scmconfig when cross-compiling, Mark H Weaver, 2014/03/13