Last time I checked, an intel-based (or intel-like) 64-bit cpu is able to run 32-bit binaries, because (I think) all the 32 bit instructions are available on the 64-bit chips. It might not be optimal, but it should work.
Have you tried it and found out that something didn't work? If so, what actually happened?
UPDATE: Sorry, I just realized I was not answering your question. Since you are on a linux system, your compiler is gcc, which should be able to compile binaries as 32-bit or whatever you want. But I'm hoping someone with a stronger background in gcc will give better advice -- I never got very far in learning the zillions of gcc options and controls. Again, it may help to try something, and if it doesn't work, show how it fails. (Googling specific error messages can often lead to useful insights.)
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.