public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: Andrew Fish <afish@apple.com>
To: GN Keshava <keshava.gn@gmail.com>
Cc: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: EDK2 build using Visual Studio
Date: Mon, 05 Jun 2017 07:46:46 -0700	[thread overview]
Message-ID: <9DDD214E-B8B5-4CB5-A5A9-D38BDDCD14F6@apple.com> (raw)
In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14D745D9A@shsmsx102.ccr.corp.intel.com>


> On Jun 5, 2017, at 7:04 AM, Gao, Liming <liming.gao@intel.com> wrote:
> 
> _fltused  symbol is generated by compiler. You can just define this symbol in one C file to satisfy the linker like below:
> 
> int _fltused = 1;
> 

Keshava,

Looks like _fltused is emitted by the MSVC to tell the C runtime it needs to link in floating point libraries. EFI edk2 code does not support floating point, so you may run into porting issues from tool chain to toolchain if you use floating point. 

Thanks,

Andrew Fish


> Thanks
> Liming
> From: GN Keshava [mailto:keshava.gn@gmail.com]
> Sent: Monday, June 5, 2017 9:04 PM
> To: Gao, Liming <liming.gao@intel.com>; edk2-devel@lists.01.org
> Cc: Carsey, Jaben <jaben.carsey@intel.com>
> Subject: Re: [edk2] EDK2 build using Visual Studio
> 
> Hi Liming,
> 
> Thanks for the reply.
> I had tried this, but was getting errors that I didn't get on VS2008, mainly, error LNK2001 unresolved external symbol __fltused
> 
> I didnt get this error on VS2008, but the same workspace is giving this error on VS2015. :(
> 
> Thanks.
> With regards,
> Keshava
> 
> 
> On Mon, 5 Jun 2017 at 18:13 Gao, Liming <liming.gao@intel.com<mailto:liming.gao@intel.com>> wrote:
> Keshava:
>  You can build platform with -t VS2015 or -t VS2015x86 to enable VS2015 tool chain.
> 
>> -----Original Message-----
>> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org<mailto:edk2-devel-bounces@lists.01.org>] On Behalf Of GN Keshava
>> Sent: Monday, June 5, 2017 4:23 PM
>> To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
>> Cc: Carsey, Jaben <jaben.carsey@intel.com<mailto:jaben.carsey@intel.com>>
>> Subject: [edk2] EDK2 build using Visual Studio
>> 
>> Hi,
>> 
>> I was able to build EDK2 using VS2008. Did anyone used VS2015 and built the
>> EDK2?
>> If yes, I want to know how I can do it.
>> 
>> Thanks.
>> With regards,
>> Keshava
>> _______________________________________________
>> edk2-devel mailing list
>> edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org>
>> https://lists.01.org/mailman/listinfo/edk2-devel
> _______________________________________________
> edk2-devel mailing list
> edk2-devel@lists.01.org
> https://lists.01.org/mailman/listinfo/edk2-devel



  reply	other threads:[~2017-06-05 14:45 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-05  8:23 EDK2 build using Visual Studio GN Keshava
2017-06-05 12:43 ` Gao, Liming
2017-06-05 13:04   ` GN Keshava
2017-06-05 14:04     ` Gao, Liming
2017-06-05 14:46       ` Andrew Fish [this message]
2017-06-08 10:29         ` GN Keshava
2017-06-08 14:29           ` Andrew Fish
2017-06-05 21:33 ` Blibbet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-list from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9DDD214E-B8B5-4CB5-A5A9-D38BDDCD14F6@apple.com \
    --to=devel@edk2.groups.io \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox