Visit Our UNIX and Linux User Community

Search Results

Search: Posts Made By: Neo
7,005
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...
7,005
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

 

Featured Tech Videos

All times are GMT -4. The time now is 06:44 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy