compilation error on Apple M1

2022-12-25 Thread Damien Mattei
hello, on Apple M1 i have this error: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg' #define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))

Re: compilation error on Apple M1

2022-12-25 Thread Damien Mattei
while trying to compile guile 3.0.7 on Apple M1... On Mon, Dec 26, 2022 at 12:32 AM Damien Mattei wrote: > hello, > > on Apple M1 i have this error: > > /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: > note: expanded

Re: compilation error on Apple M1

2022-12-25 Thread Colin Woodbury
A fix for M1 chips was recently added to the master branch. Can you try compiling that instead of 3.0.7? iPhoneから送信 > 2022/12/25 15:59、Damien Mattei のメール: > >  > while trying to compile guile 3.0.7 on Apple M1... > >> On Mon, Dec 26, 2022 at 12:32 AM Damien Mattei >> wrote: >> hello, >> >>

Re: compilation error on Apple M1

2022-12-25 Thread Aleix Conchillo Flaqué
Hi Damien, This looks like a linking issue probably related to how things are installed in your system, not with Guile itself. And the issue seems to be with libiconv. Usually that comes with macOS itself and is located in /usr/lib/libiconv.2.dylib. Building Guile on M1 is definitely possible and