[Plplot-devel] gnatmake: cannot specify a single executable for several mains

2015-10-22 Thread Tom Kacvinsky
I have CMAKE_BUILD_TYPE set to DEBUG and I get the error message in the subject line. I thought the Ada support from PLPlot was set up so that it could handle several different build types. I guess this is not the case. What would it take to handle this? I need at least a working debug configura

Re: [Plplot-devel] Question about Ada support

2015-05-20 Thread Tom Kacvinsky
I figured it out. One need only set CMAKE_Ada_COMPILER_INIT to a list of fully qualified paths to the gcc/gnatgcc one wants. On Wed, May 20, 2015 at 1:17 PM, Tom Kacvinsky wrote: > > > On Tue, May 19, 2015 at 7:22 PM, Alan W. Irwin > wrote: > >> On 2015-05-19 13:20-040

Re: [Plplot-devel] Question about Ada support

2015-05-20 Thread Tom Kacvinsky
On Tue, May 19, 2015 at 7:22 PM, Alan W. Irwin wrote: > On 2015-05-19 13:20-0400 Tom Kacvinsky wrote: > > Alan, >> >> This is not in regards to plplot proper, but rather the cmake Ada support >> bundled with plplot. >> >> How is add_executable suppose

[Plplot-devel] Question about Ada support

2015-05-19 Thread Tom Kacvinsky
Alan, This is not in regards to plplot proper, but rather the cmake Ada support bundled with plplot. How is add_executable supposed to work? Does it invoke gcc for each adb/ads file, then call the rest of the GNAT tool chain utilities to generate an executable, or does it just invoke gnatmake?

Re: [Plplot-devel] floating point exception in example 29

2015-05-13 Thread Tom Kacvinsky
On Wed, May 13, 2015 at 5:01 PM, Hazen Babcock wrote: > On 05/13/2015 03:58 PM, Alan W. Irwin wrote: > > In my case the only fortran compiler available is gfortran so I don't > > need to choose that. So instead of the above I set > > > > export FFLAGS='-g -ffpe-trap=invalid,zero,overflow,underfl

[Plplot-devel] Turning off verbose output from Ada compilations

2014-04-03 Thread Tom Kacvinsky
Alan, There is a way of turning off verbose output in cmake, but this is only working for C/C++ (and I assume FORTRAN) compilations. Our Ada compilations still have verbose output. Do you know of a way of getting the Ada compilations to honor the cmake variable CMAKE_VERBOSE_MAKEFILE (set to ON

Re: [Plplot-devel] Cmake support for Ada, addition of -lstdc++ to gnatmake link line

2014-01-03 Thread Tom Kacvinsky
lan W. Irwin wrote: > On 2014-01-03 11:43-0500 Tom Kacvinsky wrote: > > OK, here is what I have found: when building Ada executables, we link >> against two other libraries, one with C code, one with C++ code. CMake >> keeps track of this and adds implicit dependencies. Thus, w

Re: [Plplot-devel] Cmake support for Ada, addition of -lstdc++ to gnatmake link line

2014-01-03 Thread Tom Kacvinsky
to work around this configuration wise. But there may be nothing I can do about this if the implicit libraries cannot be overridden. Tom On Fri, Jan 3, 2014 at 10:06 AM, Tom Kacvinsky wrote: > Alan, > > Thanks. I think I figured out what is going on. For some reason, CMake > adds

Re: [Plplot-devel] Cmake support for Ada, addition of -lstdc++ to gnatmake link line

2014-01-03 Thread Tom Kacvinsky
ld be something we'll need to add to the Ada support modules. I don't know at this time, my questions to the CMake list have gone unanswered for quite some time now. Tom On Tue, Dec 31, 2013 at 2:43 PM, Alan W. Irwin wrote: > On 2013-12-31 12:32-0500 Tom Kacvinsky wrote: > > Hi

[Plplot-devel] Cmake support for Ada, addition of -lstdc++ to gnatmake link line

2013-12-31 Thread Tom Kacvinsky
Hi, I do not know if this is the right list for asking questions about the CMake Ada support from the Plplot modules. We are using the cmake modules that you have written in order to get our Ada code compiling/linking via cmake. But one of the things I have noted is that when gnatmake runs to bu