in reply to Re^3: [Linux] Controlling 32-bit mode vs 64-bit mode
in thread [Linux] Controlling 32-bit mode vs 64-bit mode

Solve it the usual way: make a wrapper that calls cc with all the right options. Configure perl with -Dcc=myperlcc; this then ought to propagate to all module installs, etc. Alternatively, you could install another gcc and use that. (Configure with the correct target triplet. I recommend also giving --program-suffix=-$versn when installing multiple gcc versions.)

  • Comment on Re^4: [Linux] Controlling 32-bit mode vs 64-bit mode