On Sun, Sep 1, 2024 at 3:09 PM Gordon Steemson <gstee...@gmail.com> wrote:

> So, it won't build on 32-bit Mac OS... but not for any sane reason;
> rather, it won't build because it's failing to pick up the appropriate
> gnulib shims to make the 'environ' function visible.  I mean, HOW?  It
> works just fine on 64-bit!  Is this something that the ./configure script
> does differently between the two?
>

Just in case, is it correctly defined?
It should be this for Apple:

```
#include <crt_externs.h>
#define environ (*_NSGetEnviron())
```
I.e. different from Linux one.



>
> > On Aug 31, 2024, at 10:45 PM, Gordon Steemson <gstee...@gmail.com>
> wrote:
> >
> > Hello all,
> >
> >> Date: Fri, 30 Aug 2024 21:27:16 -0500
> >> From: Rob Browning <r...@defaultvalue.org>
> >>
> >> 3.0.10 does appear to be broken on 32-bit architectures:
> >> https://buildd.debian.org/guile-3.0
> >>
> >> So if that's what you have, you may need to stick with 3.0.9 for now.  I
> >> plan to downgrade debian/unstable to 3.0.9 this weekend.
> >
> > I did get it to build for 32-bit as part of a multi-architecture ("fat
> binary") build, using the old Apple GCC.  I don't seem to have needed to do
> anything special to make it work, though I obviously do need to test
> whether it will build 32-bit only.  I will report back if any relevant
> observations come up – as noted, it’s a 13-hour build, so this won’t be
> immediate.
> >
> > Gordon S.
>

Reply via email to