Hi Alan,
> That's a surprising result. What happens for the equivalent PLplot C core
> library build?  I assume the extensions for the -o option will be .obj (like
> above), that gcc will build those objects without complaint, and in the next
> step (doing the special linking with gcc to create the shared library) gcc
> will happily link the *.obj files into the shared library. 
Yes, gcc has actually no problems with the .obj extension. But gcc seems 
to call gnat1 to compile the ada file and though I found a description 
of gnat for Windows, where it is explained that the -o option should be 
used to set the output filename with the ending .obj or .o, it seems 
there is a bug, that prevents gnat1 from accepting .obj files. Since 
normally someone uses gnatmake this was no problem so far?

One workaround would be that we set the obj extension to .o for the 
whole project if ada is enabled in the windows case. This actually means 
that we have mingw, msys or cygwin and all three use gcc and .o object 
files should be no problem. I don't know any other ada compiler so that 
might be an option.

Werner

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to