citic / botNeumann

A metaphorized and gamified visualization of the von Neumann architecture for programming learning
1 stars 0 forks source link

Use Unit's architecture when compiling #160

Open jeissonh opened 7 years ago

jeissonh commented 7 years ago

When compiling the player's solution executable, add -m32 when Unit's architecture is in 32bits, or -m64 when unit is for 64bits. Example

If unit is 64bits running on a 32bits OS, show an error message and override it to use 32bits.

Other architectures (16bits, 48bits, 96bits, ...) are not supported.