|
|
|||||
|
Get the Ebook
C Tutorial
Source Code
Function Reference
|
Compiling 32-bit code on a 64-bit machineThis tip submitted by vinay Kumar on 2010-09-06 11:23:15. It has been viewed 2010 times.Rating of 5.2 with 6 votes If code is written to support only 32-bit architectures, but you're compiling with gcc/g++ on a 64-bit machine, always add the following flag in your makefile and then compile. CFLAGS = -m32 without this if you compile the code, it will give you a 64-bit executable, which of course will not run on a 32-bit machine. More tips Help your fellow programmers! Add a tip! Want to become a C++ programmer? The Cprogramming.com ebook, Jumping into C++, will walk you through it, step-by-step. Get Jumping into C++ today!
Custom Search
|
||||