Search Results

Search: Posts Made By: Neo
10,410
Posted By Neo
You can compile 64 bit source code on 32 bit...
You can compile 64 bit source code on 32 bit architecture.

For example, with gcc:

gcc -m32 my64bitcode.c -o my32bitcodeout

You may need to install gcc-multlib by using the following commands...
10,410
Posted By Neo
You can build 32 bit on 64 bit source, like this,...
You can build 32 bit on 64 bit source, like this, for example:

gcc -m32 my64bitsource.c -o my32bitout


So, take a look at the -m32 flag and any additional libs you might need to link in.
...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 03:32 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy