rdp / random-bug-reports

see issues
1 stars 0 forks source link

cross compile libx264 woe #35

Open rdp opened 5 months ago

rdp commented 5 months ago

x86_64-w64-mingw32-gcc conftest.c -m32 -Wall -I. -I$(SRCPATH) -D_POSIX_C_SOURCE=200112L -march=i686 -mfpmath=sse -msse -msse2 -Werror=attributes -Werror=ignored-attributes -lshell32 -m32 -Wl,--large-address-aware -Wl,--dynamicbase,--nxcompat,--tsaware -o conftest /usr/bin/x86_64-w64-mingw32-ld: cannot open linker script file ldscripts/i386pe.x: No such file or directory collect2: error: ld returned 1 exit status

meant

./configure --host=mingw32 --cross-prefix=x86_64-w64-mingw32- --prefix=$build_files_dir

need --host=x86_64-w64-mingw32 instead