[libgfortran,patch] Build libgfortran when dup() and access() are not available

FX Coudert fxcoudert@gmail.com
Sat Sep 15 19:43:00 GMT 2007


> OK - thanks for fixing embedded systems.

Testing on various platforms (thanks to Hans-Peter Nilsson and Rask  
Ingemann Lambertsen) revealed flaws in this patch, which I corrected.  
I also protected the use of getcwd(), which was introduced since the  
PR was filed. Attached is was I committed.

With that, libgfortran (and also the front-end) builds on arm-unknown- 
elf, frv-unknown-elf, mipsisa64-unknown-elf, sh-unknown-elf, v850- 
unknown-elf and cris-unknown-elf. Hans-Peter and Rask were kind  
enough to run the testsuite, and results go from 231 failures (for  
cris), to around 1500 (sh and frv) and 8000+ (sh, mipsisa64). First  
analysis in the PR, I'll give you an update when I work out the  
details and propose a framework to "modularize" the testsuite  
(creating an "embeded" dejagnu effective target to avoid running some  
tests on these targets).

Cheers,
FX


-------------- next part --------------
A non-text attachment was scrubbed...
Name: access_dup3.diff
Type: application/octet-stream
Size: 5407 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20070915/926f1bdb/attachment.obj>


More information about the Gcc-patches mailing list