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

R

Random Task

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
 
T

Tad McClellan

Random Task said:
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
 
A

Anno Siegel

Tad McClellan said:
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
 
T

Tad McClellan

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


I knew you were going to say that!
 
R

Random Task

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
 
A

A. Sinan Unur

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
 
R

Random Task

A. Sinan Unur said:
@news20.bellglobal.com:




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.




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/COMP/info/egcs/cpp/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.

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

Cheers,
Jim
www.gomba.ca
 
A

A. Sinan Unur

Random Task said:
A. Sinan Unur wrote: ....

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top