I have tried to compile my QT application with --posix-cflags and --posix-ldflags but without success. I have a compilation error in syscall.h :
/usr/xenomai/include/asm/xenomai/syscall.h:235: error: expected primary-expression before . Token I think it's because QT is C++ application so it uses g++ and not gcc. And Xenomai is not intended to be compiled with C++ compiler. Patrick -----Message d'origine----- De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] De la part de Patrick Envoyé : jeudi, 1. novembre 2007 11:04 À : 'Gilles Chanteperdrix'; [email protected] Objet : Re: [Xenomai-help] RT, nonRT communication Hello, Do I have to use --posix-cflags and --posix-ldflags together with the --xeno-cflags and --xeno-ldflags or are they exclusive? Patrick -----Message d'origine----- De : Gilles Chanteperdrix [mailto:[EMAIL PROTECTED] Envoyé : mercredi, 31. octobre 2007 09:44 À : ROSSIER Daniel Cc : Patrick; [email protected] Objet : RE: [Xenomai-help] RT, nonRT communication [...] As soon as you compile your application with the flags returned by xeno-config --posix-cflags and xeno-config --posix-ldflags, it really becomes an RT application where all threads are real-time threads. The only way to create a non real-time thread in such an application is by calling __real_pthread_create. -- Gilles Chanteperdrix. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
