does x86_64-w64-mingw64 exist?

My chatGPT 3.5 turbo says about x86_64-w64-mingw32 this: “-mingw32” means it will create 32-bit project and “x86_64-w64” means it is made for creating projects using 64-bit windows (the problem is I dont have “x86_64-w64-mingw64” folder in SDL2’s zip, but i want to create 64-bit project). Is this true? Where do I download x86_64-w64-mingw64 if it is?


Please give me a download link or, if -mingw64 exists in SDL2’s folder, path. I downloaded SDL from: “Release 2.30.10 >>> SDL2-devel-2.30.20-mingw.zip” (official SDL2’s github page), I am using 64-bit windows 11 and pre-bulit mingw compiler from dev-c++. If you didn’t understand something, please tell me what exactly.

I installed my cross compiler for Windows like this. It works perfectly with SDL3,

sudo apt-get install gcc-mingw-w64
sudo apt-get install mingw-w64-x86-64-dev
sudo apt install g++-mingw-w64-x86-64-posix
sudo apt install g++-mingw-w64-x86-64-win32

Where do I enter this??? Also, “-win32” :face_with_raised_eyebrow:?

Where do I enter this??? Also, “-win32” :face_with_raised_eyebrow:?

I thought you wanted to compile for Windows under Linux.
These are the commands you enter in the Linux console.

There is no mingw64.
Win32 is the name of the API, yes it’s also use for 64bit Windows (I think 16bit Windows was different). “MinGW32-w64” for some reason is the name of the project that’s the de-facto successor of the original MinGW32 (which AFAIK only supported 32bit). MinGW32-w64 supports both 32bit and 64bit.

i686 is 32bit x86, x86_64 is 64bit x86 (aka amd64 aka x64).
So for 64bit Windows use the x86_64-w64-mingw32/ folder.

Also, don’t use ChatGPT or similar AI chatbots, half the things it says are wrong. Using it wastes your and everyone elses time.

2 Likes

Why would I want to look stuff up in an actual search engine, read, and learn things when I can just ask ChatGPT to mishmash together an answer based on (possibly conflicting) web pages it’s scraped then wander around aimlessly when it gives me the wrong info?

If “half the things it says are wrong” half are right, and so long as you can tell which is which it can save time.

1 Like

Thats true. And also AI can’t be toxic (probably… (scroll down)) and can improve if you point it out to them.
Users with a computer on their avatar protect AI while user with a human on their avatar spread the traditional human method of searching for information. XD. Anyways, thank you guys! And I think it’s time for us all to shut up so as not to turn this into another one AI drama.

If I already know enough about a subject to discern correct m vs incorrect information then why am I asking an “AI” chatbot in the first place?

“AI” can absolutely be toxic. See: “AI”s being sold to help judges sentence people, except whoops they were trained on past sentences so their recommended sentences still show the same old racial biases.

“Traditional human method of searching for information”

If you can’t be bothered to look things up and actually learn then why should others bother to help you?

1 Like

I can’t speak for you, but I can quite easily determine whether something is a plausible solution worth investigating further without necessarily being able to devise that solution myself.

Even some ‘experts’ find AI chatbots valuable in suggesting an approach they might not otherwise have considered.
AI scientists make ‘exciting’ discovery using chatbots to solve maths problems | Science | The Guardian

A few days ago I asked ChatGPT if there was any way to do a hypothetical transformation inside a compiler I’m working on. It immediately replied with a solution using a technique I had never considered, that I was able to test and validate and find that it gave the correct results. Being competent enough to evaluate the correctness of its answers is not particularly well-correlated to being experienced enough to know how to solve an unfamiliar problem.

1 Like

Guys. The answer was given, please be civil and stop arguing. AI may be both helpful and a waste of time, now I will ask them to give a proof of their words and search some information myself. Let’s be honest, no one here will change their mind. Argue only leads to more active argue.

2 Likes

I have that file I think. I was building an android based open xr virtual reality project in commandline only, no ide, and ended up with all kinds of stuff while learning and I got this if this is what you mean…

i believe its 32-bit gcc though, tailored for being used by a 64 bit windows os