On Wed, Oct 27, 2004 at 09:00:13AM +0200, Silvio a Beccara wrote:
Dear Waldek,
thanks very much for your suggestions. As for the optimisation switches, -march=athlon-xp doesn't seem to work on my system (Mandrake 9.1, gpc version 2.1 (20020510), based on 2.95.3 20010315 (release)). Do I have to compile or install GPC with particular options?
If I am not mistaken, optimization for Athlon XP was introduced in GCC 3.x, so you need to compile GPC against a newer backend. The same probably holds for Pentium 4, which you mentioned in another mail (which makes me wonder a little bit: is your machine an Athlon XP or P4? It makes no sense to optimize for one CPU and then run the program on a different one.)
Emil Jerabek