+ 3

Error: I was trying to compile my program for a 32 bit machine. I use x86_64 mingw 8.1 compiler on Windows 10 64-bit version.

I used the flag -m32 but it showed -lmingw32 missing. How do I get those 32 bit libraries. I just wanted to experiment it. Where would that library be available? If not, please suggest me another compiler to run code for both version. And yes, can I set 2 different binary files path in environment variables. Would there be any issue?

17th Oct 2020, 9:02 PM
Sneh Chauhan
Sneh Chauhan - avatar
6 Respuestas
+ 3
Himanshu Alright, thanks👍
19th Oct 2020, 2:55 PM
Sneh Chauhan
Sneh Chauhan - avatar
+ 1
Mǟɖ↻ôɖɆⱤ💉 Well, then what would be the problem with my case. I've set path of bin folder in environment variables.
17th Oct 2020, 9:32 PM
Sneh Chauhan
Sneh Chauhan - avatar
+ 1
Okkay thanks👍
18th Oct 2020, 5:38 AM
Sneh Chauhan
Sneh Chauhan - avatar
+ 1
Himanshu Bro, I've done that but my compiler doesn't let me to cross compile my code so that I can make it work on a 32 bit machine. I think a library is missing which is leading to Linking error but where do I get it?
19th Oct 2020, 2:35 PM
Sneh Chauhan
Sneh Chauhan - avatar