Re: [OE-core] [PATCH 1/1] gdb-cross: depends on flex-native and bison-native

2016-11-22 Thread Khem Raj
> On Nov 22, 2016, at 10:49 PM, Yuanjie Huang > 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

Re: [OE-core] [PATCH 1/1] gdb-cross: depends on flex-native and bison-native

2016-11-22 Thread Yuanjie Huang
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. On Nov 22, 2016, at 7:22 PM, Yuanjie Huang

Re: [OE-core] [PATCH 1/1] gdb-cross: depends on flex-native and bison-native

2016-11-22 Thread Khem Raj
are they regenerating code during configure ? > On Nov 22, 2016, at 7:22 PM, Yuanjie Huang > 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, >

Re: [OE-core] [PATCH 1/1] gdb-cross: depends on flex-native and bison-native

2016-11-22 Thread Yuanjie Huang
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

Re: [OE-core] [PATCH 1/1] gdb-cross: depends on flex-native and bison-native

2016-11-22 Thread Khem Raj
> On Nov 22, 2016, at 6:00 PM, Yuanjie Huang > wrote: > > From: Yuanjie Huang > > 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

[OE-core] [PATCH 1/1] gdb-cross: depends on flex-native and bison-native

2016-11-22 Thread Yuanjie Huang
From: Yuanjie Huang Some source code of gdb is generated with flex or bison. Make both dependencies, to avoid compilation failure on host without them. Signed-off-by: Yuanjie Huang --- meta/recipes-devtools/gdb/gdb-cross.inc | 2 +- 1