Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Uncertain header file inclusions in gcc build: (3 Items)
   
Uncertain header file inclusions in gcc build  
This seems to apply for both the 660_release and the gcc_8_2 builds.

It appears gcc is being built correctly and the build process steps into building libstdc++-v3 libraries.  What appears 
to be happening is when cmath is being included, it is trying to include math.h.

Well, as you know there are numerous versions of math.h sprinkled about in the gcc_8_2 build directory, the /opt/qnx660/
target/qnx6/user/include directory and the /usr/include directory of the host OS (linux in this case).

What I am trying to understand is which math.h should be included when this library is being built?  I suspect this also
 may apply to other header files found in the /opt/qnx660/target/qnx6/usr/include directory.

The build instructions as posted on this site appear to be incomplete.  I did modify the build_hooks file to ensure that
 it was using qnx660, but it seems there may be other things that need updating to get the proper math.h to be included 
with the build.

Any help, suggestions or any other direction is greatly appreciated.

Thank you!

Kevin
Re: Uncertain header file inclusions in gcc build  
Sure is quiet around here these days....
Re: Uncertain header file inclusions in gcc build  
I have a solution to this in my previous post for this problem and a myriad of others that I was having.  Turns out 
there are headerfiles missing from the libstdc++-v3/include/c folder.

Thanks
Kevin