test for core  or gcc