Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query on Building this for 32-bit. #7

Open
KrishVikram opened this issue May 30, 2019 · 1 comment
Open

Query on Building this for 32-bit. #7

KrishVikram opened this issue May 30, 2019 · 1 comment

Comments

@KrishVikram
Copy link

Thanks for your effort on 64-bit. I was able to clone your repo and build it on Ubuntu for 64-bit. However, no clue on how to do the same for 32-bit. Could you provide some pointers to get started? Thanks!

@sanzzjk
Copy link

sanzzjk commented Jun 10, 2019

You can do some changes.
libgnurx-2.5/Makefile:

< CC = x86_64-w64-mingw32-gcc -mthreads
---
> CC = i686-w64-mingw32-gcc-win32 -mthreads

file-windows/build.sh:

< sudo cp regex.h /usr/i686-w64-mingw32/include/
< sudo cp libregex.a /usr/i686-w64-mingw32/lib/
< sudo cp libgnurx.dll.a /usr/i686-w64-mingw32/lib/
---
> sudo cp regex.h /usr/x86_64-w64-mingw32/include/
> sudo cp libregex.a /usr/x86_64-w64-mingw32/lib/
> sudo cp libgnurx.dll.a /usr/x86_64-w64-mingw32/lib/
< ./configure --disable-silent-rules --enable-fsect-man5 --host=i686-w64-mingw32
---
> ./configure --disable-silent-rules --enable-fsect-man5 --host=x86_64-w64-mingw32

Others are same as 64-bit.

32-bit app may need a dll 'libgcc_s_sjlj-1.dll' to run. it's '/usr/lib/gcc/i686-w64-mingw32/7.3-win32/libgcc_s_sjlj-1.dll' on my ubuntu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants