ddd
[Top][All Lists]
Advanced

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

Re: ddd with Tru64 cxx


From: Tim Mooney
Subject: Re: ddd with Tru64 cxx
Date: Fri, 16 Jan 2004 11:29:55 -0600 (CST)

In regard to: Re: ddd with Tru64 cxx, Arnaud Desitter said (at 10:30am on...:

>Hi,
>
>After a quick search and according
>http://h30097.www3.hp.com/cplus/cxx_ref.htm#lib_opt
>you need to add "-D__USE_STD_IOSTREAM" to compile
>you example below. Could you try it and report your results
>to this list ?

Arnaud-

That fixed it!  The top level configure now proceeds as expected.

I am now running into problems when configuring libiberty (on Tru64,
Solaris 8, and IRIX 6.5.20), but those appear to be inconsistencies
between the two configure scripts (top level is generated via autoconf
2.53, libiberty configure is still 2.13).

The output from libiberty's configure on all the platforms I've tested is

configure: running /bin/sh './configure' --prefix=/local '--prefix=/local' 
'--exec-prefix=/local' '--bindir=${exec_prefix}/bin/X11' 
'--with-readline-libraries' 'CC=cc' 'CFLAGS=-O2 -xansi -n32 -OPT:Olimit=3000 
-I/local/gnu/include' 'CPPFLAGS= -I/local/gnu/include' 'CXXFLAGS=-LANG:std -O2 
-n32 -OPT:Olimit=3000' 'CXX=CC' 'LDFLAGS= -L/usr/lib32 -L/local/gnu/lib' 
--cache-file=/dev/null --srcdir=.
configure: warning: CC=cc: invalid host type
configure: warning: CFLAGS=-O2 -xansi -n32 -OPT:Olimit=3000 
-I/local/gnu/include: invalid host type
configure: error: can only configure for one host and one target at a time
configure: error: /bin/sh './configure' failed for libiberty



Obviously the CFLAGS and CXXFLAGS differ by platform, but the basic result
is the same.  libiberty's configure doesn't like what the top level
configure is passing it.  I've seen this before with other projects, and
it's because the top level configure was generated by recent autoconf, and
the subordinate configure was not.

It looks like it will take a little work to massage libiberty's
configure.in to work with recent autoconf.  I may have a chance to do that
this weekend, but I doubt it.  I'll report back when I have a chance to
look at the problem.

Tim
-- 
Tim Mooney                              address@hidden
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J6, IACC Building              (701) 231-8541 (Fax)
North Dakota State University, Fargo, ND 58105-5164




reply via email to

[Prev in Thread] Current Thread [Next in Thread]