deal 7.3.0 with cygwin

41 views
Skip to first unread message

Markus Maier

unread,
Jun 20, 2013, 8:46:55 AM6/20/13
to dea...@googlegroups.com
I've built the deal.II library with dynamic libraries enabled on a windows system using cygwin. No I can compile the tutorials but they won't execute. It says
Segmentation fault. I've already added deal.II/lib to the PATH variable? Does anyone know how to fix that?

Matthias Maier

unread,
Jun 20, 2013, 9:31:25 AM6/20/13
to dea...@googlegroups.com
On cygwin with dynamic linkage the compiler flag "-O0" seems to produce
a corrupt debug library [1].

As a workaround I've replace "-O0" with "-O1" in the current development
version. This is not elegant, but at least mitigates the problem...

So you can use the current development version, or alternatively change
-O0 to -O1 by hand in the build system of deal.II 7.3.0.

Best,
Matthias


[1] http://code.google.com/p/dealii/issues/detail?id=7&can=1

Markus Maier

unread,
Jun 25, 2013, 6:49:09 AM6/25/13
to dea...@googlegroups.com
Hi Matthias,

thank you for your answer!

You're referring to the build system of deal.II... I've tried to find the comiler flag "-O0" in the file /deal.II/common/Make.global_options but I don't find it.. Is this the wrong file to change?

Markus

Wolfgang Bangerth

unread,
Jun 29, 2013, 6:29:55 AM6/29/13
to dea...@googlegroups.com

> You're referring to the build system of deal.II... I've tried to find the
> comiler flag "-O0" in the file /deal.II/common/Make.global_options but I don't
> find it.. Is this the wrong file to change?

-O0 is equivalent to saying nothing. You will want to add -O1 to the variable
CXXFLAGS.g in this file.

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@math.tamu.edu
www: http://www.math.tamu.edu/~bangerth/

Reply all
Reply to author
Forward
0 new messages