Re: [edk2-buildtools] [PATCH] BaseTools: Add support for a CROSS_COMPILE ELFGCC

2013-05-28 Thread Andrew Fish
On May 28, 2013, at 2:32 PM, Jordan Justen wrote: > On Tue, May 28, 2013 at 12:26 PM, Andrew Fish wrote: >> On May 28, 2013, at 12:10 PM, Jordan Justen wrote: Anyway, I am not sure GCC for ARM architectures supports PE/COFF (I guess that would 'only' required to add the PE/COFF reloc

Re: [edk2-buildtools] [PATCH] BaseTools: Add support for a CROSS_COMPILE ELFGCC

2013-05-28 Thread Jordan Justen
On Tue, May 28, 2013 at 12:26 PM, Andrew Fish wrote: > On May 28, 2013, at 12:10 PM, Jordan Justen wrote: >>> Anyway, I am not sure GCC for ARM architectures supports PE/COFF (I guess >>> that would 'only' required to add the PE/COFF relocation symbols). But if >>> ELFGCC is deprecated for IA32/X

Re: [edk2-buildtools] [PATCH] BaseTools: Add support for a CROSS_COMPILE ELFGCC

2013-05-28 Thread Andrew Fish
On May 28, 2013, at 12:10 PM, Jordan Justen wrote: >> Anyway, I am not sure GCC for ARM architectures supports PE/COFF (I guess >> that would 'only' required to add the PE/COFF relocation symbols). But if >> ELFGCC is deprecated for IA32/X64 usage and ARM GCC only supports ELF >> output, do you

Re: [edk2-buildtools] [PATCH] BaseTools: Add support for a CROSS_COMPILE ELFGCC

2013-05-28 Thread Jordan Justen
On Tue, May 28, 2013 at 11:43 AM, Olivier Martin wrote: > Thanks for your useful comment. > > I looked which flags were used on x86 architectures to generate the PE/COFF > images with the GCC toolchain. And it seems that even if the comments in > tools_def says "This configuration is used to compi

Re: [edk2-buildtools] [PATCH] BaseTools: Add support for a CROSS_COMPILE ELFGCC

2013-05-28 Thread Olivier Martin
Thanks for your useful comment. I looked which flags were used on x86 architectures to generate the PE/COFF images with the GCC toolchain. And it seems that even if the comments in tools_def says "This configuration is used to compile under Linux to produce PE/COFF binaries using GCC 4.x", the GNU

Re: [edk2-buildtools] [PATCH] BaseTools: Add support for a CROSS_COMPILE ELFGCC

2013-05-28 Thread Jordan Justen
On Tue, May 28, 2013 at 10:30 AM, Olivier Martin wrote: > Any feedback on this change? Or is everyone happy by this CROSS_COMPILE > ELFGCC support? I think ELFGCC was pretty much deprecated for IA32/X64 usage. It was used only for UnixPkg. EmulatorPkg does not rely on ELFGCC, and therefore ELFGCC

Re: [edk2-buildtools] [PATCH] BaseTools: Add support for a CROSS_COMPILE ELFGCC

2013-05-28 Thread Olivier Martin
Any feedback on this change? Or is everyone happy by this CROSS_COMPILE ELFGCC support? Again, this change should avoid duplication and bring flexibility for the GCC toolchain in tools_def file. From: Olivier Martin [mailto:[email protected]] Sent: 10 May 2013 19:01 To: edk2-buildtool