|
From: Jordan J. <jlj...@gm...> - 2010-06-14 17:37:44
|
Rajitha, Hi. Can you explain what you'd like to do? If you'd like to run a EFI simulation under Linux, then you would need to build UnixPkg, but you should know that it does not support x86-64 (X64). UnixPkg can only be built with the ELFGCC toolchain. The ELFGCC toolchain only supports IA32, and it only supports building the UnixPkg. It may be possible to build UnixPkg as a 32-bit application under Linux x86-64, but I don't know if this has been done previously. If you'd like to run an EFI environment under Linux, you might take a look at the OVMF project: http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=OVMF This project runs under the QEMU virtual machine. Perhaps you'd like to build the GccShellPkg? This is a port of the ShellPkg (EFI shell + apps) to make it build with GCC. If this is what you'd like to do, then you should try to use either the UNIXGCC of GCC44 toolchains. -Jordan On Sat, Jun 12, 2010 at 04:23, Rajitha Wijayaratne <raj...@op... > wrote: > Hello, > > I am trying to get GCC Shell up and running on Linux x86_64 so that I can > test and debug EFI applications. I use, > > build -p GccShellPkg/GccShellPkg.dsc -a X64 -t ELFGCC > > > to build as per the Wiki. > > However GenFw tool throws the following message. > > edk2/Build/GccShellPkg/DEBUG_ELFGCC/X64/GccShellPkg/Shell/DEBUG/Shell.dll > unsupported ELF EM_X86_64 relocation 0x7. > > The relocation (0x7) it complains is defined as; > > #define R_X86_64_JMP_SLOT 7 /* Set GOT entry to code address. */ > > How can fix this issue? Can I copy the ELF to PE/COFF using some other tool > Instead of GenFw such as objcopy perhaps? > > cheers > > Rajitha > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > edk2-buildtools-devel mailing list > edk...@li... > https://lists.sourceforge.net/lists/listinfo/edk2-buildtools-devel > > |