Re: Generating multiple binaries from a single source file

2013-09-02 Thread Rodolfo Guilherme Wottrich
y to do it? Regards, --- Rodolfo Guilherme Wottrich Universidade Estadual de Campinas - Unicamp 2013/9/1 David Edelsohn : > On Sat, Aug 31, 2013 at 11:57 PM, Rodolfo Guilherme Wottrich > wrote: >> Hello everyone, >> >> I would like to be able to generate multiple binaries fro

Generating multiple binaries from a single source file

2013-08-31 Thread Rodolfo Guilherme Wottrich
the flag thing is the best way to do it, please let me know and help me, telling how to implement that new flag (I can't figure out how to). Thanks in advance, --- Rodolfo Guilherme Wottrich Universidade Estadual de Campinas - Unicamp

Re: Help forging a function_decl

2013-07-24 Thread Rodolfo Guilherme Wottrich
Again, thank you for the patience. I'm kind of new to gcc, so I was basically learning how to do it. Kindest regards, --- Rodolfo Guilherme Wottrich Universidade Estadual de Campinas - Unicamp 2013/7/23 Rodolfo Guilherme Wottrich : > Later I found out that cgraph_mark_needed_node was already b

Re: Help forging a function_decl

2013-07-23 Thread Rodolfo Guilherme Wottrich
citly setting DECL_EXTERNAL to false. Cheers, --- Rodolfo Guilherme Wottrich Universidade Estadual de Campinas - Unicamp 2013/7/23 Rodolfo Guilherme Wottrich : > Hello, > > 2013/7/23 Martin Jambor : >> Hi, >> >> But you do call cgraph_add_new_function on it as well, righ

Re: Help forging a function_decl

2013-07-23 Thread Rodolfo Guilherme Wottrich
and see whether your function is listed. You were right, but this is a direct consequence of my function being removed like discussed before. I'll keep investigating the problem and will inform you in case something changes. Thank you, --- Rodolfo Guilherme Wottrich Universidade Estadual de Campinas - Unicamp

Re: Help forging a function_decl

2013-07-22 Thread Rodolfo Guilherme Wottrich
ut my implementation right after the end of c_parser_omp_parallel(), in file c-parser.c. Again, thank you for the help. --- Rodolfo Guilherme Wottrich Universidade Estadual de Campinas - Unicamp 2013/7/22 Rodolfo Guilherme Wottrich : > Hello, > > Thanks! I had solved the problem some days a

Re: Help forging a function_decl

2013-07-22 Thread Rodolfo Guilherme Wottrich
is simply not output. And when I try to debug gcc with gdb, it always fails. Any thoughts? Maybe I am missing something related to garbage collection or so... Not a clue. --- Rodolfo Guilherme Wottrich Universidade Estadual de Campinas - Unicamp 2013/7/22 Martin Jambor : > Hi, > > On W

Help forging a function_decl

2013-07-17 Thread Rodolfo Guilherme Wottrich
#x27;t. What am I doing wrong, and how can one do such a thing? Maybe the problem is that I create no calls to that new function, what do you think? Anyway, I'm compiling with -O0, so I guess no optimization pass would remove my function just because it is not being used. Thanks in advance, -