> On Nov 22, 2016, at 10:49 PM, Yuanjie Huang <yuanjie.hu...@windriver.com> > wrote: > > > On 11/23/2016 11:38 AM, Khem Raj wrote: >> are they regenerating code during configure ? > No, code is generated during compilation. Corresponding c files are not > included in git repo, so these files are always compiled from flex/bison > source files.
OK. >>> On Nov 22, 2016, at 7:22 PM, Yuanjie Huang <yuanjie.hu...@windriver.com> >>> wrote: >>> >>> 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 <yuanjie.hu...@windriver.com> >>>>> wrote: >>>>> >>>>> From: Yuanjie Huang <yuanjie.hu...@windriver.com> >>>>> >>>>> 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 <yuanjie.hu...@windriver.com> >>>>> --- >>>>> 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 >>>>> Openembedded-core@lists.openembedded.org >>>>> http://lists.openembedded.org/mailman/listinfo/openembedded-core > -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core