ddd
[Top][All Lists]
Advanced

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

Re: ddd-3.3.9-test2 build feedback HPUX once again...


From: Tuomo Tikkanen
Subject: Re: ddd-3.3.9-test2 build feedback HPUX once again...
Date: Tue, 25 May 2004 23:57:55 +0300
User-agent: Mozilla/5.0 (X11; U; SunOS sun4u; en-US; rv:1.7b) Gecko/20040323

ext Arnaud Desitter wrote:

Do you get any warnings while compiling ddd with gcc 3.4 ?
It looks like that finding a small test case and filing a bug report
for gcc would be useful.

I am now truly shamed! I have mixed things up shamefully and 3.4.0 is working just fine on HPUX 10.20 to compile ddd-3.3.9-test2. I am really sorry for extra hart beats my too fast conclusions may have caused to you.

Because you asked about these warnings I remade the compilation and piped compiler output to "tee" command to get them to a file too. To my surprise the compilation with 3.4.0 went through without problems even though I didn't have any #pragmas commented out. I repeated the whole configure/make procedure and and got the same result: There was no need to comment out any #pragmas.

As you can understand I was quite a bit angry to myself as I had made too quick conclusions earlier about the compilation problems. I decided to repeat the configure/make procedure using g++ version 3.3.3 on the same HPUX10.20 machine and now I got the typeinfo problems. And for this compiler version it is enough that I comment out the #pragma interface line in ddd/Assoc.h file to get rid of the typeinfo errors.

So at some point earlier I have messed up what I have been doing (I am not very good in parallel processing ;-) and thus given a bit false information to you.

Now my "final" conclusion is that g++ version 3.4.0 is just fine to compile DDD-3.3.9-test2 on HPUX 10.20 with athena toolkit as long as -lXmu is manually added to ddd/Makefile after configuration AND "-L /path/to/gcc/install/path/lib" is given in LDFLAGS during compilation.

Here is an example what I have done when g++ version 3.4.0 is used:

-----8<-----8<-----8<-----8<-----8<-----
# cd ddd-3.3.9-test2
# mkdir hp10
# cd hp10
# g++ --version
g++ (GCC) 3.4.0
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

# ../configure --prefix=/share/hppa1.1-hp-hpux10.20/gnu/ddd/3.3.9-test2 --with-athena-includes=/usr/contrib/X11R6/include --with-athena-libraries=/usr/contrib/X11R6/lib
# vi ddd/Makefile
... add -lXmu to appropriate line ...
# make CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-L/usr/local/gnu/gcc/3.4.0/lib" -j4 | & tee MAKE_OUTPUT # make CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-L/usr/local/gnu/gcc/3.4.0/lib" check # make CFLAGS="-O2" CXXFLAGS="-O2" LDFLAGS="-L/usr/local/gnu/gcc/3.4.0/lib" install
-----8<-----8<-----8<-----8<-----8<-----

--
<< Tuomo-Markus Tikkanen <> address@hidden >>
<< Nokia Research Center <>  Phone: +358 71 803 6480 >>
<< P.O. Box 407          <> Mobile: +358 50 483 6480 >>
<< FIN-00045 NOKIA GROUP <>    FAX: +358 71 803 6210 >>





reply via email to

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