Article View: gnu.gcc.help
Article #53094Re: gcc 2.0 for IBM-RT AOS 4.3
From: Timothy Miller
Date: Tue, 17 Mar 1992 19:34
Date: Tue, 17 Mar 1992 19:34
13 lines
1439 bytes
1439 bytes
In article <1992Mar17.001140.9650@dartvax.dartmouth.edu> irvin@northstar.dartmouth.edu (Tim Irvin) writes: > hc -Hnocpp -g -o cccp cccp.o cexp.o version.o obstack.o `if [ x"hc -Hnoc > pp" = x"cc" ] ; then echo ; else true; fi` Well, the culprit I've found seems to be that make runs the shell with the option telling it to stop whenever a command returns nonzero status, but unfortunately this is interpreted to apply to the argument to the if command also! Since the result in this case is false, the `` exits abnormally, causing make to exit abnormally. So far I've been just hand-evaluating these expressions when they come up and manually typing in the resulting command, but I'd like to know if anyone has any better workarounds or fixes (I haven't had much time to spend on this myself). Tim
Technical Details
Message-ID:
<kscidjINNjl@stanley.cis.Brown.EDU>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!news.Brown.EDU!stanley.cis.Brown.EDU!newsReferences:
<1992Mar17.001140.9650@dartvax.dartmouth.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,e6cf56265ca69393 X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1992-03-17 11:40:29 PST Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!qt.cs.utexas.edu!news.Brown.EDU!stanley.cis.Brown.EDU!news From: tim@stanley.cis.Brown.EDU (Timothy Miller) Newsgroups: gnu.gcc.help Subject: Re: gcc 2.0 for IBM-RT AOS 4.3 Date: 17 Mar 92 19:34:11 GMT Organization: Brown University Lines: 13 Message-ID: <kscidjINNjl@stanley.cis.Brown.EDU> References: <1992Mar17.001140.9650@dartvax.dartmouth.edu> NNTP-Posting-Host: stanley.cis.brown.edu