Hi Raj,

We observed gdb/ada-lex.l is processed by flex while gdb/c-exp.y, gdb/f-exp.y, gdb/go-exp.y and many others are handled by bison. Basically, all language-specific codes in gdb are generated.

Best,
Yuanjie

On 11/23/2016 11:05 AM, Khem Raj wrote:
On Nov 22, 2016, at 6:00 PM, Yuanjie Huang <[email protected]> wrote:

From: Yuanjie Huang <[email protected]>

Some source code of gdb is generated with flex or bison. Make both
dependencies, to avoid compilation failure on host without them.

can you find out which parts those are ? what is it trying to do to need 
flex/yacc
Signed-off-by: Yuanjie Huang <[email protected]>
---
meta/recipes-devtools/gdb/gdb-cross.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/recipes-devtools/gdb/gdb-cross.inc 
b/meta/recipes-devtools/gdb/gdb-cross.inc
index 5fa7c33..a34223e 100644
--- a/meta/recipes-devtools/gdb/gdb-cross.inc
+++ b/meta/recipes-devtools/gdb/gdb-cross.inc
@@ -1,6 +1,6 @@
require gdb-common.inc

-DEPENDS = "expat-native ncurses-native"
+DEPENDS = "expat-native ncurses-native flex-native bison-native"

inherit python3native

--
2.7.4

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to