[gccsdk] Problems running C++ programs compiled with GCC4

Peter Naulls peter at chocky.org
Tue Jul 29 13:12:28 PDT 2008

John Tytgat wrote:
> In message <488F65E8.9090003 at sky.com>
>           Lee Noar <leenoar at sky.com> wrote:
>> Unfortunately, I'm having trouble building most things with the 
>> autobuilder and I suspect it's because, for me, its downloading source 
>> code from the ubuntu 7 (gutsy) repos which don't match the patch files 
>> in the autobuilder. An example is libpng; the patch is for version 
>> 1.2.26, but it downloads version 1.2.15~beta5 (last-failure attached). 
>> Is it possible to force the autobuilder to use the debian repos so that 
>> everything matches?
> It looks like you're missing this advice:
> <URL:http://www.riscos.info/index.php/Using_GCCSDK#Source_code>

Apart from that, make a file in your build directory called
'build-setvars' and put in it:


Probably I will make that the default in the near future, because
of such concerns, and it makes it consistent with Cygwin, etc.

More information about the gcc mailing list