[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Autoconf on Solaris 10 64-bit Sparcv9
From: |
Paul Eggert |
Subject: |
Re: Autoconf on Solaris 10 64-bit Sparcv9 |
Date: |
Sat, 29 Apr 2006 09:52:11 -0700 |
User-agent: |
Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (gnu/linux) |
Ralf Wildenhues <address@hidden> writes:
> that should've been
> ./configure CXXFLAGS=-m64 LDFLAGS=-m64
>
> of course (and also CFLAGS=-m64 if you also compile C code).
Don't you also need to set CPPFLAGS too, in general? Otherwise how
will programs that run the preprocessor get the correct values for
symbols like LONG_MAX?
It does sound pretty inconvenient.
I use something like CC='gcc -m64' CXX='g++ -m64', but that's not much
better, and probably also has flaws.