| Using gcc discovery scanner with gcc cross compiler within a tool chain [message #119562] | 
Mon, 06 September 2004 05:42   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hello, 
 
I'm trying to write a toolchain (managed build) which uses a gcc cross 
compiler (so cdt doesn't call "gcc" but "ppc-amigaos-gcc" to compile). If I 
use DefaultGCCScannerInfoCollector for my newly created target, I only get 
the include paths for the host gcc compiler but not for the target compiler. 
Is there a possibilty to tell the discovery scanner to use a different 
command? (it iss possible to do this manually within standard makefile 
project, but by using the plugin the developer shouldn't care about this). 
 
Thanks in advance! 
 
Ciao, 
Sebastian
 |  
 |  
  | 
 | 
 | 
 | 
 | 
| Re: Using gcc discovery scanner with gcc cross compiler within a tool chain [message #120097 is a reply to message #119891] | 
Wed, 08 September 2004 08:21   | 
 
Eclipse User  | 
 | 
 | 
   | 
 
Hello Sean and Vladimir, 
 
I think specifing the includes manually with the builtin option is not 
possible, because I don't know where the system includes exactly are located 
on the users system. 
 
Altering the prefs has the disadvantage, that then the discovery scanner 
works only properly for the cross compiler. But I guess at the moment it is 
the only possibility until 2.1.0 is out (I'll mention this in the docs). 
Thanks for the hint. 
 
Ciao, 
Sebastian
 |  
 |  
  | 
Powered by 
FUDForum. Page generated in 0.06741 seconds