slkbuild for x86_64?

General talk about packaging procedures and packages.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: slkbuild for x86_64?

Post by Shador »

toothandnail wrote:
laprjns wrote:All you have to do is change the arch line in SLKBUILD to:

Code: Select all

arch=x86_64
. If you want a SLKBUILD prototype with this, just edit the SLKBUILD prototype in /etc/slkbuild and rename it something like SLKBUILD.x86. Then when you want to build a new package just issue the following in your build directory:

Code: Select all

 slkbuild -g x86
. See "man slkbuild"

Note that the -g function in the current version of slkbuild has a bug which result in getting the stock SLKBUILD file. :( I believe that gapan is aware of this bug and will be fixing it.
Rich
Thanks Rich. I managed to get the x86_64 working, so I've managed to build some of the packages I need (mc-4.7.0.1, which finally has Fish fixed, Osmo and associated libraries). I'll go read the packaging rules and submit them sometime in the next few days.

A bit off topic, but maybe someone can answer - is it possible to build for 32-bit systems from the 64-bit? I'd build for both, but I don't currently have the space to install the 32-bit version as well.

paul.
By installing Salix32 in a chroot yes. Or use Vbox/DualBoot.
Image
User avatar
gapan
Salix Wizard
Posts: 6349
Joined: 6. Jun 2009, 17:40

Re: slkbuild for x86_64?

Post by gapan »

Shador wrote:By installing Salix32 in a chroot yes.
Careful with that, you might end up building (or trying to build) for x86_64-slackware-linux, instead of i486-slackware-linux
Image
Image
toothandnail
Posts: 165
Joined: 20. Sep 2009, 17:30
Location: Oxfordshire, UK

Re: slkbuild for x86_64?

Post by toothandnail »

gapan wrote:
toothandnail wrote: A bit off topic, but maybe someone can answer - is it possible to build for 32-bit systems from the 64-bit? I'd build for both, but I don't currently have the space to install the 32-bit version as well.
Not directly, but you can use a VM.
Thanks George. I'll dig out VirtualBox and give it a try. I'm finding the 64-bit version very good in use - very quick on my Core2Duo, and so far, I've not hit any problems at all. I can't see going back to the 32-bit version anytime soon....

paul.
Post Reply