Re: Compiling project with g++ built in

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

 



On 5 September 2014 08:49, Phil Freeman wrote:
> To-whom-it-may-concern,
>
> I'm developing a number of software pieces (plugins) for a well known animation package, and I'm wishing to look into the possibility of using the c++ equivalent of the gnu gcc inside of one of the plugins. The purpose of this particular plugin is to allow users to build their plugins from inside the animation package, using my plugin.

So your plugin would take C++ code from the user and produce a new
plugin, is that right?

> I've come across gnu gcc through general Google searches, but am a little confused in what I've read over so far. A lot of what I've read seems to be how to compile something with gcc, whereas I'm wanting to know how I can compile my project with the gcc compile engine inside my plugin.
>
> My lack of general c++ knowledge (and not being able to talk the programmers lingo) puts me in an awkward position in that I can competently program plugins using the available animation package's sdk, but anything outside those boundaries can at times leave me a little lost - which is why I've ended up here!
>
> Is there a forum somewhere that I can sign up too, to seek support for implementing the c++ equivalent compiler into the mentioned plugin? If not, is there someone whom I can possibly contact and bug to get me going in the right direction? Or have I misunderstood what gnu gcc is all about?
>
> If it helps, I'm building the plugin in VS 2010 express, and the end result is a dll library file - albeit with another extension. I'm wishing to build the plugin so that the end user has only the one single plugin file, with the compiler engine fully built into the plugin. The plugin itself will need to compile a dll file, but with another extension.

I don't think code you compile with GCC (or with a plugin that embeds
GCC) will be compatible with code compiled with Visual Studio, so that
might make it impossible to achieve your goal.

You might want to look at the LLVM project, which is another compiler,
but is designed to be easier to embed into other programs, and is
actively working on compatibility with the Visual Studio compiler
(although I don't know how mature that support is).





[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux