[cfe-dev] Issue #2 with clang-analyzer on RTEMS
    Anton Korobeynikov 
    anton at korobeynikov.info
       
    Fri Sep 24 06:19:04 PDT 2010
    
    
  
Hello, Joel
> The second problem is that native .h files are being picked up in a
> strictly cross (x86-linux -> sparc-rtems) build.  I used the following
> command to run the analysis.
This is pretty much expected: cross-compilation features in clang are
currently pretty poor.
Most probably you will need to create your own target definition
inside clang and tune the
driver to look for correct include paths.
-- 
With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University
    
    
More information about the cfe-dev
mailing list