This should do the trick:

./configure CXXFLAGS="-g" CFLAGS="-g"

Diez

On Nov 9, 2:07 pm, Merve Temizer <[email protected]> wrote:
> Hello,
> I installed tesseract-ocr on ubuntu with using apt-get install, and i have
> 3.01.
> Now i need to debug my program and tesseract functions that i call from it.
> I need to compile with "-g" and "-O0"(without optimization).
> If i should recompile, where should i add the -g and -O0, in make files, in
> all the make files?

-- 
You received this message because you are subscribed to the Google
Groups "tesseract-ocr" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/tesseract-ocr?hl=en

Reply via email to