Re: how to make GCC option hook aware

2018-02-19 Thread Andre Groenewald
I followed your advice and every works great. Thank you, André On Mon, Feb 19, 2018 at 5:25 PM, Michael Matz wrote: > Hi, > > On Sat, 17 Feb 2018, Andre Groenewald wrote: > >> Hi GCC folks, >> >> I have implemented a function for LANG_HOOKS_HANDLE_OPTION for my toy >> language front end to handl

Re: $target.h vs $target-protos.h

2018-02-19 Thread Joseph Myers
On Mon, 19 Feb 2018, Sandra Loosemore wrote: > On 02/19/2018 09:45 AM, Joseph Myers wrote: > > On Sun, 18 Feb 2018, Sandra Loosemore wrote: > > > > > Thanks, this makes sense. I think I could produce a documentation patch > > > that > > > explains that the difference is early vs late inclusion,

Re: $target.h vs $target-protos.h

2018-02-19 Thread Sandra Loosemore
On 02/19/2018 09:45 AM, Joseph Myers wrote: On Sun, 18 Feb 2018, Sandra Loosemore wrote: Thanks, this makes sense. I think I could produce a documentation patch that explains that the difference is early vs late inclusion, and explains that any declarations involving tree or rtx types must go

Re: $target.h vs $target-protos.h

2018-02-19 Thread Joseph Myers
On Sun, 18 Feb 2018, Sandra Loosemore wrote: > Thanks, this makes sense. I think I could produce a documentation patch that > explains that the difference is early vs late inclusion, and explains that any > declarations involving tree or rtx types must go in $target-protos.h because > those types

Re: how to make GCC option hook aware

2018-02-19 Thread Michael Matz
Hi, On Sat, 17 Feb 2018, Andre Groenewald wrote: > Hi GCC folks, > > I have implemented a function for LANG_HOOKS_HANDLE_OPTION for my toy > language front end to handle options. > > The specific option is populated in lang.opt as fdemo-debug > > My lang-specs file has the following: {"@demo",

Re: Error In libssp, But Disabled in Configuration

2018-02-19 Thread R0b0t1
On Sun, Feb 18, 2018 at 1:42 AM, R0b0t1 wrote: > Taking inspiration from > https://github.com/FreddieChopin/bleeding-edge-toolchain, I have a > script which runs: > > ../../source/${dname}/configure \ > --target=${TARGET} \ > --enable-languages=c \ > --without-headers \

GSOC 2018 - Textual LTO dump tool project

2018-02-19 Thread Hrishikesh Kulkarni
Hi, I am Hrishikesh Kulkarni currently studying as an undergrad student in Computer Engineering at Pune University, India. I find compilers quite interesting as a subject, and would like to apply to GSoC to gain some understanding of how real-world compilers work. So far, I have managed to build