How to get bitbake to send gcc warnings to stdout?

キャンセル
次の結果を表示 
次の代わりに検索 
もしかして: 

How to get bitbake to send gcc warnings to stdout?

1,892件の閲覧回数
charlieschultz
Contributor II

When I run my recipe to build my app (which uses a makefile), compiler errors will be displayed on the console. But if there are only warnings, nothing is displayed.

I can run bitbake with the -v option and see the compiler warnings, but I also get a bunch of irrelevant bitbake processing messages too.

Is there any option to have it always send (only) compiler errors and warnings to the console?

ラベル(2)
0 件の賞賛
1 返信

1,046件の閲覧回数
b36401
NXP TechSupport
NXP TechSupport

Please try to use this patch to send logging messages to stderr:
https://patchwork.openembedded.org/patch/131283/

And then optionally you can redirect stderr into stdout with 2>&1 at the end of the command.

Have a great day,
Victor

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 件の賞賛