to work with gcc