libstdC++ exit tests not working for gumstix-basic-image

View: New views
1 Messages — Rating Filter:   Alert me  

libstdC++ exit tests not working for gumstix-basic-image

by john37 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,
   I have followed the steps to setup the gumstix build environment
 (which Ihave done before on another machine) this time

I am getting a faliure doing the configure on the libstdc++-V3
make[]: *** [configure-target-libstdc++-v3] Error 1

from the config.log I can see that the "test program" that is failing
 is config.c
#ifndef __cplusplus
   choke me
#endif

I thought that this might be a problem related to not having this
 defined for .c files so for a test I changed the compile flags to be -xc++ and
 this test passed fine.

However it failed on
config.cc
saying that exit was not defined for std

I would expect that this is something that should work out of the box
 and that is is not using any of my libraries external to the gumstix tree.

any ideas ?
Thanks in advance.
John