That's what I mean: my Debian OS is *NOT* 64 bit -- uname -a *DOES NOT*
tell you about the OS but rather the capability of the machine hardware.
If the build script makes the same assumption and attempts to build 64 bit
packages based on uname's out then this should be a bug -- as shown in my
situation.
That's the reason why I also show the command
$ getconf LONG_BIT
32
Also, running file on the a.c file gives me 32 bit.
wooly Mon Jul 23:11:34:24 (193) /var/tmp
$ gcc a.c
wooly Mon Jul 23:11:34:26 (194) /var/tmp
$ file a.out
a.out: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV),
dynamically linked (uses shared libs), for GNU/Linux 2.6.18, not stripped
On Monday, July 23, 2012 11:32:09 AM UTC-4, P Purkayastha wrote:
>
> What Jeroen means is that your Debian installation is 64bit instead of
> 32bit. This information can be gleaned from your uname -a.
>
> Maybe you can check what is the output of these commands:
> 1. Create a file a.c containing just one line as shown below
> ~/tmp» cat a.c
> int main(int argc, char **argv) { return 0; }
>
> 2. Run gcc and then check the output of the executable:
> ~/tmp» gcc a.c
> ~/tmp» file a.out
> a.out: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically
> linked (uses shared libs), for GNU/Linux 2.6.9, not stripped
>
>
> On 07/23/2012 11:19 PM, tvn wrote:
> > No, this is a 64 bit machine that is installed with a 32 bit Debian
> > system. You can install 32 bit OS on a 64 bit capable machine just fine
> > and that's how my system is configured: 32 bit Debian Squeeze installed
> > on a 64-bit machine.
> >
> >
> > On Monday, July 23, 2012 11:08:11 AM UTC-4, Jeroen Demeyer wrote:
> >
> > On 2012-07-23 14:56, tvn wrote:
> > > I have a 64 bit machine with a 32 bit Debian Squeeze
> > What do you mean with "a 32 bit Debian Squeeze"? As 'uname -a'
> shows,
> > this is a 64-bit system. You can't expect Sage to magically build
> > 32-bit.
> >
> > > $ uname -a
> > > Linux wooly 2.6.32-5-amd64 #1 SMP Sun May 6 05:12:07 UTC 2012
> x86_64
> > > GNU/Linux
> >
> > --
> > --
> > To post to this group, send an email to [email protected]
> > To unsubscribe from this group, send an email to
> > [email protected]
> > For more options, visit this group at
> > http://groups.google.com/group/sage-devel
> > URL: http://www.sagemath.org
> >
> >
> >
>
>
>
--
--
To post to this group, send an email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org