Fwd: GCC front end and GCC internals

2017-03-29 Thread Andre Groenewald
I am discovering the awesome world of GCC internals. I managed to develop a basic front end. It can call internal and external functions and link with standard libraries. All is good. The hunger for more does not end. I want to call c++ libraries and interact with c++ objects. My starting point w

Re: A "newbies" guide to hacking on GCC (and plugins)

2017-03-29 Thread Jonathan Wakely
On 28 March 2017 at 21:41, David Malcolm wrote: > [1] did we miss GCC's 30th anniversary? > https://gcc.gnu.org/wiki/History says the first release was 1987-03 > -22. As for myself, Thursday appears to be the 6th anniversary of me > starting the gcc-python-plugin and hence on poking at GCC's int

Re: R: R: R: Plugin development under windows

2017-03-29 Thread Pedro Alves
On 03/29/2017 08:30 AM, Davide Piombo wrote: > Hi Trevor, thanks for your hint. > > Yesterday I made some other tests. I tried to use CygWin instead of > MinGW and the POSIX missing references are now solved. Now the error > have moved from the compiler to the linker and the build stops > because

R: R: R: Plugin development under windows

2017-03-29 Thread Davide Piombo
Hi Trevor, thanks for your hint. Yesterday I made some other tests. I tried to use CygWin instead of MinGW and the POSIX missing references are now solved. Now the error have moved from the compiler to the linker and the build stops because of undefined references. The missing symbols are includ