Re: Solving the grub-pe2elf problem

2009-08-10 Thread Robert Millan
On Sat, Aug 08, 2009 at 12:49:27AM -0400, Pavel Roskin wrote: > On Fri, 2009-08-07 at 22:39 +0200, Robert Millan wrote: > > > I don't understand this. Why is a requirement to install GNU binutils > > unreasonable, whereas a requirement to install objconv is not? > > Installing binutils can break

Re: Solving the grub-pe2elf problem

2009-08-08 Thread Christian Franke
Bean wrote: You could also check out my new object format at http://github.com/bean123/grub, lib branch. It supports conversion of pe/elf/mach-o object file to a grub specific format, so that you can use native build tool in Linux/OSX/Windows, no need for linker and converter. It also reduce comp

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Pavel Roskin
On Fri, 2009-08-07 at 15:46 +0200, Robert Millan wrote: > Other maintainers, is it burdensome to any of you to include these binaries > in official builds? I suppose it's not, since mingw32 packages are widely > available, but it doesn't hurt to ask :-) I would prefer not to do a binary build at

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Pavel Roskin
On Fri, 2009-08-07 at 22:39 +0200, Robert Millan wrote: > I don't understand this. Why is a requirement to install GNU binutils > unreasonable, whereas a requirement to install objconv is not? Installing binutils can break the existing toolchain. Installing objconv should not. It's a good idea

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Robert Millan
On Fri, Aug 07, 2009 at 04:06:11PM +0200, Vladimir 'phcoder' Serbinenko wrote: > On Fri, Aug 7, 2009 at 4:01 PM, Vladimir 'phcoder' > Serbinenko wrote: > > On Fri, Aug 7, 2009 at 3:46 PM, Robert Millan wrote: > >> > >> Hi, > >> > >> I thought of a possible solution to the grub-pe2elf problem.  It s

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Bean
Hi, You could also check out my new object format at http://github.com/bean123/grub, lib branch. It supports conversion of pe/elf/mach-o object file to a grub specific format, so that you can use native build tool in Linux/OSX/Windows, no need for linker and converter. It also reduce compile time

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Christian Franke
Vladimir 'phcoder' Serbinenko wrote: If you see pe2elf as being too much of a burden we may switch to objconv: http://www.agner.org/optimize/. It's already used in conjunction with Apple Mach-O toolchain. It's not a GNU project but is licensed under GPL. Thanks for the hint, I will try objco

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Christian Franke
Robert Millan wrote: I thought of a possible solution to the grub-pe2elf problem. It seems that it is burdensome to produce ELF binaries on Windows, but building PE binaries or even PE/win32 executables on GNU/Linux is not (thanks to Mingw32 toolchain which is available on most distributions).

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Vladimir 'phcoder' Serbinenko
On Fri, Aug 7, 2009 at 4:01 PM, Vladimir 'phcoder' Serbinenko wrote: > On Fri, Aug 7, 2009 at 3:46 PM, Robert Millan wrote: >> >> Hi, >> >> I thought of a possible solution to the grub-pe2elf problem.  It seems that >> it is burdensome to produce ELF binaries on Windows, but building PE binaries >>

Re: Solving the grub-pe2elf problem

2009-08-07 Thread Vladimir 'phcoder' Serbinenko
On Fri, Aug 7, 2009 at 3:46 PM, Robert Millan wrote: > > Hi, > > I thought of a possible solution to the grub-pe2elf problem.  It seems that > it is burdensome to produce ELF binaries on Windows, but building PE binaries > or even PE/win32 executables on GNU/Linux is not (thanks to Mingw32 toolchai