rumpkernel / drv-netif-dpdk

DPDK interface driver for userspace TCP/IP stack
Other
197 stars 54 forks source link

Rupmake pass -OO -g flags to the compiler #2

Closed peterfeifanchen closed 11 years ago

peterfeifanchen commented 11 years ago

I was wondering how I can pass these parameters to rumpmake when I compile rumpdpdk? Thanks.

Peter

anttikantee commented 11 years ago

Depending on which suits your situations best, choose one of the following methods:

1) run buildrump.sh with -D (this will also compile the rump kernel with -g -O0) 2) edit DBG in mk.conf (mk.conf is found in the same directory as rumpmake) 3) when compiling libdpdkif, use: rumpmake DBG='-O0 -g'