Re: RFR: 8309880: Add support for linking libffi on Windows and Mac [v2]

2023-06-13 Thread Jorn Vernee
On Tue, 13 Jun 2023 17:09:30 GMT, Jorn Vernee wrote: >> Update the make/autoconf/lib-ffi.m4 script to support using libffi on >> Windows and Mac. >> >> For Windows I had to tweak `fallbackLinker.c` to be able to build: there was >> an import of `stdint.h` missing, and since it was using `WSAGe

Re: RFR: 8309880: Add support for linking libffi on Windows and Mac [v2]

2023-06-13 Thread Erik Joelsson
On Tue, 13 Jun 2023 17:09:30 GMT, Jorn Vernee wrote: >> Update the make/autoconf/lib-ffi.m4 script to support using libffi on >> Windows and Mac. >> >> For Windows I had to tweak `fallbackLinker.c` to be able to build: there was >> an import of `stdint.h` missing, and since it was using `WSAGe

Re: RFR: 8309880: Add support for linking libffi on Windows and Mac

2023-06-13 Thread Jorn Vernee
On Tue, 13 Jun 2023 12:48:12 GMT, Jorn Vernee wrote: > Update the make/autoconf/lib-ffi.m4 script to support using libffi on Windows > and Mac. > > For Windows I had to tweak `fallbackLinker.c` to be able to build: there was > an import of `stdint.h` missing, and since it was using `WSAGetLast

Re: RFR: 8309880: Add support for linking libffi on Windows and Mac [v2]

2023-06-13 Thread Jorn Vernee
> Update the make/autoconf/lib-ffi.m4 script to support using libffi on Windows > and Mac. > > For Windows I had to tweak `fallbackLinker.c` to be able to build: there was > an import of `stdint.h` missing, and since it was using `WSAGetLastError` it > needed to link against `ws2_32.lib`. > >

Re: RFR: 8309880: Add support for linking libffi on Windows and Mac

2023-06-13 Thread Jorn Vernee
On Tue, 13 Jun 2023 16:05:07 GMT, Erik Joelsson wrote: >> Update the make/autoconf/lib-ffi.m4 script to support using libffi on >> Windows and Mac. >> >> For Windows I had to tweak `fallbackLinker.c` to be able to build: there was >> an import of `stdint.h` missing, and since it was using `WSA

Re: RFR: 8309880: Add support for linking libffi on Windows and Mac

2023-06-13 Thread Erik Joelsson
On Tue, 13 Jun 2023 12:48:12 GMT, Jorn Vernee wrote: > Update the make/autoconf/lib-ffi.m4 script to support using libffi on Windows > and Mac. > > For Windows I had to tweak `fallbackLinker.c` to be able to build: there was > an import of `stdint.h` missing, and since it was using `WSAGetLast

RFR: 8309880: Add support for linking libffi on Windows and Mac

2023-06-13 Thread Jorn Vernee
Update the make/autoconf/lib-ffi.m4 script to support using libffi on Windows and Mac. For Windows I had to tweak `fallbackLinker.c` to be able to build: there was an import of `stdint.h` missing, and since it was using `WSAGetLastError` it needed to link against `ws2_32.lib`. This PR also con