>> I guess you mean Darwin-arm64-32.


ah yes of course :)


a quick attempt give following error:



++++ info: using Makefile.pdlibbuilder version 0.5.1

++++ info: using Pd API /Applications/Pd-0.52-1-arm64.app/Contents/Resources/src/m_pd.h

++++ info: making target all in lib comport

++++ info: making comport.o in lib comport

cc -DPD -I "/Applications/Pd-0.52-1-arm64.app/Contents/Resources/src" -DUNIX -DMACOSX -I /sw/include    -Wall -Wextra -Wshadow -Winline -Wstrict-aliasing -O3 -ffast-math -funroll-loops -fomit-frame-pointer -arch arm64 -arch x86_64  -o comport.o -c comport.c

comport.c:693:9: error: implicit declaration of function 'error' is invalid in C99 [-Werror,-Wimplicit-function-declaration]

        error("[comport]: %ld not valid, using closest value: %ld", *baud, baudratetable[i]);

        ^


changed "error" to "pd_error" and compiles and loads. lots of warnings though.


m


On Sat, Mar 19, 2022 at 7:04 AM Roman Haefeli <reduzent@gmail.com> wrote:
On Fri, 2022-03-18 at 18:04 -0400, me.grimm wrote:
> hello,
>
> my old mac dead so had to get new M1 and starting from scratch.
>
> I see only a few externals so far compiled for the Darwin-amd64-32

I guess you mean Darwin-arm64-32.

>
> looking for the [comport] to give compiling a whirl i see v 0.2 from
> 2012 here: https://puredata.info/downloads/comport
>
> that's the most recent repo? just checking in case im missing
> something.

There is:
https://git.iem.at/pd/comport

It has commits up to 2019.

Roman



--
____________________
m.e.grimm, m.f.a, ed.m.
cornell u., tc3
megrimm.net
____________________