Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I use other preprocessors with idltojava?

idltojava
0
Posted

How can I use other preprocessors with idltojava?

0

Here’s the note from the Sun idltojava documentation on how this is supposed to work: Note: idltojava is hard-coded to use a default preprocessor. On Solaris machines, it uses the path /usr/ccs/lib/cpp when looking for the preprocessor. On Wintel machines, it is hard-coded to use the MS Visual C++ preprocessor. You can change the preprocessor that idltojava uses by setting two environment variables: CPP –set this environment variable to the full path name of the preprocessor executable you want to use. CPPARGS –set this environment variable to the complete list of arguments to be passed to the preprocessor. The preprocessor needs to write to standard output, so if it does not do so by default, you should include the argument appropriate to your preprocessor to accomplish that. Examples for Wintel users: Windows 95 –in your autoexec.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123