Back when GPF released a somewhat working build of GCC 4.0.1 for the DC, any bin that I compiled was at least 10% smaller. GCC 4 introduced a brand new, and much better optimization system.
The problems were that: 1) KOS needs to be modified to compile with GCC 4 (mostly depreciated lval usage) 2) C++ support was broken.
It would be great to see another try at a working gcc 4 for DC compilation.
Perdona mi castellano feo.
-fno-function-cse and -fno-gcse make strange errors when running a game.
Is there any differences between gcc 3.x and 4.x in performance???
EDIT: i've found the kpit gnu sh toolchain. Did anyone knows if it works with dreamcast??
Editado por
Guaripolo en 25-03-2009 01:34,
16 year hace-O3 -fno-function-cse -funit-at-a-time -funroll-loops -fno-gcse
yet a better one:
-O3 -fno-function-cse -funit-at-a-time -funroll-loops -fno-gcse -fsort-data -fno-delete-null-pointer-checks -relax -ffast-math -Wall -g -fomit-frame-pointer
In between my work of chosing the best GCC version for DC coding I fond those to be the best way to get speed for our work. ;):)
Don't dream, play Dreamcast!!!
Editado por
Mekanaizer en 25-03-2009 01:19,
16 year haceI have always used the 3.4.6 and worked great for me...
Anyway the dc dev compiler and tools need and update and some fixes...
Shenmue es mi regalo para los jóvenes del siglo XXI
"Yu Suzuki"
yeeeeeeaaaaahhhhhhhh i wan't the flag tweaks!!!
I didn't know that 4.2.2 worked well in dc.
Hi.
Some days ago I started to setup my DC env. But I ended up with the question: What GCC version does a better job? So I started to do some testing and 3.4.6 version has some bugs.
So I jumped to see the 4.x gcc branch and fond the answer to my question.
Q: So you ask me what version I chose?
A: Either one, 4.2.2 needs some Flag tweaking will compiling stuff thou
NOTE:
I can post the Flag tweaks later on if requested.
Mekanaizer going to bed now. :D;)
Don't dream, play Dreamcast!!!
Editado por
Mekanaizer en 20-03-2009 06:35,
16 year hacepuede ver todos los hilos de discusión en este foro.
puede iniciar un nuevo hilo de discusión en este foro.
no puede responder en este hilo de discusión.
no puede empezar en una encuesta en este foro.
puede cargar archivos adjuntos en este foro.
no puede descargar archivos adjuntos en este foro.