Bug 4305 - gccmakedep does not recognize -i*prefix* gcc options
Summary: gccmakedep does not recognize -i*prefix* gcc options
Status: RESOLVED DUPLICATE of bug 4304
Alias: None
Product: xorg
Classification: Unclassified
Component: Server/General (show other bugs)
Version: 6.8.2
Hardware: x86 (IA32) Linux (All)
: lowest minor
Assignee: Xorg Project Team
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-30 05:57 UTC by Brano Zarnovican
Modified: 2005-08-29 12:59 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Brano Zarnovican 2005-08-30 05:57:01 UTC
Description of problem:    
gccmakedep does not recognize -i*prefix* gcc options    
    
Version-Release number of selected component (if applicable):    
rpm -q -f `which gccmakedep`    
xorg-x11-devel-6.8.2-37    
rpm -q gcc    
gcc-4.0.1-4.fc4
System: Fedora Core 4   
    
Steps to Reproduce:    
mkdir depend    
cd depend    
echo "#include <myfile.h>" > test.c    
touch ../myfile.h    
gccmakedep -f - -iprefix ../ -iwithprefix . test.c    
gcc -M -iprefix ../ -iwithprefix . test.c    
     
Actual results:    
$ gccmakedep -f - -iprefix ../ -iwithprefix . test.c    
Unknown option '-iprefix' ignored    
Unknown option '-iwithprefix' ignored    
test.c:1:20: error: myfile.h: No such file or directory    
    
Expected results:    
$ gccmakedep -f - -iprefix ../ -iwithprefix . test.c    
test.o: test.c .././myfile.h    
    
Additional info:    
Workaround:    
use directly "gcc -M"     
   
There are numerous 'include' options that ought to be recognized too 
-nostdinc, -iquote, -idirafter 

Search keywords:
-iprefix, -iwithprefix, -iwithprefixbefore
Comment 1 Brano Zarnovican 2005-08-30 05:59:23 UTC

*** This bug has been marked as a duplicate of 4304 ***


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.