On 08/27/2013 05:30 PM, Blibbet wrote:
> Hi,
>
> I need to setup a VirtualBox-based VM of a Linux distro, and then setup
> EDK-II/UDK and some samples sources, for use in a class.
>
> The wiki still recommends Ubuntu 10.10. But that's a very old release.
>
> Are there any issues using the current UDK with Ubuntu 13.04 (Raring
> Ringtail), or 12.10 (Quantal Quetzal)?
>
> Ubuntu aside, is there another good distro that works well with the UDK?
> Perhaps Fedora, or another active Linux-based UEFI Forum member?

I use Gentoo as my main development platform for rEFInd, which I compile 
with Tianocore. I occasionally build with another distribution, though, 
including Fedora, Ubuntu, and OpenSUSE (the latest versions of all of 
these). Everything works OK for me, with one caveat....

The problem with recent Linux distributions is that they ship with GCC 
4.7 or even 4.8. The stable UDK2010 package of Tianocore officially 
supports up to GCC 4.6. To get it to work with GCC 4.7, I set 
TOOL_CHAIN_TAG in Conf/target.txt to "GCC46" and then I edit 
Conf/tools_def.txt to change

*_GCC46_X64_ASM_FLAGS   = DEF(GCC46_ASM_FLAGS) -m64 -melf_x86_64

to

*_GCC46_X64_ASM_FLAGS   = DEF(GCC46_ASM_FLAGS) -m64

This works for me with no noticeable problems, but it could be I'm 
missing some subtle problem or that a problem might occur for you and 
your project. I've not yet tested with GCC 4.8, so I don't know if the 
same trick would work with it.

-- 
Rod Smith
[email protected]
http://www.rodsbooks.com

------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to