1 Jun 2009 07:49
Re: GUB on kainhofer: still cross/gcc
Graham Percival <graham <at> percival-music.ca>
2009-06-01 05:49:36 GMT
2009-06-01 05:49:36 GMT
On Sun, May 31, 2009 at 09:20:24PM +0200, Jan Nieuwenhuizen wrote: > Op zaterdag 30-05-2009 om 22:46 uur [tijdzone -0700], schreef Graham > Percival: > > > Who has successfully built GUB? > > Me!(Continue reading)Anybody else? Particularly on ubuntu systems? > > def compile_command (self): > > os.putenv('CFLAGS', '-fno-stack-protector ') > > return (cross.AutoBuild.compile_command (self)) > > to the class Gcc (cross.AutoBuild), but that also failed. > > FWIW, I'd very much avoid juggling with the environment from python, > and try to keep changes as local as you can. None of the other places I put -fno-stack-protector had any effect, so I was just trying everything. :( > I'd try something like > > diff --git a/gub/specs/darwin/odcctools.py b/gub/specs/darwin/odcctools.py > index ee953c0..1d24944 100644 > --- a/gub/specs/darwin/odcctools.py > +++ b/gub/specs/darwin/odcctools.py > <at> <at> -62,3 +62,8 <at> <at> cd %(install_prefix)s%(cross_dir)s/bin && ln %(toolchain_prefix)sstrip ../%(targ > def install (self): > cross.AutoBuild.install (self)
Anybody else? Particularly on ubuntu systems?
> > def compile_command (self):
> > os.putenv('CFLAGS', '-fno-stack-protector ')
> > return (cross.AutoBuild.compile_command (self))
> > to the class Gcc (cross.AutoBuild), but that also failed.
>
> FWIW, I'd very much avoid juggling with the environment from python,
> and try to keep changes as local as you can.
None of the other places I put -fno-stack-protector had any
effect, so I was just trying everything. :(
> I'd try something like
>
> diff --git a/gub/specs/darwin/odcctools.py b/gub/specs/darwin/odcctools.py
> index ee953c0..1d24944 100644
> --- a/gub/specs/darwin/odcctools.py
> +++ b/gub/specs/darwin/odcctools.py
> <at> <at> -62,3 +62,8 <at> <at> cd %(install_prefix)s%(cross_dir)s/bin && ln %(toolchain_prefix)sstrip ../%(targ
> def install (self):
> cross.AutoBuild.install (self)


RSS Feed