Internal Behavior of G++

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi all, 

I am developing an intermediate compile using EDG C++
frontend. 

When I try to compile any c++ source file with my
compiler it returns many errors.. like 


James:~/C_PP/test> C_CC -I/usr/include/c++/3.3
-I/usr/include/c++/3.3/i486-linux-gnu -I/usr/include
-c helloworld.cpp
"/usr/include/c++/3.3/i486-linux-gnu/bits/c++locale.h",
line 39: warning:
          unrecognized #pragma
  #pragma GCC system_header
          ^

"/usr/include/locale.h", line 29: catastrophic error:
could not open source
          file "stddef.h"
  #include <stddef.h>
                     ^

1 catastrophic error detected in the compilation of
"helloworld.cpp".
Compilation terminated.
C_CC --with-preincludes -D__linux__
-I/usr/include/c++/3.3 -I/usr/include/c++/3.3
-I/usr/include/c++/3.3/i486-linux-gnu -I/usr/include
-o helloworld.o helloworld.cpp
cafeCC: Error from subprocess: cafe++
"/usr/include/locale.h", line 29: error: could not
open source file "stddef.h"
  #include <stddef.h>
                     ^

"/usr/include/iconv.h", line 24: error: could not open
source file "stddef.h"
  #include <stddef.h>
                     ^

"/usr/include/bits/types.h", line 31: error: could not
open source file
          "stddef.h"
  #include <stddef.h>
                     ^


15 errors detected in the compilation of
"helloworld.cpp".
Compilation terminated.



/******************************************/

Now Can anyone guide me that how g(++/cc) starts its
preprocessing and what macros it uses by default if
there are no user defined.. 

Any suggestion will be appreciated..

Thanks.

Raza


		
____________________________________________________
Start your day with Yahoo! - make it your home page 
http://www.yahoo.com/r/hs 
 

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux