It wouldn't be in the ecos code.  It would be in the source code for your 
toolchain.
 
When you build a toolchain, you include linux header files for gcc and the clib 
that you use.
 
You have to have configured linux headers to do this.
In those configured linux headers you should enable POSIX_MQUEUE  support.
 
Are you using a binary only toolchain?
 
Like I said, I dont use Cygwin, never have, maybe 5 years ago, but I build mine 
from scratch now.
 
If you want you can download the Cirrus ARM-ELF toolchain full source and build 
that, but I doubt it will work on cygwin.  But who knows.
 
http://arm.cirrus.com/files/tools/arm-elf-gcc-3.2.1-full.tar.bz2
 
you can atleast look at how it's done and maybe build a cygwin toolchain.  But 
I dont know how todo that.
sorry
 
gcc-3.2.1-elf is a very stable and widely used toolchain.  I hope that the 
newer ecos code didnt break that.  I will be very dissapointed.  I have used it 
for ELF compiling and do not wish to upgrade.

________________________________

From: Picque Sébastien [mailto:[EMAIL PROTECTED]
Sent: Mon 11/27/2006 8:38 AM
To: Austin, Brian; Gary Thomas
Cc: [email protected]
Subject: RE: [ECOS] Bug report Internal compiler error



Brian,

I don't see such define in the header file.
Do you know the exact flag to enable for queue support ?
As I forgot to put the list error  : here is below my compiler error :
>
>> arm-elf-gcc -c  
>> -I/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom/install/inclu
>> de -I/ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current 
>> -I/ecos-c/ver
>> sion/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src 
>> -I/ecos-c/version/vcs/c/i
>> ms/std_ims/ecos/packages/compat/posix/current/tests -I. 
>> -I/ecos-c/version/vcs/c/ims/std
>> _ims/ecos/packages/compat/posix/current/src/ -finline-limit=7000 
>> -mcpu=arm7tdmi -mno-sh
>> ort-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual 
>> -g -O2 -ffu
>> nction-sections -fdata-sections -fno-rtti -fno-exceptions   
>> -Wp,-MD,src/mqueue.tmp -o s
>> rc/compat_posix_mqueue.o 
>> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/c
>> urrent/src/mqueue.cxx
>> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src/mqueue.cxx:
>>  In
>>
>>    function `ssize_t mq_timedreceive(void*, char*, long unsigned int, 
>> unsigned
>>    int*, const timespec*)':
>> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src/mqueue.cxx:874
>> : Internal
>>    compiler error in schedule_block, at haifa-sched.c:1714
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>> make[2]: *** [src/mqueue.o.d] Error 1
>> make[2]: Leaving directory 
>> `/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom/com
>> pat/posix/current'
>> make[1]: *** [build] Error 2
>> make[1]: Leaving directory 
>> `/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom'
>> make: *** [build_ecos] Error 2
>


-----Original Message-----
From: Austin, Brian [mailto:[EMAIL PROTECTED]
Sent: lundi 27 novembre 2006 15:34
To: Picque Sébastien; Gary Thomas
Cc: [email protected]
Subject: RE: [ECOS] Bug report Internal compiler error


oh jeez I missed the Cygwin stuff.

anyway, that may bring up cygwin issues,

You should still look at the source of the kernel headers to see if you have 
mqueue support enabled in the source.
My bet is that they dont.

but then again I lose alot of bets.

________________________________

From: [EMAIL PROTECTED] on behalf of Picque Sébastien
Sent: Mon 11/27/2006 8:30 AM
To: Gary Thomas
Cc: [email protected]
Subject: RE: [ECOS] Bug report Internal compiler error



Moreover, I dont use only gcc I use another executable : arm-elf-gcc to compile 
for an ARM architecture.
Do you know where I could find these binaries for Cygwin ?
Thx

-----Original Message-----
From: Gary Thomas [mailto:[EMAIL PROTECTED]
Sent: lundi 27 novembre 2006 15:24
To: Picque Sébastien
Subject: Re: [ECOS] Bug report Internal compiler error


Please keep your replies on the list so that all may benefit.

Picque Sébastien wrote:
> It is the version 3.2.1
> arm-elf-gcc.exe
> Not yet tried with another gcc version

3.2.1 is really quite old.  You might try something newer.

>
> -----Original Message-----
> From: Gary Thomas [mailto:[EMAIL PROTECTED]
> Sent: lundi 27 novembre 2006 15:12
> To: Picque Sébastien
> Cc: [email protected]
> Subject: Re: [ECOS] Bug report Internal compiler error
>
>
> Picque Sébastien wrote:
>> Sorry, I forgot to paste the error result :
>> It is for ARM architecture
>> Gcc is from June 2005.
>
> What version (result of 'gcc -v)?  Have you tried any [newer] version of GCC?
>
>> arm-elf-gcc -c  
>> -I/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom/install/inclu
>> de -I/ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current 
>> -I/ecos-c/ver
>> sion/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src 
>> -I/ecos-c/version/vcs/c/i
>> ms/std_ims/ecos/packages/compat/posix/current/tests -I. 
>> -I/ecos-c/version/vcs/c/ims/std
>> _ims/ecos/packages/compat/posix/current/src/ -finline-limit=7000 
>> -mcpu=arm7tdmi -mno-sh
>> ort-load-words -Wall -Wpointer-arith  -Winline -Wundef -Woverloaded-virtual 
>> -g -O2 -ffu
>> nction-sections -fdata-sections -fno-rtti -fno-exceptions   
>> -Wp,-MD,src/mqueue.tmp -o s
>> rc/compat_posix_mqueue.o 
>> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/c
>> urrent/src/mqueue.cxx
>> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src/mqueue.cxx:
>>  In
>>
>>    function `ssize_t mq_timedreceive(void*, char*, long unsigned int, 
>> unsigned
>>    int*, const timespec*)':
>> /ecos-c/version/vcs/c/ims/std_ims/ecos/packages/compat/posix/current/src/mqueue.cxx:874
>> : Internal
>>    compiler error in schedule_block, at haifa-sched.c:1714
>> Please submit a full bug report,
>> with preprocessed source if appropriate.
>> See <URL:http://www.gnu.org/software/gcc/bugs.html> for instructions.
>> make[2]: *** [src/mqueue.o.d] Error 1
>> make[2]: Leaving directory 
>> `/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom/com
>> pat/posix/current'
>> make[1]: *** [build] Error 2
>> make[1]: Leaving directory 
>> `/ecos-c/version/vcs/c/ims/std_ims/build/ecos_iptcom_rom'
>> make: *** [build_ecos] Error 2
>


--
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss










--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

Reply via email to