POV-Ray : Newsgroups : povray.unix : compiling 3.5 with debug info ? : Re: compiling 3.5 with debug info ? Server Time
8 Jul 2024 18:14:05 EDT (-0400)
  Re: compiling 3.5 with debug info ?  
From: fsdck
Date: 27 Jul 2003 16:30:49
Message: <3f243679@news.povray.org>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Th Boudet <th.### [at] freefr> wrote:
>     Yes, I've just try it now.
>     No debug flag :)

debug is not a feature that can be set when building POVRay.  The safest
way to have a flag passed to the compiler, linker, etc. is to set the
appropriate FLAGS environment variable before running configure (in this
case setting CPPFLAGS).  Something like this should do the trick:

export CPPFLAGS="-g"
./configure --with-x # any other flags go here too

BEWARE: if you are using gcc, this will not turn off optimization.
POVRay is being compiled with -O3, the highest level of speed
optimization available on gcc.  In some cases, the code actually
generated may look very different from the original source as loops are
unrolled, function inlined, etc.

Good Luck,
  Karmix
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE/JC8Z8/zoYc8slRERAs65AJ9Mwe1Xh1eLTWpTS8UpkxuybcJeewCZAcFi
hreb2YzEI+sonf6BiAV+1mQ=
=XECj
-----END PGP SIGNATURE-----


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.