User forums > Using Code::Blocks

"Test6" does not support the current platform. Skipping...

<< < (3/3)

AE6RV:
In that case, I'm at a loss to understand the whole process of setting up a cross compiler using mingw32.  I have a Linux machine.  I have Windows customers.  And I have Linux customers.  The whole reason for mingw32 is to be able to compile on one machine and run on another, right?  I'm missing something critical here.

BlueHazzard:
OK, i never cross compiled so i don't know if my description is 100% correct...

You have:
Linux machine with
compiler installed:
1) gcc
2) mingw-gcc

You have a project file with two targets:
A)
name "Linux"
compiler: "gcc"
target platform: linux
This target produces executable runnable on linux

B)
name "Windows"
compiler: "mingw-gcc"
target platform: linux
This target produces executable runnable on windows

AE6RV:
Yes.  That's what I thought too.  But previous posters have insisted that the target platform selection is for the machine I'm running on.  That totally defeats the whole principle of cross-compiling.

Navigation

[0] Message Index

[*] Previous page

Go to full version