PGI User Forum
 SearchSearch   MemberlistMemberlist     RegisterRegister   ProfileProfile    Log inLog in 

CUDA-x86.

-traditional

 
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling
View previous topic :: View next topic  
Author Message
stormlab



Joined: 23 Jul 2005
Posts: 28

PostPosted: Sun Oct 09, 2005 2:27 am    Post subject: -traditional Reply with quote

Hello,

I use pgcc as preprocessor but it cannot understand -traditional flag. What is the replacement for this flag under PGI Win32?

Thanks!

Angel
Back to top
View user's profile
mkcolg



Joined: 30 Jun 2004
Posts: 6146
Location: The Portland Group Inc.

PostPosted: Mon Oct 10, 2005 8:50 am    Post subject: Reply with quote

Hi Angel,

pgcc does not have an equivlent to cpp's "-traditional" flag. However, to use pgcc strictly as a preprocessor, add the "-E" flag. "-E" tells the compiler driver to stop after the preprocessing step and redirect the output to stdout.

Hope this helps,
Mat
Back to top
View user's profile
Display posts from previous:   
Post new topic   Reply to topic    PGI User Forum Forum Index -> Programming and Compiling All times are GMT - 7 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © phpBB Group