[Dune] Dune on cygwin

Ganesh Diwan gcdiwan83 at gmail.com
Thu Feb 5 14:26:39 CET 2015


Tried both:

g++ -std=c++11 -g -Wall -O2 -o foo foo.cc

and this:

  g++ -std=c++11 -g -Wall -O2 -c -o foo.o foo.cc
  g++ -std=c++11 -g -Wall -O2 -o foo foo.o

None of the above produce any errors.



On Thu, Feb 5, 2015 at 1:20 PM, Jö Fahlke <jorrit at jorrit.de> wrote:

> Am Thu,  5. Feb 2015, 13:02:59 +0000 schrieb Ganesh Diwan:
> > Yes, the foo for Hello world program runs fine:
> > $ ./foo
> > Hello world!
>
> I don't see anything in the log that explains the failure.  I'll note that
> this happens immediately the first time an executable is linked, but
> linking a
> library works fine.
>
> Maybe this is because the build-system links in a two-stage process.  How
> exactly did you compile foo.cc?  Can you try this:
>
>   g++ -std=c++11 -g -Wall -O2 -o foo foo.cc
>
> and this:
>
>   g++ -std=c++11 -g -Wall -O2 -c -o foo.o foo.cc
>   g++ -std=c++11 -g -Wall -O2 -o foo foo.o
>
> and send us the log of the compilation for both?
>
> If that does not produce any errors, we will need to try all of the options
> that the build-system used in turn until we find the one that triggers the
> error.
>
> Regards,
> Jö.
>
> --
> Jorrit (Jö) Fahlke, Institute for Computational und Applied Mathematics,
> University of Münster, Orleans-Ring 10, D-48149 Münster
> Tel: +49 251 83 35146 Fax: +49 251 83 32729
>
> In the beginning the Universe was created.  This has made a lot of
> people very angry and been widely regarded as a bad move.
> -- Douglas Adams
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.dune-project.org/pipermail/dune/attachments/20150205/5aa880af/attachment.htm>


More information about the Dune mailing list