|
2005-10-05
| ||
| 12:32 | • Closed ticket [1116162fff]: Wrong detect 64bit gcc compiler on hpux plus 3 o... artifact: 510b23e229 user: hobbs | |
|
2005-06-06
| ||
| 17:18 | • Ticket [1116162fff]: 4 changes artifact: dcc594b286 user: yuray | |
|
2005-05-30
| ||
| 08:54 | • Ticket [1116162fff]: 5 changes artifact: 8a83d02396 user: hobbs | |
|
2005-02-04
| ||
| 13:10 | • New ticket [1116162fff]. artifact: 062fd70f55 user: yuray | |
Wrong detect 64bit gcc compiler on hpux
Closed / Accepted1116162fffffffffffffffffffffffffffffffffCreated 22 years agoUpdated 21 years ago
Descriptionplain2005-02-04 13:10:40
I have installed gcc 3.4.2 from hp.
This is a two gcc 32bit in /usr/local/bin/gcc
and
64bit in /usr/local/pa64/bin/gcc
PATH=...:/usr/local/bin:...
ie default gcc is 32bit
I start built tcl with command:
CC=/usr/local/pa64/bin/gcc MAKE=gmake
../tcl8.4.9/unix/configure --prefix /opt2/tcl
--enable-threads --enable-shared --enable-64bit
and get
...
checking for shl_load in -ldld... yes
configure: warning: 64bit mode not supported with GCC
on HP-UX-B.11.11
configure: warning: 64bit support being disabled --
don't know magic for this platform
...
In tcl8.4.9/unix/configure
i find
if test "$GCC" = "yes" ; then
hpux_arch=`gcc -dumpmachine`
ie checking my default gcc 32bit, not those I set in
CC) and configure fail 64bit support!
I think it is not correct.
hobbsplain2005-05-30 08:54:54
Logged In: YES user_id=72656 The assumption is that gcc is on the path, but setting CC=/path/to/another/gcc may be correct. However, the assumption that $GCC = "yes" means gcc is the one on the path is made in many other places (notably SHLIB_LD). It will require a lot of testing to ensure using $CC there is correct. I would recommend extending your path to add gcc as a work-around right now.
yurayplain2005-06-06 17:18:04
Logged In: YES user_id=749625 Setting path to export PATH=/usr/local/pa64/bin/:$PATH I get ... checking if 64bit support is requested... yes ... Thanks.
hobbs Closed ticket [1116162fff].
[History diff]2005-10-05 12:32:13
Log in (anonymous is fine) to add a comment.