[yocto] Can I use busybox-init on raspberrypi3?

2018-12-11 Thread bx L
Hi everyone, I see that poky-tiny use busybox as the init system, and I'm trying to use busybox-init (instead of sysvinit) on my raspberrypi3. I Add the following code to my local.conf: VIRTUAL-RUNTIME_init_manager = "busybox" VIRTUAL-RUNTIME_initscripts = "initscripts" DISTRO_FEATU

Re: Where are the Predefined Macros defined?

2018-09-29 Thread bx L
Cool, thanks! Andreas Schwab 于2018年9月29日周六 下午7:57写道: > > On Sep 29 2018, bx L wrote: > > > I notice that gcc has some predefined macros, which can be > > obtained with " gcc -dM -E - < /dev/null". I guess many of them are > > machine-specified, suc

Where are the Predefined Macros defined?

2018-09-29 Thread bx L
Hello everyone, I notice that gcc has some predefined macros, which can be obtained with " gcc -dM -E - < /dev/null". I guess many of them are machine-specified, such as __LDBL_MANT_DIG__. However, I can't find where these macros are defined when browsing GCC's source codes. I'm very curious a

[android-building] Re: Can I build android with GCC?

2018-09-17 Thread bx L
:06,Glenn Kasten写道: > > See https://source.android.com/setup/build/requirements#toolchain > > On Thursday, September 13, 2018 at 8:54:40 PM UTC-7, bx L wrote: >> >> Hello everyone, >> I'm building Android 8.0. By default, it uses the clang toolchain. >>

[android-building] Can I build android with GCC?

2018-09-13 Thread bx L
Hello everyone, I'm building Android 8.0. By default, it uses the clang toolchain. Can I switch it to gcc toolchain, or use my own toolchain instead of the prebuilt one? Thanks! -- -- You received this message because you are subscribed to the "Android Building" mailing list. To pos

[android-building] How to pass options to ninja when building a module?

2018-09-11 Thread bx L
Hello everyone, I'm currently studying Android building procedures (with Android 8.0). I build some modules with "mma" and I see that ninja output logs to ./out/verbose.log.gz. When I check the logs, I find that Ninja creates some ".rsp files" to represent long strings during the build.

Re: [android-building] What does "linux_bionic" mean?

2018-09-11 Thread bx L
s that need to be > different between the two. > > - Dan > > On Mon, Sep 10, 2018 at 11:11 AM bx L > > wrote: > >> Hello everyone, >> I've been browsing android sources recently, and I see the >> "linux_bionic" options in some Android.bp f

[android-building] What does "linux_bionic" mean?

2018-09-10 Thread bx L
Hello everyone, I've been browsing android sources recently, and I see the "linux_bionic" options in some Android.bp files. What does "linux_bionic" mean? Is this an option to turn on supports for using "linux + bionic" on the target? Any ideas would be appreciated:) -- -- You