bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-apl] Cygwin64 Build Errors


From: Juergen Sauermann
Subject: Re: [Bug-apl] Cygwin64 Build Errors
Date: Sat, 15 Aug 2015 12:47:53 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Mike,

There is a line that reads:

   CXX_RDYNAMIC = "-rdynamic"

around line 16790 in thr top-level file named configure.

If you change that to:

   CXX_RDYNAMIC = ""
 
 
and run ./configure again then the problem should disappear.

Alternatively you could also change configure.ac around line 42 accordingly, and then
run autoreconf followed by ./configure. However, that requires that the autotools are installed.

In older SVN versions I had a check in configure.ac that explicitly checked if the compiler accepts -rdynamic.
But then there were compilers that did accept it (returning an exit code of 0) and then issued a warning (which
was then breaking a make with -Wall -Werror.

If you have a test under your cygwin (= a command that has an exit code != 0 when -rdynamic is used)
then I can include it in ./configure.ac so that the patch above is no longer needed.

/// Jürgen


On 08/14/2015 10:17 PM, Mike Duvos wrote:
Just tried building GNU APL with 64-bit Cygwin on my Windows 10 Acer laptop.

It did not go well.

$ make|grep error

g++: error: unrecognized command line option '-rdynamic'
make[3]: *** [template_F0.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
g++: error: unrecognized command line option '-rdynamic'
make[3]: *** [template_OP1.lo] Error 1
g++: error: unrecognized command line option '-rdynamic'
g++: error: unrecognized command line option '-rdynamic'
make[3]: *** [lib_file_io_la-file_io.lo] Error 1
make[3]: *** [template_F12.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

How do I fix this?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]