GCC Go Patch to conditionalize use of sys/mman.h methods

Joel Sherrill joel.sherrill@oarcorp.com
Mon Mar 29 15:33:00 GMT 2010


Hi,

In trying to compile Go to target RTEMS, we needed to
address the unconditional use of methods in sys/mman.h.
You will need to regenerate configure.

If you have another idea on how to handle this, please
let me know.

Thanks.

2010-03-29  Joel Sherrill <joel.sherrill@oarcorp.com>

     * configure.ac: Add AC_CHECK_HEADERS for sys/mman.h
     * configure: Regenerated.
     * runtime/go-trampoline.c, runtime/mem.c, runtime/runtime.h:
     Conditionalize use of methods in sys/mman.h.

-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: libgo.diff
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20100329/5d8b194d/attachment.ksh>


More information about the Gcc-patches mailing list