PDA

View Full Version : GCC 3.1 and QT 2.3.2 (recompile)?



Wishbringer
05-17-2002, 03:10 AM
Do i need to recompile QT-2.3.2 if I switch from GCC 3.0.4 to GCC 3.1?

Dedpoet
05-17-2002, 06:13 AM
gcc is just the tool you use to build the program. Do you need to mow your lawn the day you buy a new lawnmower? No, but next time you mow the lawn, you will use your new lawnmower.

A better question would be does seq build under gcc 3.1. I haven't seen any posts about that yet, but I don't see any reason why it wouldn't.

fee
05-17-2002, 07:24 AM
If memory serves GCC 3.1 has a different ABI than GCC 3.0. This being the case, do not use GCC 3.1 to build showeq or any of its c++ dependencies, IFF you utilize LibEQ.

Simple reason:
LibEQ.a is compiled using GCC 3.0


Summary:
Stick with GCC 3.0.x untill a GCC 3.1.x compiled LibEQ is available.


fee

high_jeeves
05-17-2002, 08:17 AM
Heh.. and we wonder why linux is not the mainstream OS yet... cant use gcc2.96 w/ gcc3.0 w/ gcc3.1... yeah.. my grandma can handle that :)

--Jeeves

Wishbringer
05-17-2002, 12:37 PM
@Dedpoet:
IF you use GCC 3.1, you HAVE to recompile QT library. I tried it out...

@fee
thanks, will go back to 3.0.4, but at moment libeq.a works with GCC 3.1
no seqfaults, normal decoding.... works nice.
maybe subjective, but it seems to be faster with GCC 3.1
(have turned on -march=pentium3 -msse and -mfpmath=sse (dont know if SEQ uses floating point operations))

@high_jeeves:
did an optional install of GCC 3.1
:cool:
ok, deinstalled GCC 2.95.3 (because its obsolete till hell)