Bug 4304 - gccmakedep does not recognize -i*prefix* gcc options
Summary: gccmakedep does not recognize -i*prefix* gcc options
Status: RESOLVED INVALID
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: Xorg Project Team
URL:
Whiteboard:
Keywords:
: 4305 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-08-30 05:55 UTC by Brano Zarnovican
Modified: 2013-03-15 16:13 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Brano Zarnovican 2005-08-30 05:55:31 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
*** Bug 4305 has been marked as a duplicate of this bug. ***
Comment 2 Daniel Stone 2007-02-27 01:27:46 UTC
Sorry about the phenomenal bug spam, guys.  Adding xorg-team@ to the QA contact so bugs don't get lost in future.
Comment 3 chemtech 2013-03-15 14:36:47 UTC
Brano Zarnovican
Do you still experience this issue with newer soft ?
Please check the status of your issue.
Comment 4 Brano Zarnovican 2013-03-15 16:13:15 UTC
Hi,

I opened this bug 7+ years ago. Just for a fun I tried to reproduce it. The command 'gccmakedep' no longer exists ;) Closing as Invalid.

BranoZ


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.