Thursday, 5 February 2015

[gccsdk] GCC: bits/c++config.h

Thanks to everyone's help on here, I feel I'm making some progress.

The discovery of Duncan's Unix ports has been a huge leap forward for me!
(Thanks, Duncan.)

I'm currently hitting an error when creating the dependencies file:

Fatal error: bits/c++config.h: No such file or directory

And it's true, when I look inside !GCC in include.c++.4/7/4.bits.h, I can
see no such file. There's "c++0x_warning", but that's the closest. Is this
an omission from the 4.7.4 distribution?

Also, as the source I'm trying to compile is in "Unix" directory layout
(no "c", "h" subdirectories, etc., just everything in one flat "src"
directory), I've figured out that I have to do:

Set UnixEnv$cc1plus$sfix ""

What tripped me up, was that the command to invoke the C++ compiler in my
makefile is "g++". So I initially tried:

Set UnixEnv$g++$sfix ""

But that didn't work. Can anyone explain to me the difference between the
g++ and cc1plus commands?

Finally, if there's somewhere the whole UnixEnv$* environment variable
thing is documented, I'd love to know about it. I could find much info in
the !GCC help file. Everything I know about it now (not much!) is from
Duncan's 'make' help file.

Thanks,

WPB

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

No comments:

Post a Comment