Hi,

we're trying to package the edk2 Build Tools for Fedora 20, which now
includes ARM. We've run into problems -- the report is in [1].

After checking [2] and [3], I thought I should ask here some basic
questions.

Q1: which of the following configurations are supported?

   ARCH1:         ARCH2:         ARCH3:
   BuildTools     BuildTools     BuildTools compile
   are built on   run on         UEFI code for
   ------------   -------------  ------------------
a) x86_64 Fedora  x86_64 Fedora  ARM
b) x86_64 Fedora  ARM Fedora     ARM
c) ARM Fedora     ARM Fedora     ARM

(I'm aware that "ARM" covers about a gazillion platforms, let's ignore
that for a second.)


Q2: Assuming (a) and/or (b) are supported, what cross compiler should we
use? (Under (a), we need to cross-compile UEFI code; under (b), we need
to cross-compile BuildTools themselves).

Article [3] suggests ARMGCC or ARMLINUXGCC -- are their source codes
available somewhere? (We may have x86_64-to-ARM cross-gcc in Fedora, but
I'm not very active in Fedora so I don't know. In any case the "eabi"
part seems, ugh, somewhat "rare".)


Q3: [2] and [3] seem to suggest (a), with the additional requirement
that the cross compiler be available even when building *only* the host
BuildTools binaries. It's as if we needed the tools for ARCH2->ARCH3
cross compilation available even when we're only building BuildTools
themselves, on the host, for the host (ie. ARCH1=ARCH2).

Is this observation correct?

Thank you,
Laszlo


[1] https://bugzilla.redhat.com/show_bug.cgi?id=992180
[2]
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=BeagleBoardPkg
[3]
http://sourceforge.net/apps/mediawiki/tianocore/index.php?title=ArmPkg/Toolchain

------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and 
AppDynamics. Performance Central is your source for news, insights, 
analysis and resources for efficient Application Performance Management. 
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel

Reply via email to