unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
From: Mark H Weaver <mhw@netris.org>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guile-devel@gnu.org
Subject: Problem with removing <config.h> from gen-scmconfig when cross-compiling
Date: Wed, 12 Mar 2014 21:23:26 -0400	[thread overview]
Message-ID: <87ob1a7uy9.fsf@yeeloong.lan> (raw)

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



             reply	other threads:[~2014-03-13  1:23 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13  1:23 Mark H Weaver [this message]
2014-03-13 13:37 ` Problem with removing <config.h> from gen-scmconfig when cross-compiling 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87ob1a7uy9.fsf@yeeloong.lan \
    --to=mhw@netris.org \
    --cc=guile-devel@gnu.org \
    --cc=ludo@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).