Bruce, I saw that -Wl, was for gcc to pass options to linker.
What does not make sense to me in the patch is the use of -Wl for DLINK, which should be mapped to ld, which should not require the Wl, prefix. Mike -----Original Message----- From: Bruce Cran [mailto:br...@cran.org.uk] Sent: Wednesday, July 15, 2015 9:39 AM To: Kinney, Michael D; Scott Duplichan; edk2-devel@lists.sourceforge.net Cc: Mcdaniel, Daryl Subject: Re: [edk2] [PATCH] BaseTools: Add GCC49LTO tool chain: GCC49 with link time optimization On 7/15/2015 10:11 AM, Kinney, Michael D wrote: > Is adding -Wl to those link options a new requirement for GCC49? Can all GCC > toolchains accept -Wl in front of those link options? Maybe you can just all > -Wl to the build rule without adding GCCLINK_PREFIX? I came across that problem getting gcc 5.1 running using the GCC49 toolchain spec on FreeBSD last week: linker options have always (as far as I know) required -Wl to be passed through to ld, but it appears that gcc normally recognizes the ld options and passes them automatically but for some reason it doesn't happen in some cases. -- Bruce ------------------------------------------------------------------------------ Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel