Re: [LinuxBIOS] [v3][PATCH] make xcompile more useful on the generic case

2007-07-24 Thread Patrick Georgi
Peter Stuge wrote: This can't work so well right? sorry, I forgot to remove my older variant. Thanks! Updated patch attached (May not be a bad thing, but please document it if intentional.) Document where - inline? or is i386-linux-* recommended anywhere? (couldn't find it anywhere in the

[LinuxBIOS] [v3][PATCH] make xcompile more useful on the generic case

2007-07-23 Thread Patrick Georgi
Hi, the attached patch looks for i386-elf-* and i386-linux-* in the generic case, where more options can be added easily. I _think_ I wrote it sufficiently portable to make it run even on ancient shell tools (no tail(1) use, after the gnu kids killed it, no test -z, ...), but please review

Re: [LinuxBIOS] [v3][PATCH] make xcompile more useful on the generic case

2007-07-23 Thread Peter Stuge
On Mon, Jul 23, 2007 at 09:11:59PM +0200, Patrick Georgi wrote: + PREFIX=$candidate + break [..] + PREFIX=i386-elf- + CC=${PREFIX}gcc This can't work so well right? The way I read it PREFIX will always be reassigned. Plus, you changed the