The Xcode targets have this set: *_XCODE5_*_*_BUILDRULEORDER    = S s nasm
But nasm is required by the XCODE5 target to build the BaseLib. Is this a bug 
in the tools, or the BaseLib.inf?

Some one contacted me off list and I had to tell them to do this to build 
without installing nasm. 
diff --git a/MdePkg/Library/BaseLib/BaseLib.inf 
b/MdePkg/Library/BaseLib/BaseLib.inf
index 4cc86d7..e83a569 100644
--- a/MdePkg/Library/BaseLib/BaseLib.inf
+++ b/MdePkg/Library/BaseLib/BaseLib.inf
@@ -257,6 +257,7 @@
 
   Ia32/GccInline.c | GCC
   Ia32/Thunk16.nasm | GCC 
+  Ia32/Thunk16.S | XCODE 
   Ia32/EnableDisableInterrupts.S | GCC 
   Ia32/EnablePaging64.S | GCC 
   Ia32/DisablePaging32.S | GCC 
@@ -413,6 +414,7 @@
   X86DisablePaging32.c
   X64/GccInline.c | GCC
   X64/Thunk16.nasm | GCC 
+  X64/Thunk16.S | XCODE 
   X64/SwitchStack.S | GCC 
   X64/SetJump.S | GCC 
   X64/LongJump.S | GCC 


Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Andrew Fish <af...@apple.com <mailto:af...@apple.com>>

Thanks,

Andrew Fish

PS Note nasm does not properly support source level debugging with clang/Xcode 
so that is why we don’t want to move over to it. 

PPS I have nasm installed on my system, and that is why I did not notice it 
until I got the bug report. 
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to