Re: [android-building] How to build fastboot for windows from Android N

2016-09-14 Thread Xiaofeng Lei
Thanks Colin & Dan.

The default command "make -j8 fastboot" can't build out fastboot for 
windows, but the two commands from Dan are working well.

Thanks,
Xiaofeng

On Wednesday, September 14, 2016 at 2:34:16 PM UTC-7, Dan Willemsen wrote:
>
> You don't need to use USE_MINGW anymore, the build system understands how 
> to do host cross-compiles natively now. Just doing 'mma' in 
> system/core/fastboot will build both the linux and windows versions. You 
> could also use:
>
>m -j8 host_cross_fastboot
>
> As the most similar command to what you were running.
>
> - Dan
>
> On Wed, Sep 14, 2016 at 2:29 PM Xiaofeng Lei  > wrote:
>
>> Hi all,
>>
>> Recently we moved to Android N from M, and I'm working on poring some 
>> customized features to fastboot project. When I'm trying to build fastboot 
>> utility for Windows with the command "make -j8 fastboot USE_MINGW=1", it 
>> still generates the binary for Linux:
>>
>> Starting build with ninja
>> ninja: Entering directory `.'
>> [100% 17/17] Install: out/host/linux-x86/bin/fastboot
>>
>>  make completed successfully (30 seconds) 
>>
>> Does anyone know how to generate "fastboot" utility?
>>
>> Thanks,
>> Stanley
>>
>> -- 
>> -- 
>> You received this message because you are subscribed to the "Android 
>> Building" mailing list.
>> To post to this group, send email to android-...@googlegroups.com 
>> 
>> To unsubscribe from this group, send email to
>> android-buildi...@googlegroups.com 
>> For more options, visit this group at
>> http://groups.google.com/group/android-building?hl=en
>>
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Android Building" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to android-buildi...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] How to build fastboot for windows from Android N

2016-09-14 Thread 'Dan Willemsen' via Android Building
You don't need to use USE_MINGW anymore, the build system understands how
to do host cross-compiles natively now. Just doing 'mma' in
system/core/fastboot will build both the linux and windows versions. You
could also use:

   m -j8 host_cross_fastboot

As the most similar command to what you were running.

- Dan

On Wed, Sep 14, 2016 at 2:29 PM Xiaofeng Lei 
wrote:

> Hi all,
>
> Recently we moved to Android N from M, and I'm working on poring some
> customized features to fastboot project. When I'm trying to build fastboot
> utility for Windows with the command "make -j8 fastboot USE_MINGW=1", it
> still generates the binary for Linux:
>
> Starting build with ninja
> ninja: Entering directory `.'
> [100% 17/17] Install: out/host/linux-x86/bin/fastboot
>
>  make completed successfully (30 seconds) 
>
> Does anyone know how to generate "fastboot" utility?
>
> Thanks,
> Stanley
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [android-building] How to build fastboot for windows from Android N

2016-09-14 Thread Colin Cross
Windows builds are now integrated with the linux build, make fastboot
should build both the linux and windows versions, and USE_MINGW=1 is
unnecessary.

On Wed, Sep 14, 2016 at 2:17 PM, Xiaofeng Lei  wrote:
> Hi all,
>
> Recently we moved to Android N from M, and I'm working on poring some
> customized features to fastboot project. When I'm trying to build fastboot
> utility for Windows with the command "make -j8 fastboot USE_MINGW=1", it
> still generates the binary for Linux:
>
> Starting build with ninja
> ninja: Entering directory `.'
> [100% 17/17] Install: out/host/linux-x86/bin/fastboot
>
>  make completed successfully (30 seconds) 
>
> Does anyone know how to generate "fastboot" utility?
>
> Thanks,
> Stanley
>
> --
> --
> You received this message because you are subscribed to the "Android
> Building" mailing list.
> To post to this group, send email to android-building@googlegroups.com
> To unsubscribe from this group, send email to
> android-building+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-building?hl=en
>
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Building" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to android-building+unsubscr...@googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[android-building] How to build fastboot for windows from Android N

2016-09-14 Thread Xiaofeng Lei
Hi all,

Recently we moved to Android N from M, and I'm working on poring some 
customized features to fastboot project. When I'm trying to build fastboot 
utility for Windows with the command "make -j8 fastboot USE_MINGW=1", it 
still generates the binary for Linux:

Starting build with ninja
ninja: Entering directory `.'
[100% 17/17] Install: out/host/linux-x86/bin/fastboot

 make completed successfully (30 seconds) 

Does anyone know how to generate "fastboot" utility?

Thanks,
Stanley

-- 
-- 
You received this message because you are subscribed to the "Android Building" 
mailing list.
To post to this group, send email to android-building@googlegroups.com
To unsubscribe from this group, send email to
android-building+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-building?hl=en

--- 
You received this message because you are subscribed to the Google Groups 
"Android Building" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to android-building+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.