Hello Igor,
thank you very much for your feedback!
libtool --mode=compile --tag=CC gpc -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DGNU_COMPATIBLE_OS=1 --automake -c -o alpexceptions.o alpexceptions.pas libtool: unrecognized option `--tag=CC'
Which version of libtool are you using?
- Now build process goes further but it stops on file units/cnatives.c, in
function run_alp_thread. My arm-elf-gcc compiler doesn't want to accept variables declarations after the function calls, so I moved declarations of "gpc_object thread" and "pthread_mutex_t *trigger" to the very beginning of the function (declarations only, not initialization).
Okay, I'll change the sources accordingly.
- After that build process goes further, now it tells me
libtool: link: `alpexceptions.lo' is not a valid libtool object
I mean to remember I had the same error as long as I left out the --tag=CC option, so this one's probably related to the first error.
Best,
Markus