The Linux From Scratch project has notes on building an entire toolchain, you should read up on it. It shouldn't be too different to adapt to the 3.6 GCC. If it doesn't work, try to find the archived older versions.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156076\"][{POST_SNAPBACK}][/a][/div]
Yes, I've been reading up on that. Great project, thanks.
It's a long process to get it right - you have to build GCC, use that to build Glibc, then rebuild GCC to link against the newly-created Glibc. Since pdaXrom already has Glibc built, you can probably skip most of that.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156076\"][{POST_SNAPBACK}][/a][/div]
It certainly is a long process. Like you said, and for the same reasons, I'm not trying to rebuild glibc (yet).
did you use the pdaXrom toolchain (which is softvfp enabled) to compile fortran or did you use your own DIY toolchain which uses soft-float/fpa to compile fortran? the latter would build a completely incompatible libgcc
also, you need to build fortran from the same gnu compiler version as the pdaXrom toolchain, ie 3.4.6 sources of fortran, otherwise you will be building a different version of libgcc.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=156093\"][{POST_SNAPBACK}][/a][/div]
I've actually tried all of the above, as well as cross-tool. I was using gcc3.4.5 to compile gcc3.4.5. The only partial successes I believe I've gotten thus far were from the pdaXrom x86 softvfp cross-compiler in one try and the native pdaXrom toolchain in another. I'm not sure what's going wrong with the resulting toolchain anymore, since I haven't had a chance to try it again for a few weeks. The last I remember is that it wasn't linking compiled code into executable code somehow.
I'm sure to give this another try in the near future, even if it means starting completely from scratch as was suggested.
Thanks for the responses, I guess there's not much of a demand for fortran in pdaxrom, or if there is, it's fairly silent. I do very much appreciate the assistance.