Re: WPP capabilities in gcc

2015-05-18 Thread Martin Sebor
On 04/26/2015 11:47 AM, Shoham Peller wrote: You are completely right Jonathan. My Apologies. WPP is a tool I use in my work field on an every-day basis, so I thought it was known. Here is the Wikipedia page on WPP: http://en.wikipedia.org/wiki/Windows_software_trace_preprocessor In short, WPP

RE: WPP capabilities in gcc

2015-04-26 Thread Daniels, Marcus G
, April 26, 2015 3:53 PM To: Jonathan Wakely Cc: gcc@gcc.gnu.org; Guy Lewin Subject: Re: WPP capabilities in gcc SystemTap does not give a solution for this, and is not really intended for this use: * It's no cross-platform, it's for Linux * It doesn't allow the developer to write the t

Re: WPP capabilities in gcc

2015-04-26 Thread Richard Kenner
> Is gcc meant to only be used to compile FOSS? > If that's your agenda, you're right - I don't see how you can use a > feature like WPP. > > But is that really what gcc aims for? Not to allow people working on > close-source software to enjoy it? It's one thing to say that we're building a compi

Re: WPP capabilities in gcc

2015-04-26 Thread Jonathan Wakely
On 26 April 2015 at 22:52, Shoham Peller wrote: > SystemTap does not give a solution for this, and is not really > intended for this use: > > * It's no cross-platform, it's for Linux > * It doesn't allow the developer to write the text he wants > * It doesn't parse the tracing string > > The solut

Re: WPP capabilities in gcc

2015-04-26 Thread Shoham Peller
SystemTap does not give a solution for this, and is not really intended for this use: * It's no cross-platform, it's for Linux * It doesn't allow the developer to write the text he wants * It doesn't parse the tracing string The solution I'm talking about is: * cross platform * Will allow you to

Re: WPP capabilities in gcc

2015-04-26 Thread Jonathan Wakely
On 26 April 2015 at 18:47, Shoham Peller wrote: > 1. Can you think of a way to achieve this with gcc? Insert SystemTap probe points.

Re: WPP capabilities in gcc

2015-04-26 Thread Shoham Peller
Is gcc meant to only be used to compile FOSS? If that's your agenda, you're right - I don't see how you can use a feature like WPP. But is that really what gcc aims for? Not to allow people working on close-source software to enjoy it? On Sun, Apr 26, 2015 at 10:58 PM, Richard Kenner wrote: >> W

Re: WPP capabilities in gcc

2015-04-26 Thread Richard Kenner
> What WPP does, is it runs during pre-compilation, and replaces the > string in each call to a trace macro, with an obfuscated string. And why would a writer of Free Software want to do such a thing?

Re: WPP capabilities in gcc

2015-04-26 Thread Shoham Peller
You are completely right Jonathan. My Apologies. WPP is a tool I use in my work field on an every-day basis, so I thought it was known. Here is the Wikipedia page on WPP: http://en.wikipedia.org/wiki/Windows_software_trace_preprocessor In short, WPP allows to put traces and logs in your C/C++ pro

Re: WPP capabilities in gcc

2015-04-26 Thread Jonathan Wakely
On 25 April 2015 at 23:23, Shoham Peller wrote: > Hi Guys, > > It's been 4 days. Can someone help me? I have no idea what wpp is or why it is useful. Maybe that's true for other people reading this list. You shouldn't be very surprised that you don't get any useful responses to a mail like "I wan

Re: WPP capabilities in gcc

2015-04-25 Thread Shoham Peller
Hi Guys, It's been 4 days. Can someone help me? I really want to get started on this project, if it's needed, and if it is, I think it'll give a very missed and needed feature to gcc. Thanks, Shoham On 04/22/2015 10:19 PM, Shoham Peller wrote: Hi, Me and a couple of friends needed, in our L

WPP capabilities in gcc

2015-04-22 Thread Shoham Peller
Hi, Me and a couple of friends needed, in our Linux application, to write traces to log, but we wanted to hide those traces from the client, just like Microsoft's wpp mechanism, but we couldn't find any alternative for Linux. My questions: 1. Do any of you know any alternative or a way to hide tr