среда разработки ubuntu 19.04 целевая платформа IMX6 GCC 4.9.3
голову сломал
собираю проект - делаю ./configure, а мне выдается
configure: error: C compiler cannot create executables
в config.log вот такое
configure:3399: checking whether the C compiler works
configure:3421: arm-unknown-nto-qnx6.6.0eabi-gcc -O2 -pipe -g -feliminate-unused-debug-types -Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed -fPIC conftest.c >&5
as: unrecognized option '-EL'
configure:3425: $? = 2
configure:3463: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "OpenFst"
| #define PACKAGE_TARNAME "openfst"
| #define PACKAGE_VERSION "1.7.3"
| #define PACKAGE_STRING "OpenFst 1.7.3"
| #define PACKAGE_BUGREPORT "
help@www.openfst.org"
| #define PACKAGE_URL ""
| #define PACKAGE "openfst"
| #define VERSION "1.7.3"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:3468: error: in `/media/data/QNX/openfst-1.7.3':
configure:3470: error: C compiler cannot create executables
See `config.log' for more details
почему то берется системный as а не тулчейный, сделал символическую ссылку на тулчейный и эта ошибка ушла, но это не красиво и адов хак
с тулчейном идущем в комплекте с SDP 6.6 такого не случалось