LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Compiling 32-bit programs: setting ARCH to “x86_64” (https://www.linuxquestions.org/questions/linux-newbie-8/compiling-32-bit-programs-setting-arch-to-%93x86_64%94-881972/)

ralf@hagakure.me 05-21-2011 12:32 PM

Compiling 32-bit programs: setting ARCH to “x86_64”
 
Hi all,

I am new to Slackware and I am wondering how you set the ARCH variable.
On the multilib wiki page it says:

"Rather than editing the script and change/remove CFLAGS definitions, you can set the ARCH to “x86_64” and save yourself some time."

So from this I understand that they advise against editing the Slackbuild script. How do I set the ARCH variable on the command line or is it a configuration file I need to edit?

I am running Slackware 13.1 64.

Best regards,

R

Didier Spaier 05-21-2011 12:52 PM

Hi,

In your terminal, instead of typing './SomeSlackbuild.sh', type 'ARCH=x86_64 ./SomeSlackbuild.sh'

Also, better post in the Slackware forum such Slackware-specific questions to get more relevant answers.

ralf@hagakure.me 05-22-2011 02:53 AM

Hi Didier,

Thank you for responding. I'll make sure to post my next questions in the relevant section.

Kind regards,

R


All times are GMT -5. The time now is 02:01 PM.