5 msg__DBL_HAS_DENORM__ et al required in recent lib...
2 msgSeg fault
2 msgproblem with solaris compiler
3 msgLooking for GNU toolchain solution for ARM
1 msgRemove redundant includes from C, C++ source fi...
1 msgbuild toolchain for ARM target
11 msgStrict aliasing and pointers to functions
3 msgtypeinfo problem (bug?)
2 msgPhase Ordering of Scheduling and Allocation in GCC
21 msgComments in assember output
15 msgProblem with the string
2 msggcc3.3.3 vs gcc4.0.0
3 msgHelp for warning: type attributes are honored o...
2 msghelp compiling java code
1 msg32 bit Global Offset Table on MIPS: howto?
1 msgRemoval of GCC/GAS tailing .code segment NOP pa...

compilation issues with gcc v3.2.3p3--building ...
\ VIVEK KUMAR (22 Nov 2006)
. \ Kai Ruottu (22 Nov 2006)

3 msgARM GCC COMPILATION ERROR
4 msgproblem with a structure nested within a template
1 msgAnother clobber problem
Subject:Re: compilation issues with gcc v3.2.3p3--building 32bit on 64bit system
Group:Gcc-help
From:Kai Ruottu
Date:22 Nov 2006


VIVEK KUMAR wrote:
> I am trying to build a 32-bit application on 64bit
> system (Linux ???? 2.4.21-37.ELsmp #1 SMP Wed Sep 7
> 13:32:18 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux)
Are you sure that this hasn't a name like "Fedora", "SuSE", "Debian" or
"Ubuntu"?
> 3. /grid/common/pkgs/gcc/v3.2.3p3/bin/ld: skipping
> incompatible /usr/X11R6/lib/libX11.a when searching
> for -lX11
>
The Ubuntu one seems to use "unstandard" scheme where the 64-bit libs
are in '*lib' and the 32-bit libs are in '*lib32' when at least SuSE, Debian
and Fedora have used the "standard" where the 32-bit libs are in '*lib' and
the 64-bit libs are in '*lib64' (although these being the default libs).

Some people have very firm opinions about "which Linux is the best", so
you not knowing anything else than that using a :

Linux ???? 2.4.21-37.ELsmp #1 SMP Wed Sep 7 13:32:18 EDT 2005 x86_64
x86_64 x86_64 GNU/Linux

this got with 'uname -a', is really strange :-)

So if you have Ubuntu, the '/usr/X11R6/lib/libX11.a' can be a 64-bit
library.
Otherwise it is a 32-bit library... So which one it is? You couldn't
just use
'file /usr/X11R6/lib/libX11.a' and see if it was that expected 32-bit one?

> Could anyone help me resolve these issues ?
>
Just try simple methods like checking that the stuff used for producing
32-bit
stuff is really 32-bit !



© 2004-2008 readlist.com