Re: Compiling 32bit on 64bit Fedora

2011-09-11 Thread drago01
On Sun, Sep 11, 2011 at 6:21 PM, Reindl Harald wrote: > > > Am 11.09.2011 18:18, schrieb drago01: Am I doing something wrong? Or is this a packaging bug? I can't think of any reason why I shouldn't be able to compile at least a basic C program with no deps as 32bit on 64bit. >>> >>>

Re: Compiling 32bit on 64bit Fedora

2011-09-11 Thread Reindl Harald
Am 11.09.2011 18:18, schrieb drago01: >>> Am I doing something wrong? Or is this a packaging bug? I can't think of >>> any reason why I shouldn't be able to compile at least a basic C program >>> with no deps as 32bit on 64bit. >> >> it's worth noting a 'cleaner' way to do this than messing up yo

Re: Compiling 32bit on 64bit Fedora

2011-09-11 Thread drago01
On Wed, Sep 7, 2011 at 9:35 PM, Adam Williamson wrote: > On Wed, 2011-09-07 at 11:52 -0400, Nathaniel McCallum wrote: >> "gcc -m32 -o foo foo.c" gives me: >> /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file >> or directory >> >> If I copy the gnu/stubs-32.h file from the 32

Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Tony Breeds
On Thu, Sep 08, 2011 at 10:37:10AM +0300, Panu Matilainen wrote: > On 09/08/2011 03:44 AM, Tony Breeds wrote: > > Hi All, > > On a related but different note. How hard would it be to get > > yum-builddep to take an --arch arg to that we can esily get the 32-bit > > builddeps on a 64-bit system

Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Tony Breeds
On Thu, Sep 08, 2011 at 09:27:20AM -0400, Adam Jackson wrote: > On Thu, 2011-09-08 at 10:44 +1000, Tony Breeds wrote: > > Hi All, > > On a related but different note. How hard would it be to get > > yum-builddep to take an --arch arg to that we can esily get the 32-bit > > builddeps on a 64-bi

Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Josh Stone
On 09/08/2011 06:27 AM, Adam Jackson wrote: > On Thu, 2011-09-08 at 10:44 +1000, Tony Breeds wrote: >> Hi All, >> On a related but different note. How hard would it be to get >> yum-builddep to take an --arch arg to that we can esily get the 32-bit >> builddeps on a 64-bit system? > > Is 'se

Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Adam Jackson
On Thu, 2011-09-08 at 10:44 +1000, Tony Breeds wrote: > Hi All, > On a related but different note. How hard would it be to get > yum-builddep to take an --arch arg to that we can esily get the 32-bit > builddeps on a 64-bit system? Is 'setarch i686 yum-builddep foo' not enough? - ajax si

Re: yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-08 Thread Panu Matilainen
On 09/08/2011 03:44 AM, Tony Breeds wrote: > Hi All, > On a related but different note. How hard would it be to get > yum-builddep to take an --arch arg to that we can esily get the 32-bit > builddeps on a 64-bit system? It's been recently implemented at upstream, see https://bugzilla.redh

yum-builddep (Re: Compiling 32bit on 64bit Fedora)

2011-09-07 Thread Tony Breeds
Hi All, On a related but different note. How hard would it be to get yum-builddep to take an --arch arg to that we can esily get the 32-bit builddeps on a 64-bit system? Yours Tony -- devel mailing list devel@lists.fedoraproject.org https://admin.fedoraproject.org/mailman/listinfo/devel

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Richard Shaw
On Wed, Sep 7, 2011 at 2:35 PM, Adam Williamson wrote: > it's worth noting a 'cleaner' way to do this than messing up your main > system with 32-bit packages is to use mock: you can use mock -r > fedora-16-i386 --shell to give yourself interactive access to a nice > clean 32-bit buildroot, then in

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Adam Williamson
On Wed, 2011-09-07 at 11:52 -0400, Nathaniel McCallum wrote: > "gcc -m32 -o foo foo.c" gives me: > /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file > or directory > > If I copy the gnu/stubs-32.h file from the 32bit glibc-devel package > into the right place and run the com

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Michael Schwendt
On Wed, 7 Sep 2011 12:04:06 -0400, NM (Nathaniel) wrote: > That was what I thought... Sot it was the first thing I tried (note, > this is F16): > $ sudo yum install glibc-devel.i686 > Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, > remove-with-leaves, rpm-warm-cache, show-

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Nathaniel McCallum
On Wed, Sep 7, 2011 at 1:04 PM, Kevin Fenzi wrote: > On Wed, 7 Sep 2011 12:23:11 -0400 > Nathaniel McCallum wrote: > >> I don't appear to have any i[356]86 packages in any of the repos on my >> F16 box. Is there an rpm I'm missing? > > No, it should show them out of the box. > > Does: > > yum --n

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Kevin Fenzi
On Wed, 7 Sep 2011 12:23:11 -0400 Nathaniel McCallum wrote: > I don't appear to have any i[356]86 packages in any of the repos on my > F16 box. Is there an rpm I'm missing? No, it should show them out of the box. Does: yum --noplugins list glibc-devel.i686 work? do you have any excludes= i

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Michael Cronenworth
Nathaniel McCallum wrote: > I don't appear to have any i[356]86 packages in any of the repos on my > F16 box. Is there an rpm I'm missing? How are you making this determination? At first glance, this mirror[1] has 32-bit and 64-bit binaries. [1] http://mirror.hiwaay.net/pub/fedora/linux/develop

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Nathaniel McCallum
On Wed, Sep 7, 2011 at 12:15 PM, Ricky Zhou wrote: > On 2011-09-07 12:04:06 PM, Nathaniel McCallum wrote: >> That was what I thought... Sot it was the first thing I tried (note, >> this is F16): >> $ sudo yum install glibc-devel.i686 >> Loaded plugins: fastestmirror, langpacks, presto, refresh-pac

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Ricky Zhou
On 2011-09-07 12:04:06 PM, Nathaniel McCallum wrote: > That was what I thought... Sot it was the first thing I tried (note, > this is F16): > $ sudo yum install glibc-devel.i686 > Loaded plugins: fastestmirror, langpacks, presto, refresh-packagekit, > remove-with-leaves, rpm-warm-cache, show- >

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Nathaniel McCallum
On Wed, Sep 7, 2011 at 12:04 PM, Nathaniel McCallum wrote: > On Wed, Sep 7, 2011 at 11:56 AM, Ricky Zhou wrote: >> On 2011-09-07 11:52:58 AM, Nathaniel McCallum wrote: >>> "gcc -m32 -o foo foo.c" gives me: >>> /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file >>> or directo

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Nathaniel McCallum
On Wed, Sep 7, 2011 at 11:56 AM, Ricky Zhou wrote: > On 2011-09-07 11:52:58 AM, Nathaniel McCallum wrote: >> "gcc -m32 -o foo foo.c" gives me: >> /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file >> or directory >> >> If I copy the gnu/stubs-32.h file from the 32bit glibc-de

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Tom Hughes
On 07/09/11 16:52, Nathaniel McCallum wrote: > "gcc -m32 -o foo foo.c" gives me: > /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file > or directory > > If I copy the gnu/stubs-32.h file from the 32bit glibc-devel package > into the right place and run the command above again

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Jakub Jelinek
On Wed, Sep 07, 2011 at 11:52:58AM -0400, Nathaniel McCallum wrote: > "gcc -m32 -o foo foo.c" gives me: > /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file > or directory > > If I copy the gnu/stubs-32.h file from the 32bit glibc-devel package > into the right place and run

Re: Compiling 32bit on 64bit Fedora

2011-09-07 Thread Ricky Zhou
On 2011-09-07 11:52:58 AM, Nathaniel McCallum wrote: > "gcc -m32 -o foo foo.c" gives me: > /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file > or directory > > If I copy the gnu/stubs-32.h file from the 32bit glibc-devel package > into the right place and run the command abo

Compiling 32bit on 64bit Fedora

2011-09-07 Thread Nathaniel McCallum
"gcc -m32 -o foo foo.c" gives me: /usr/include/gnu/stubs.h:7:27: fatal error: gnu/stubs-32.h: No such file or directory If I copy the gnu/stubs-32.h file from the 32bit glibc-devel package into the right place and run the command above again I get: /usr/bin/ld: cannot find crt1.o: No such file or