That is part of why I use a separate shell script to do this.  I parse the 
parameters and pull the filename into a variable using sed options.  Then I can 
build a listing file name and specify it in the actual c89/xlc command.
For example, this builds a C listing filename:
 
sname3=`echo $argshift1|sed 's/\.o/.lc/g'` 
 
Lloyd
 

>________________________________
> From: Janet Graff <[email protected]>
>To: [email protected] 
>Sent: Tuesday, November 5, 2013 2:15 PM
>Subject: Re: using ./Configure to generate listing files
>  
>
>The -Wc,"LIST(filename)" option would work fine to indicate that I want a 
>listing file.  But without a file name it defaults to STDOUT.  The specific 
>filename doesn't adjust for different source code files.  Is there a 
>replacement variable for ./Configure that says "use the source code file name" 
>so that I can add something like -Wc,"LIST(${source})" to my options and get a 
>seperate listing file for each source file?
>
>Janet
>
>----------------------------------------------------------------------
>For IBM-MAIN subscribe / signoff / archive access instructions,
>send email to [email protected] with the message: INFO IBM-MAIN
>
>
>

----------------------------------------------------------------------
For IBM-MAIN subscribe / signoff / archive access instructions,
send email to [email protected] with the message: INFO IBM-MAIN

Reply via email to