HI Fish, Thanks for your answer. Actually I am not trying to build base tools . I am writing a windows console tool and want to reuse some code of base tools common library, All the changes will be in my platform packages, Due to some history reason , my own tool is treating UINTN as x64 mode, so will it possible to build common.lib in X64 mode? Thanks in advance!
At 2016-12-23 11:59:38, "Andrew Fish" <af...@apple.com> wrote: >The base tools width could be OS Specific so you should not depend on it. In >other words it has nothing to do with your ROM. You should code tools to exact >sizes, and only use UINTN if you don't care about size. > >Sent from my iPhone > >> On Dec 22, 2016, at 7:35 PM, wang xiaofeng <winggundu...@163.com> wrote: >> >> Hi Base tool owners, >> I tried to build commonlib in basetools . And use the library file in my >> own application tool . I just found the commonlib is build in IA32 mode >> ,this means UINTN is 4 byte in the output lib. I expect to build a X64 mode >> Common.lib ,can you help me? >> Or base tools can only run in IA32 mode? >> _______________________________________________ >> edk2-devel mailing list >> 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 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel