[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Compiler confusion



Thanks Dave, the suggestions you provided helped.

Now, what I still wonder is why when I invoke "gcc" things don't work,
but when I invoke "gcc-3.3" things do work as expected. On i386, gcc
is a symlink pointing to gcc-3.3, but on the Sparc gcc is a small
Sparc executable. The strange thing is that running "gcc -v" and
"gcc-3.3" give the same version information and output.

Cheers,

Eloy.-

On Thu, Sep 04, 2003 at 07:34:11AM -0700, David S. Miller wrote:
> 
> gcc defaults to 64-bit on sparc64 systems when the 64-bit
> libc is installed and "uname" returns "sparc64".
> 
> Specify the "-m32" option to force 32-bit compilation.
> Another way is to run your commands in a 32-bit environment
> via "sparc32 /bin/${MY_SHELL}"



Reply to: