Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Perl > Perl Misc > Is there a Perl Module The Does GCC like precompile on C++ files?

Reply
Thread Tools

Is there a Perl Module The Does GCC like precompile on C++ files?

 
 
Random Task
Guest
Posts: n/a
 
      10-06-2005
Is there a Perl Module The Does GCC like precompile on C++ files ?

I am not seeing anything on CPAN ... but maybe my coffee has not kicked
in yet

Cheers,

Jim
www.gomba.ca
 
Reply With Quote
 
 
 
 
Tad McClellan
Guest
Posts: n/a
 
      10-06-2005
Random Task <> wrote:

> Is there a Perl Module The Does GCC like precompile on C++ files ?



If you mean a preprocessor, then see the -P switch in

perldoc perlrun


--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas
 
Reply With Quote
 
 
 
 
Anno Siegel
Guest
Posts: n/a
 
      10-07-2005
Tad McClellan <> wrote in comp.lang.perl.misc:
> Random Task <> wrote:
>
> > Is there a Perl Module The Does GCC like precompile on C++ files ?

>
>
> If you mean a preprocessor, then see the -P switch in
>
> perldoc perlrun


You have occasionally pointed out that you are not clairvoyant. You
just proved the opposite!

Anno
--
If you want to post a followup via groups.google.com, don't use
the broken "Reply" link at the bottom of the article. Click on
"show options" at the top of the article, then click on the
"Reply" at the bottom of the article headers.
 
Reply With Quote
 
Tad McClellan
Guest
Posts: n/a
 
      10-07-2005
Anno Siegel <> wrote:
> Tad McClellan <> wrote in comp.lang.perl.misc:
>> Random Task <> wrote:
>>
>> > Is there a Perl Module The Does GCC like precompile on C++ files ?

>>
>>
>> If you mean a preprocessor, then see the -P switch in
>>
>> perldoc perlrun

>
> You have occasionally pointed out that you are not clairvoyant. You
> just proved the opposite!



I knew you were going to say that!


--
Tad McClellan SGML consulting
Perl programming
Fort Worth, Texas
 
Reply With Quote
 
Random Task
Guest
Posts: n/a
 
      10-07-2005
I think maybe i should be more clear ... I would like to preprocess IDL
files with a perl script ... not preprocess perl

Jim
www.gomba.ca
 
Reply With Quote
 
A. Sinan Unur
Guest
Posts: n/a
 
      10-07-2005
Random Task <> wrote in news:N%u1f.8593$2F2.1045973
@news20.bellglobal.com:

> I think maybe i should be more clear ...


Oh, yes you should. You should also read the posting guidelines to learn
how to adopt an effective posting style: One which makes it easy for
others to help you.

> I would like to preprocess IDL
> files with a perl script ... not preprocess perl


What do you mean by 'preprocess'?

Sinan
--
A. Sinan Unur <>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/cl...uidelines.html
 
Reply With Quote
 
Random Task
Guest
Posts: n/a
 
      10-07-2005
A. Sinan Unur wrote:
> Random Task <> wrote in news:N%u1f.8593$2F2.1045973
> @news20.bellglobal.com:
>
>
>>I think maybe i should be more clear ...

>
>
> Oh, yes you should. You should also read the posting guidelines to learn
> how to adopt an effective posting style: One which makes it easy for
> others to help you.
>
>
>>I would like to preprocess IDL
>>files with a perl script ... not preprocess perl

>
>
> What do you mean by 'preprocess'?


I want to take an IDL file and preprocess it ... like someone would do
with a C file
(http://www.lns.cornell.edu/public/CO...p/cpp_toc.html). I
want to catch the output of the preprocess and store it in a tmp file.
That tmp file will be used by another process.

The trick is ... I only have access to Perl ... so I can't use gcc. So I
was hoping I would not have to implement this myself.

>
> Sinan


Your answers will be (and are) very much appreciated

Cheers,
Jim
www.gomba.ca
 
Reply With Quote
 
A. Sinan Unur
Guest
Posts: n/a
 
      10-07-2005
Random Task <> wrote in news::

> A. Sinan Unur wrote:

....
>>>I would like to preprocess IDL
>>>files with a perl script ... not preprocess perl

>>
>>
>> What do you mean by 'preprocess'?

>
> I want to take an IDL file and preprocess it ... like someone would do
> with a C file


....

> The trick is ... I only have access to Perl ... so I can't use gcc. So
> I was hoping I would not have to implement this myself.


....

> Your answers will be (and are) very much appreciated


What did you find when you searched CPAN?

http://search.cpan.org/search?query=cpp&mode=all

--
A. Sinan Unur <>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/cl...uidelines.html
 
Reply With Quote
 
Random Task
Guest
Posts: n/a
 
      10-07-2005
A. Sinan Unur wrote:
> Random Task <> wrote in news::
>
>
>>A. Sinan Unur wrote:

>
> ...
>
>>>>I would like to preprocess IDL
>>>>files with a perl script ... not preprocess perl
>>>
>>>
>>>What do you mean by 'preprocess'?

>>
>>I want to take an IDL file and preprocess it ... like someone would do
>>with a C file

>
>
> ...
>
>
>>The trick is ... I only have access to Perl ... so I can't use gcc. So
>>I was hoping I would not have to implement this myself.

>
>
> ...
>
>
>>Your answers will be (and are) very much appreciated

>
>
> What did you find when you searched CPAN?
>
> http://search.cpan.org/search?query=cpp&mode=all
>


I found this:

http://search.cpan.org/~ram/Pod-PP-0.1.2/PP.pm

It looks reasonably close to what I need.

However it looks like a beta and that it is no longer being maintained.

Jim
 
Reply With Quote
 
A. Sinan Unur
Guest
Posts: n/a
 
      10-07-2005
Random Task <> wrote in
news:SKv1f.8627$:

> A. Sinan Unur wrote:
>> Random Task <> wrote in news::
>>
>>>I want to take an IDL file and preprocess it ... like someone would
>>>do with a C file

>>
>> ...
>>
>>>The trick is ... I only have access to Perl ... so I can't use gcc.
>>>So I was hoping I would not have to implement this myself.


....

>> What did you find when you searched CPAN?
>>
>> http://search.cpan.org/search?query=cpp&mode=all
>>

>
> I found this:
>
> http://search.cpan.org/~ram/Pod-PP-0.1.2/PP.pm


So, you skipped the first match?

> It looks reasonably close to what I need.
>
> However it looks like a beta and that it is no longer being
> maintained.


http://search.cpan.org/~shevek/Text-CPP-0.12/CPP.pm

DESCRIPTION ^

A fast C preprocessor in XS. This does not require an external C
preprocessor, and will not fork() or exec() any external process.

Sinan
--
A. Sinan Unur <>
(reverse each component and remove .invalid for email address)

comp.lang.perl.misc guidelines on the WWW:
http://mail.augustmail.com/~tadmc/cl...uidelines.html
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Precompile using ASP.Net 2.0 and VS 2005 ? =?Utf-8?B?TWlrZSBPd2Vu?= ASP .Net 8 11-21-2005 05:14 PM
No precompile.axd Steve Franks ASP .Net 1 11-08-2005 01:48 AM
Template construction in old gcc 3.3.3 does not compile in gcc 3.4.4 eknecronzontas@yahoo.com C++ 5 09-17-2005 12:27 AM
precompile the web from =?Utf-8?B?Z2xhZGlhdG9y?= ASP .Net 1 03-29-2005 10:25 AM
PreCompile Confusion Geoff ASP .Net 2 07-23-2004 10:28 PM



Advertisments