Re: Linking fails with 32-bit vulkan libs

2022-03-21 Thread Michael Cronenworth
On 3/14/22 4:55 PM, Sandro Mani wrote: Odd, working fine here, though had to add -lpathcch: i686-w64-mingw32-gcc -o test test.c -lvulkan-1 -lpathcch Adding that didn't help. It also fails on Koji builders when I tried a scratch build: https://koji.fedoraproject.org/koji/taskinfo?taskID=845

Re: Linking fails with 32-bit vulkan libs

2022-03-14 Thread Sandro Mani
On 14.03.22 22:11, Michael Cronenworth wrote: Hi, In trying to prepare the vkd3d library for cross-compiling I ran into a gcc/linker error. Reproducer: char main(void) {     char vkGetInstanceProcAddr ();     return vkGetInstanceProcAddr (); } $ i686-w64-mingw32-gcc -o test test.c -lvulkan-

Linking fails with 32-bit vulkan libs

2022-03-14 Thread Michael Cronenworth
Hi, In trying to prepare the vkd3d library for cross-compiling I ran into a gcc/linker error. Reproducer: char main(void) {     char vkGetInstanceProcAddr ();     return vkGetInstanceProcAddr (); } $ i686-w64-mingw32-gcc -o test test.c -lvulkan-1 /usr/lib/gcc/i686-w64-mingw32/11.2.1/../../../