Sunday, 8 December 2013

Controlling an executable’s stack size

I needed to increase the default stack size (8 Mb on Mac OS X Mavericks) allocated to an executable.

Tuesday, 30 April 2013

Building GCC 4.8.0

These notes describe building GCC 4.8.0 for Mac OS X, with Ada, C, C++, Fortran, Objective C, Objective C++, and various GNAT tools.

Friday, 8 February 2013

Patched GCC!

I just had a patch accepted to GCC! gcc/ada/init.c, r195862.
2013-02-07  Simon Wright  <simon@pushface.org>

 PR target/50678
 * init.c (__darwin_major_version): New function for x86-64/Darwin.
 (__gnat_adjust_context_for_raise) [Darwin]: Disable the workaround
 on Darwin 12 and above.

Monday, 14 January 2013

Tracking down a Program_Error

A StackOverflow question about a Storage_Error exception when trying to implement a FastCGI example in Ada prompted me to investigate.

Tuesday, 19 June 2012

Where did my constants go?

I just installed Emacs 24.1 on Mac OS X Lion, and found that my Ada code seemed to have been eaten away.

Thursday, 24 May 2012

Building GCC with Ada on Solaris x86

This note documents (with some elisions!) building FSF GCC for Ada on Solaris 11 for x86.

Tuesday, 21 February 2012

A Makefile hack

I had a problem with GNU Make where multiple targets were created from one prerequisite.