[edk2-devel] UDK2022 stable202211 - GCC compiler for Windows for building X64 EFI

Daniel Samuelraj via groups.io daniel.samuelraj=broadcom.com at groups.io
Thu Sep 28 03:10:39 UTC 2023


We tried GCC at https://sourceforge.net/projects/gcc-win64/

And then we tried GCC ver5.4

We are getting the following error:

x86_64-5.4.0-release-posix-sjlj-rt_v5-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/5.4.0/../../../../x86_64-w64-mingw32/bin/ld.exe:
unrecognised emulation mode: elf_x86_64



Can you please let me know the recommended/suggested GCC version to compile
UDK2022 stable202211? Also if there is any link with instructions to
compile UDK2022 with GCC would be helpful?



Thanks,

Daniel

*From:* Daniel Samuelraj <daniel.samuelraj at broadcom.com>
*Sent:* Wednesday, September 27, 2023 12:54 PM
*To:* 'devel at edk2.groups.io' <devel at edk2.groups.io>
*Cc:* Jianning Wang <jianning.wang at broadcom.com>; 'Kinney, Michael D' <
michael.d.kinney at intel.com>
*Subject:* UDK2022 GCC compiler



Hi,

Can you recommend a GCC compiler to build UDK2022?



Thanks

-- 
This electronic communication and the information and any files transmitted 
with it, or attached to it, are confidential and are intended solely for 
the use of the individual or entity to whom it is addressed and may contain 
information that is confidential, legally privileged, protected by privacy 
laws, or otherwise restricted from disclosure to anyone else. If you are 
not the intended recipient or the person responsible for delivering the 
e-mail to the intended recipient, you are hereby notified that any use, 
copying, distributing, dissemination, forwarding, printing, or copying of 
this e-mail is strictly prohibited. If you received this e-mail in error, 
please return the e-mail to the sender, delete it from your computer, and 
destroy any printed copy of it.


-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.
View/Reply Online (#109145): https://edk2.groups.io/g/devel/message/109145
Mute This Topic: https://groups.io/mt/101632378/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230927/15389d2f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 4221 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/edk2-devel-archive/attachments/20230927/15389d2f/attachment.p7s>


More information about the edk2-devel-archive mailing list