Upgrading the compiler in an old dkA/libnds setup
Posted: Fri Nov 21, 2014 1:24 pm
I have a very very old project that I'd like to recompile.
Since it's very old, it won't compile with current dkA/libnds, and to make it compatible would require to rewrite from scratch a lot of code, and that's a thing I would never do.
It just compiles fine with the old setup, until I try to activate LTO... in that case the linker phase fails because of this known bug, which has been fixed later. Thus I'd like to somehow replace the old compiler with the one currently shipped with dkA, keeping everything else in place.
Is it completely impossible?
Since it's very old, it won't compile with current dkA/libnds, and to make it compatible would require to rewrite from scratch a lot of code, and that's a thing I would never do.
It just compiles fine with the old setup, until I try to activate LTO... in that case the linker phase fails because of this known bug, which has been fixed later. Thus I'd like to somehow replace the old compiler with the one currently shipped with dkA, keeping everything else in place.
Is it completely impossible?