Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Vincent Torri


you can find the code here

modified source code:
http://www.maths.univ-evry.fr/pages_perso/vtorri/files/sphinxbase-0.4.tar.bz2

what i compiled:
http://www.maths.univ-evry.fr/pages_perso/vtorri/files/sphinx.tar.bz2

Note: you need iconv for win ce, especially the dll. Indeed, without it, 
you can't build the dll of sphinx (and unfortunately, I don't have it). 
Hence, i fear that the executables will not run.


So, get iconv for win ce (static lib + dll) and compile the modified 
source, and it should be ok


Vincent Torri

Reminder: if you want to run configure again to change the prefix, you 
have to do that:


./configure --prefix=$HOME/local/sphinx --host=arm-wince-cegcc

On Mon, 14 Jul 2008, Eric Perera wrote:


  I'm still looking for your reply, pls reply me asap.

On Mon, Jul 14, 2008 at 2:13 AM, Eric Perera <[EMAIL PROTECTED]> wrote:


  pls send me changes made to source and command executed.

On Mon, Jul 14, 2008 at 1:47 AM, Eric Perera <[EMAIL PROTECTED]> wrote:


   k, Did you get the Exe file in bin folder? If it succeeded,pls send
tell me modifications you made and how you compile it(It's good to send me
commands you executed).


On Mon, Jul 14, 2008 at 1:42 AM, Vincent Torri <[EMAIL PROTECTED]>
wrote:




On Mon, 14 Jul 2008, Vincent Torri wrote:




On Mon, 14 Jul 2008, Eric Perera wrote:

  As I said early,  There is no any executable file which can run on

Windows  CE. Though I followed steps as you mentioned early, It didn't
produce any exe file.

did you ever try to compile these two packages with CeGCC?. I'm not
sure whether It's a problem with packages.



i just tried to compile sphinxbase with cegcc. Some modifications in the
code must be done. Also, python subdir does not compile (i think it's the
python binding).



I also compiled pocketsphinx. It's straightforward once spinxbase has
been correctly compiled

Vincent








--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Eric Perera
   I'm still looking for your reply, pls reply me asap.

On Mon, Jul 14, 2008 at 2:13 AM, Eric Perera <[EMAIL PROTECTED]> wrote:

>   pls send me changes made to source and command executed.
>
> On Mon, Jul 14, 2008 at 1:47 AM, Eric Perera <[EMAIL PROTECTED]> wrote:
>
>>k, Did you get the Exe file in bin folder? If it succeeded,pls send
>> tell me modifications you made and how you compile it(It's good to send me
>> commands you executed).
>>
>>
>> On Mon, Jul 14, 2008 at 1:42 AM, Vincent Torri <[EMAIL PROTECTED]>
>> wrote:
>>
>>>
>>>
>>> On Mon, 14 Jul 2008, Vincent Torri wrote:
>>>
>>>

 On Mon, 14 Jul 2008, Eric Perera wrote:

   As I said early,  There is no any executable file which can run on
> Windows  CE. Though I followed steps as you mentioned early, It didn't
> produce any exe file.
>
> did you ever try to compile these two packages with CeGCC?. I'm not
> sure whether It's a problem with packages.
>

 i just tried to compile sphinxbase with cegcc. Some modifications in the
 code must be done. Also, python subdir does not compile (i think it's the
 python binding).

>>>
>>> I also compiled pocketsphinx. It's straightforward once spinxbase has
>>> been correctly compiled
>>>
>>> Vincent
>>>
>>
>>
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Vincent Torri


On Mon, 14 Jul 2008, Vincent Torri wrote:

>
>
> On Mon, 14 Jul 2008, Eric Perera wrote:
>
>>   As I said early,  There is no any executable file which can run on
>> Windows  CE. Though I followed steps as you mentioned early, It didn't
>> produce any exe file.
>>
>>  did you ever try to compile these two packages with CeGCC?. I'm not
>> sure whether It's a problem with packages.
>
> i just tried to compile sphinxbase with cegcc. Some modifications in the code 
> must be done. Also, python subdir does not compile (i think it's the python 
> binding).

I also compiled pocketsphinx. It's straightforward once spinxbase has been 
correctly compiled

Vincent

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Vincent Torri


On Mon, 14 Jul 2008, Eric Perera wrote:

>   As I said early,  There is no any executable file which can run on
> Windows  CE. Though I followed steps as you mentioned early, It didn't
> produce any exe file.
>
>  did you ever try to compile these two packages with CeGCC?. I'm not
> sure whether It's a problem with packages.

i just tried to compile sphinxbase with cegcc. Some modifications in the 
code must be done. Also, python subdir does not compile (i think it's the 
python binding).

Vincent

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Eric Perera
 Still I'm in trouble. please comment on this issue asap. didn't get any
answer to my previous question yet.


On Mon, Jul 14, 2008 at 12:35 AM, Eric Perera <[EMAIL PROTECTED]> wrote:

>As I said early,  There is no any executable file which can run on
> Windows  CE. Though I followed steps as you mentioned early, It didn't
> produce any exe file.
>
>   did you ever try to compile these two packages with CeGCC?. I'm not
> sure whether It's a problem with packages.
>
>
>
>
> On Mon, Jul 14, 2008 at 12:25 AM, Vincent Torri <[EMAIL PROTECTED]>
> wrote:
>
>>
>>
>> On Mon, 14 Jul 2008, Eric Perera wrote:
>>
>>  yes, I did
>>>
>>
>> so, some files have been copied in the path you passed to configure
>> (./configure --prefix=a_path). So the dll and exe are in 'a_path/bin'
>>
>> Vincent Torri
>>
>>
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Eric Perera
   As I said early,  There is no any executable file which can run on
Windows  CE. Though I followed steps as you mentioned early, It didn't
produce any exe file.

  did you ever try to compile these two packages with CeGCC?. I'm not
sure whether It's a problem with packages.



On Mon, Jul 14, 2008 at 12:25 AM, Vincent Torri <[EMAIL PROTECTED]> wrote:

>
>
> On Mon, 14 Jul 2008, Eric Perera wrote:
>
>  yes, I did
>>
>
> so, some files have been copied in the path you passed to configure
> (./configure --prefix=a_path). So the dll and exe are in 'a_path/bin'
>
> Vincent Torri
>
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Vincent Torri


On Mon, 14 Jul 2008, Eric Perera wrote:

> yes, I did

so, some files have been copied in the path you passed to configure 
(./configure --prefix=a_path). So the dll and exe are in 'a_path/bin'

Vincent Torri


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Eric Perera
yes, I did

On Mon, Jul 14, 2008 at 12:22 AM, Vincent Torri <[EMAIL PROTECTED]> wrote:

>
>
> On Mon, 14 Jul 2008, Eric Perera wrote:
>
> after cross compiling sphinxBase and pocketSphinx , still I didn't
>>
> get any file which can be run on Windows CE. I believe that cross compiler
> should produce EXEs and DLLs for that packages  . But it didn't output such
> a file. so I don't know where problem has been occurred whether it's with
> cross compilation process or packages going to cross compile.
>
> can some one help me to figure out this problem
>
> did you run make install ?
>
> Vincent Torri
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Vincent Torri


On Mon, 14 Jul 2008, Eric Perera wrote:

> after cross compiling sphinxBase and pocketSphinx , still I didn't
get any file which can be run on Windows CE. I believe that cross compiler
should produce EXEs and DLLs for that packages  . But it didn't output such
a file. so I don't know where problem has been occurred whether it's with
cross compilation process or packages going to cross compile.

can some one help me to figure out this problem

did you run make install ?

Vincent Torri

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-14 Thread Eric Perera
 after cross compiling sphinxBase and pocketSphinx , still I didn't
get any file which can be run on Windows CE. I believe that cross compiler
should produce EXEs and DLLs for that packages  . But it didn't output such
a file. so I don't know where problem has been occurred whether it's with
cross compilation process or packages going to cross compile.

can some one help me to figure out this problem



2008/7/13 Ivan Vucica <[EMAIL PROTECTED]>:

> There's a WM emulator in Visual Studio 2005 Pro. I don't know about
> other editions.
>
> Also something like that should be available in free (as in free beer)
> Microsoft Embedded Visual Tools 4.0 (that's C++ and VB).
>
> You're prolly trying to get away from MS, so I'm sorry I can't give
> any other suggestion.
>
> On 14/07/2008, Eric Perera <[EMAIL PROTECTED]> wrote:
> > Is there any simulator to test build packages with CeGCC (***
> > arm-wince-mingw32ce-gcc*)?
> >
> > 2008/7/11 Ivan Vucica <[EMAIL PROTECTED]>:
> >
> >> AFAIK WinCE (at least the PocketPC/WM version) has no command prompt,
> >> and thus no batch files. There is a cmd.exe available from MS that
> >> would run batch files. Of course, it can't run shell scripts - no
> >> sh/bash.
> >>
> >> On 11/07/2008, Eric Perera <[EMAIL PROTECTED]> wrote:
> >> >now bin folder contains 2 shell script files and a few executable
> >> files.
> >> > just copying bin folder to \windows path , am I able to run the
> >> application?
> >> >
> >> >
> >> > what I am doing in UNIX system to run that application is to execute
> >> > that
> >> > two shell scripts in command line. so how can I run those two scripts
> in
> >> > Windows CE?
> >> >
> >> >
> >> > On Fri, Jul 11, 2008 at 2:35 PM, Vincent Torri <[EMAIL PROTECTED]>
> >> wrote:
> >> >
> >> >>
> >> >>
> >> >> On Fri, 11 Jul 2008, Eric Perera wrote:
> >> >>
> >> >>   k, after compiling packages with(arm-cegcc-gcc), build files
> are
> >> in
> >> >>> two different directories (sphinxBase and pocketsphinx). Then I need
> >> >>> to
> >> >>> test
> >> >>> it on simulator called windows mobile SDK 5.
> >> >>>
> >> >>> after making sphinxBase, build files are in three different folders
> >> >>> called
> >> >>> (sphinxbase/Bin ,lib and  include).
> >> >>>
> >> >>> when executing make command for pocketSphinx, build files are in
> >> >>> directories
> >> >>> pocketSPhinx/bin, lib,include and share.
> >> >>>
> >> >>> now tell me how I configure these directories and files into
> emulator
> >> and
> >> >>> run it.
> >> >>>
> >> >>
> >> >> lib/ and include/ subdir are only for development. Forget them if you
> >> just
> >> >> want to use your program. About the 2 bin/ subdirs, well, put all the
> >> >> files
> >> >> in the same directory, it's not a problem. I didn't use the emulator,
> >> >> so
> >> i
> >> >> can't help you. But you maybe can put those files in \windows or
> >> >> another
> >> >> dir
> >> >> that is in the path.
> >> >>
> >> >> Vincent Torri
> >> >>
> >> >
> >>
> >>
> >> --
> >> Regards,
> >>
> >> Ivan Vučica
> >>
> >> OBJECT Networks :: www.objectnetworks.net
> >> Cateia Games :: www.cateia.com
> >>
> >
>
>
> --
> Regards,
>
> Ivan Vučica
>
> OBJECT Networks :: www.objectnetworks.net
> Cateia Games :: www.cateia.com
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-13 Thread Ivan Vucica
There's a WM emulator in Visual Studio 2005 Pro. I don't know about
other editions.

Also something like that should be available in free (as in free beer)
Microsoft Embedded Visual Tools 4.0 (that's C++ and VB).

You're prolly trying to get away from MS, so I'm sorry I can't give
any other suggestion.

On 14/07/2008, Eric Perera <[EMAIL PROTECTED]> wrote:
> Is there any simulator to test build packages with CeGCC (***
> arm-wince-mingw32ce-gcc*)?
>
> 2008/7/11 Ivan Vucica <[EMAIL PROTECTED]>:
>
>> AFAIK WinCE (at least the PocketPC/WM version) has no command prompt,
>> and thus no batch files. There is a cmd.exe available from MS that
>> would run batch files. Of course, it can't run shell scripts - no
>> sh/bash.
>>
>> On 11/07/2008, Eric Perera <[EMAIL PROTECTED]> wrote:
>> >now bin folder contains 2 shell script files and a few executable
>> files.
>> > just copying bin folder to \windows path , am I able to run the
>> application?
>> >
>> >
>> > what I am doing in UNIX system to run that application is to execute
>> > that
>> > two shell scripts in command line. so how can I run those two scripts in
>> > Windows CE?
>> >
>> >
>> > On Fri, Jul 11, 2008 at 2:35 PM, Vincent Torri <[EMAIL PROTECTED]>
>> wrote:
>> >
>> >>
>> >>
>> >> On Fri, 11 Jul 2008, Eric Perera wrote:
>> >>
>> >>   k, after compiling packages with(arm-cegcc-gcc), build files are
>> in
>> >>> two different directories (sphinxBase and pocketsphinx). Then I need
>> >>> to
>> >>> test
>> >>> it on simulator called windows mobile SDK 5.
>> >>>
>> >>> after making sphinxBase, build files are in three different folders
>> >>> called
>> >>> (sphinxbase/Bin ,lib and  include).
>> >>>
>> >>> when executing make command for pocketSphinx, build files are in
>> >>> directories
>> >>> pocketSPhinx/bin, lib,include and share.
>> >>>
>> >>> now tell me how I configure these directories and files into emulator
>> and
>> >>> run it.
>> >>>
>> >>
>> >> lib/ and include/ subdir are only for development. Forget them if you
>> just
>> >> want to use your program. About the 2 bin/ subdirs, well, put all the
>> >> files
>> >> in the same directory, it's not a problem. I didn't use the emulator,
>> >> so
>> i
>> >> can't help you. But you maybe can put those files in \windows or
>> >> another
>> >> dir
>> >> that is in the path.
>> >>
>> >> Vincent Torri
>> >>
>> >
>>
>>
>> --
>> Regards,
>>
>> Ivan Vučica
>>
>> OBJECT Networks :: www.objectnetworks.net
>> Cateia Games :: www.cateia.com
>>
>


-- 
Regards,

Ivan Vučica

OBJECT Networks :: www.objectnetworks.net
Cateia Games :: www.cateia.com
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-13 Thread Eric Perera
Is there any simulator to test build packages with CeGCC (***
arm-wince-mingw32ce-gcc*)?

2008/7/11 Ivan Vucica <[EMAIL PROTECTED]>:

> AFAIK WinCE (at least the PocketPC/WM version) has no command prompt,
> and thus no batch files. There is a cmd.exe available from MS that
> would run batch files. Of course, it can't run shell scripts - no
> sh/bash.
>
> On 11/07/2008, Eric Perera <[EMAIL PROTECTED]> wrote:
> >now bin folder contains 2 shell script files and a few executable
> files.
> > just copying bin folder to \windows path , am I able to run the
> application?
> >
> >
> > what I am doing in UNIX system to run that application is to execute that
> > two shell scripts in command line. so how can I run those two scripts in
> > Windows CE?
> >
> >
> > On Fri, Jul 11, 2008 at 2:35 PM, Vincent Torri <[EMAIL PROTECTED]>
> wrote:
> >
> >>
> >>
> >> On Fri, 11 Jul 2008, Eric Perera wrote:
> >>
> >>   k, after compiling packages with(arm-cegcc-gcc), build files are
> in
> >>> two different directories (sphinxBase and pocketsphinx). Then I need to
> >>> test
> >>> it on simulator called windows mobile SDK 5.
> >>>
> >>> after making sphinxBase, build files are in three different folders
> >>> called
> >>> (sphinxbase/Bin ,lib and  include).
> >>>
> >>> when executing make command for pocketSphinx, build files are in
> >>> directories
> >>> pocketSPhinx/bin, lib,include and share.
> >>>
> >>> now tell me how I configure these directories and files into emulator
> and
> >>> run it.
> >>>
> >>
> >> lib/ and include/ subdir are only for development. Forget them if you
> just
> >> want to use your program. About the 2 bin/ subdirs, well, put all the
> >> files
> >> in the same directory, it's not a problem. I didn't use the emulator, so
> i
> >> can't help you. But you maybe can put those files in \windows or another
> >> dir
> >> that is in the path.
> >>
> >> Vincent Torri
> >>
> >
>
>
> --
> Regards,
>
> Ivan Vučica
>
> OBJECT Networks :: www.objectnetworks.net
> Cateia Games :: www.cateia.com
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Ivan Vucica
AFAIK WinCE (at least the PocketPC/WM version) has no command prompt,
and thus no batch files. There is a cmd.exe available from MS that
would run batch files. Of course, it can't run shell scripts - no
sh/bash.

On 11/07/2008, Eric Perera <[EMAIL PROTECTED]> wrote:
>now bin folder contains 2 shell script files and a few executable files.
> just copying bin folder to \windows path , am I able to run the application?
>
>
> what I am doing in UNIX system to run that application is to execute that
> two shell scripts in command line. so how can I run those two scripts in
> Windows CE?
>
>
> On Fri, Jul 11, 2008 at 2:35 PM, Vincent Torri <[EMAIL PROTECTED]> wrote:
>
>>
>>
>> On Fri, 11 Jul 2008, Eric Perera wrote:
>>
>>   k, after compiling packages with(arm-cegcc-gcc), build files are in
>>> two different directories (sphinxBase and pocketsphinx). Then I need to
>>> test
>>> it on simulator called windows mobile SDK 5.
>>>
>>> after making sphinxBase, build files are in three different folders
>>> called
>>> (sphinxbase/Bin ,lib and  include).
>>>
>>> when executing make command for pocketSphinx, build files are in
>>> directories
>>> pocketSPhinx/bin, lib,include and share.
>>>
>>> now tell me how I configure these directories and files into emulator and
>>> run it.
>>>
>>
>> lib/ and include/ subdir are only for development. Forget them if you just
>> want to use your program. About the 2 bin/ subdirs, well, put all the
>> files
>> in the same directory, it's not a problem. I didn't use the emulator, so i
>> can't help you. But you maybe can put those files in \windows or another
>> dir
>> that is in the path.
>>
>> Vincent Torri
>>
>


-- 
Regards,

Ivan Vučica

OBJECT Networks :: www.objectnetworks.net
Cateia Games :: www.cateia.com
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Eric Perera
   now bin folder contains 2 shell script files and a few executable files.
just copying bin folder to \windows path , am I able to run the application?


what I am doing in UNIX system to run that application is to execute that
two shell scripts in command line. so how can I run those two scripts in
Windows CE?


On Fri, Jul 11, 2008 at 2:35 PM, Vincent Torri <[EMAIL PROTECTED]> wrote:

>
>
> On Fri, 11 Jul 2008, Eric Perera wrote:
>
>   k, after compiling packages with(arm-cegcc-gcc), build files are in
>> two different directories (sphinxBase and pocketsphinx). Then I need to
>> test
>> it on simulator called windows mobile SDK 5.
>>
>> after making sphinxBase, build files are in three different folders called
>> (sphinxbase/Bin ,lib and  include).
>>
>> when executing make command for pocketSphinx, build files are in
>> directories
>> pocketSPhinx/bin, lib,include and share.
>>
>> now tell me how I configure these directories and files into emulator and
>> run it.
>>
>
> lib/ and include/ subdir are only for development. Forget them if you just
> want to use your program. About the 2 bin/ subdirs, well, put all the files
> in the same directory, it's not a problem. I didn't use the emulator, so i
> can't help you. But you maybe can put those files in \windows or another dir
> that is in the path.
>
> Vincent Torri
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Vincent Torri


On Fri, 11 Jul 2008, Eric Perera wrote:

>   k, after compiling packages with(arm-cegcc-gcc), build files are in
> two different directories (sphinxBase and pocketsphinx). Then I need to test
> it on simulator called windows mobile SDK 5.
>
> after making sphinxBase, build files are in three different folders called
> (sphinxbase/Bin ,lib and  include).
>
> when executing make command for pocketSphinx, build files are in directories
> pocketSPhinx/bin, lib,include and share.
>
> now tell me how I configure these directories and files into emulator and
> run it.

lib/ and include/ subdir are only for development. Forget them if you just 
want to use your program. About the 2 bin/ subdirs, well, put all the 
files in the same directory, it's not a problem. I didn't use the 
emulator, so i can't help you. But you maybe can put those files in 
\windows or another dir that is in the path.

Vincent Torri

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Eric Perera
   k, after compiling packages with(arm-cegcc-gcc), build files are in
two different directories (sphinxBase and pocketsphinx). Then I need to test
it on simulator called windows mobile SDK 5.

after making sphinxBase, build files are in three different folders called
(sphinxbase/Bin ,lib and  include).

when executing make command for pocketSphinx, build files are in directories
pocketSPhinx/bin, lib,include and share.

now tell me how I configure these directories and files into emulator and
run it.

On Fri, Jul 11, 2008 at 12:48 PM, Vincent Torri <[EMAIL PROTECTED]> wrote:

>
>
> On Fri, 11 Jul 2008, Eric Perera wrote:
>
>  hi..
>>I think I have compiled packages with wrong compiler. so now I trying
>> to compile it with * arm-wince-mingw32ce. *but not sure which one should I
>> used for this(Eg: arm-mingw32ce-cpp,arm-mingw32ce-gcc or else one ).
>>
>> can someone help me to select compiler..
>>
>
> i don't think that it's a compiler problem (btw, cpp is the preprocessor,
> if i'm not mistaken, so you should use arm-mingw32ce-gcc).
>
> Did you read http://cegcc.sourceforge.net/docs/dll.html ?
>
> if copying these files does not solve your problem, then you have to
> describe exactly it, otherwise how can we help you ?
>
> Vincent Torri
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Vincent Torri


On Fri, 11 Jul 2008, Eric Perera wrote:

> hi..
> I think I have compiled packages with wrong compiler. so now I trying
> to compile it with * arm-wince-mingw32ce. *but not sure which one should I
> used for this(Eg: arm-mingw32ce-cpp,arm-mingw32ce-gcc or else one ).
>
> can someone help me to select compiler..

i don't think that it's a compiler problem (btw, cpp is the preprocessor, 
if i'm not mistaken, so you should use arm-mingw32ce-gcc).

Did you read http://cegcc.sourceforge.net/docs/dll.html ?

if copying these files does not solve your problem, then you have to 
describe exactly it, otherwise how can we help you ?

Vincent Torri

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Danny Backx
On Fri, 2008-07-11 at 12:38 +0530, Eric Perera wrote:
> hi..
>  I think I have compiled packages with wrong compiler. so now I
> trying to compile it with  arm-wince-mingw32ce. but not sure which one
> should I used for this(Eg: arm-mingw32ce-cpp,arm-mingw32ce-gcc or else
> one ). 
> 
> can someone help me to select compiler..

As is written on the cegcc website, the difference is in what you want
to compile.

If you want to compile a source that fully complies to the windows api,
then mingw32ce is the right option.

If you want to compile a source that has a bunch of unix-isms, then
cegcc is the right option.

I believe I saw use of errno and such in the source. This would be a
good reason to go to cegcc.

So what is the reason why you still have problems with cegcc ?

Danny

-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Eric Perera
hi..
 I think I have compiled packages with wrong compiler. so now I trying
to compile it with * arm-wince-mingw32ce. *but not sure which one should I
used for this(Eg: arm-mingw32ce-cpp,arm-mingw32ce-gcc or else one ).

can someone help me to select compiler..


On Fri, Jul 11, 2008 at 10:18 AM, Eric Perera <[EMAIL PROTECTED]> wrote:

> hiii
>   still I am in mess. Though I cross complied pocketSphinix and
> sphinxBase with CeGCC, was not able to run on  Windows CE.
>
> pocketpshinx is a embedded speech recognition engine and you can get to
> know more abut it with its documentation (
> http://www.speech.cs.cmu.edu/pocketsphinx/).
>
> I'm not sure whether i have used correct compiler for that.(I used
> /opt/cegcc/bin/arm-cegcc-gcc to cross compile both these packages)
>
> My requirement is to run pocketSphinx on my WIndows CE mobile phone.
>
> Hope you all response my humble request asap since I have to do it for my
> final project and its deadline is in the next week.
>
> Thanks
>
>
> On Thu, Jul 10, 2008 at 3:05 AM, Eric Perera <[EMAIL PROTECTED]> wrote:
>
>> thank you very much for your reply. I was able to build sphinxBase
>> with your guide lines.
>>
>>
>>
>> On Thu, Jul 10, 2008 at 1:02 PM, Vincent Torri <[EMAIL PROTECTED]>
>> wrote:
>>
>>>
>>>
>>> On Thu, 10 Jul 2008, Eric Perera wrote:
>>>
>>>  Thanks a lot for your quick reply.

 I tried it again with following command, unfortunately it gives another
 error.

 ./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
 --without-lapack --target=arm-wince-pe --build=i686-linux
 --prefix=/home/eric/WinCE/sphinxBase

 configure: WARNING: you should use --build, --host, --target
 configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
 checking for a BSD-compatible install... /usr/bin/install -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... /bin/mkdir -p
 checking for gawk... no
 checking for mawk... mawk
 checking whether make sets $(MAKE)... yes
 checking for /opt/cegcc/bin/arm-cegcc-gcc-strip... no
 checking for strip... strip
 configure: WARNING: In the future, Autoconf will not detect cross-tools
 whose name does not start with the host triplet.  If you think this
 configuration is useful to you, please write to [EMAIL PROTECTED]
 checking build system type... i686-pc-linux-gnu
 checking host system type... Invalid configuration
 `/opt/cegcc/bin/arm-cegcc-gcc': machine `/opt/cegcc/bin/arm-cegcc' not
 recognized
 configure: error: /bin/bash ./config.sub /opt/cegcc/bin/arm-cegcc-gcc
 failed

 pls give some help me to resolve this.

>>>
>>> Step 1: try to update autoconf and automake to the latest versions
>>> (autoconf 2.62 and automake 1.10.1). They work for me. I didn't try with
>>> other versions.
>>>
>>> Step 2: use a specific configuration of the env vars when cross
>>> compiling. For example, I use:
>>>
>>> export CEGCC_PATH=$HOME/local/opt/cegcc
>>> export WINCE_PATH=$HOME/WinCE/sphinxBase
>>>
>>> export PATH=$CEGCC_PATH/bin:$PATH
>>> export CPPFLAGS="-I$WINCE_PATH/include"
>>> export LDFLAGS="-L$WINCE_PATH/lib -L$CEGCC_PATH/lib"
>>> export LD_LIBRARY_PATH="$WINCE_PATH/bin"
>>> export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig"
>>>
>>> update CEGCC_PATH (where cegcc is installed) and WINCE_PATH (where you
>>> install your windows ce progs / libs) to what you want
>>>
>>> Step 3:
>>>
>>>* Search in config.sub (in the top level source dir of the prog you
>>> want to port) the word 'mingw'. You will found:
>>>
>>>mingw32)
>>>basic_machine=i386-pc
>>>os=-mingw32
>>>;;
>>>
>>> Add after the ';;' the following code:
>>>
>>>cegcc)
>>>basic_machine=arm-unknown
>>>os=-cegcc
>>>;;
>>>
>>>* Search in the same file '-pe'. You will find a line like this one:
>>>
>>>  | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
>>>
>>> Add '-cegcc* |' to have something like:
>>>
>>>  | -cygwin* | -cegcc* | -pe* | -psos* | -moss* | -proelf* |
>>> -rtems* \
>>>
>>>
>>> Step 4: compile like that:
>>>
>>> actually, I was wrong. --host is correct. I use it :p Sorry
>>>
>>> ./configure --host=arm-wince-cegcc --prefix=$WINCE_PATH --enable-fixed
>>> --without-lapack
>>>
>>> --build should be useless, I think
>>>
>>> hope it will work
>>>
>>> In a near future, Step 3 will be useless (I hope)
>>>
>>> Vincent
>>>
>>
>>
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Ce

Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-11 Thread Danny Backx
On Thu, 2008-07-10 at 21:48 -0700, Eric Perera wrote:
> hiii
>   still I am in mess. Though I cross complied pocketSphinix and
> sphinxBase with CeGCC, was not able to run on  Windows CE.
> 
> pocketpshinx is a embedded speech recognition engine and you can get
> to know more abut it with its documentation
> (http://www.speech.cs.cmu.edu/pocketsphinx/).
> 
> I'm not sure whether i have used correct compiler for that.(I
> used /opt/cegcc/bin/arm-cegcc-gcc to cross compile both these
> packages)
> 
> My requirement is to run pocketSphinx on my WIndows CE mobile phone.

So what is the problem ?

Danny
-- 
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-10 Thread Eric Perera
hiii
  still I am in mess. Though I cross complied pocketSphinix and
sphinxBase with CeGCC, was not able to run on  Windows CE.

pocketpshinx is a embedded speech recognition engine and you can get to know
more abut it with its documentation (
http://www.speech.cs.cmu.edu/pocketsphinx/).

I'm not sure whether i have used correct compiler for that.(I used
/opt/cegcc/bin/arm-cegcc-gcc to cross compile both these packages)

My requirement is to run pocketSphinx on my WIndows CE mobile phone.

Hope you all response my humble request asap since I have to do it for my
final project and its deadline is in the next week.

Thanks


On Thu, Jul 10, 2008 at 3:05 AM, Eric Perera <[EMAIL PROTECTED]> wrote:

> thank you very much for your reply. I was able to build sphinxBase
> with your guide lines.
>
>
>
> On Thu, Jul 10, 2008 at 1:02 PM, Vincent Torri <[EMAIL PROTECTED]>
> wrote:
>
>>
>>
>> On Thu, 10 Jul 2008, Eric Perera wrote:
>>
>>  Thanks a lot for your quick reply.
>>>
>>> I tried it again with following command, unfortunately it gives another
>>> error.
>>>
>>> ./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
>>> --without-lapack --target=arm-wince-pe --build=i686-linux
>>> --prefix=/home/eric/WinCE/sphinxBase
>>>
>>> configure: WARNING: you should use --build, --host, --target
>>> configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
>>> checking for a BSD-compatible install... /usr/bin/install -c
>>> checking whether build environment is sane... yes
>>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>>> checking for gawk... no
>>> checking for mawk... mawk
>>> checking whether make sets $(MAKE)... yes
>>> checking for /opt/cegcc/bin/arm-cegcc-gcc-strip... no
>>> checking for strip... strip
>>> configure: WARNING: In the future, Autoconf will not detect cross-tools
>>> whose name does not start with the host triplet.  If you think this
>>> configuration is useful to you, please write to [EMAIL PROTECTED]
>>> checking build system type... i686-pc-linux-gnu
>>> checking host system type... Invalid configuration
>>> `/opt/cegcc/bin/arm-cegcc-gcc': machine `/opt/cegcc/bin/arm-cegcc' not
>>> recognized
>>> configure: error: /bin/bash ./config.sub /opt/cegcc/bin/arm-cegcc-gcc
>>> failed
>>>
>>> pls give some help me to resolve this.
>>>
>>
>> Step 1: try to update autoconf and automake to the latest versions
>> (autoconf 2.62 and automake 1.10.1). They work for me. I didn't try with
>> other versions.
>>
>> Step 2: use a specific configuration of the env vars when cross compiling.
>> For example, I use:
>>
>> export CEGCC_PATH=$HOME/local/opt/cegcc
>> export WINCE_PATH=$HOME/WinCE/sphinxBase
>>
>> export PATH=$CEGCC_PATH/bin:$PATH
>> export CPPFLAGS="-I$WINCE_PATH/include"
>> export LDFLAGS="-L$WINCE_PATH/lib -L$CEGCC_PATH/lib"
>> export LD_LIBRARY_PATH="$WINCE_PATH/bin"
>> export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig"
>>
>> update CEGCC_PATH (where cegcc is installed) and WINCE_PATH (where you
>> install your windows ce progs / libs) to what you want
>>
>> Step 3:
>>
>>* Search in config.sub (in the top level source dir of the prog you
>> want to port) the word 'mingw'. You will found:
>>
>>mingw32)
>>basic_machine=i386-pc
>>os=-mingw32
>>;;
>>
>> Add after the ';;' the following code:
>>
>>cegcc)
>>basic_machine=arm-unknown
>>os=-cegcc
>>;;
>>
>>* Search in the same file '-pe'. You will find a line like this one:
>>
>>  | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
>>
>> Add '-cegcc* |' to have something like:
>>
>>  | -cygwin* | -cegcc* | -pe* | -psos* | -moss* | -proelf* |
>> -rtems* \
>>
>>
>> Step 4: compile like that:
>>
>> actually, I was wrong. --host is correct. I use it :p Sorry
>>
>> ./configure --host=arm-wince-cegcc --prefix=$WINCE_PATH --enable-fixed
>> --without-lapack
>>
>> --build should be useless, I think
>>
>> hope it will work
>>
>> In a near future, Step 3 will be useless (I hope)
>>
>> Vincent
>>
>
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-10 Thread Eric Perera
thank you very much for your reply. I was able to build sphinxBase
with your guide lines.


On Thu, Jul 10, 2008 at 1:02 PM, Vincent Torri <[EMAIL PROTECTED]> wrote:

>
>
> On Thu, 10 Jul 2008, Eric Perera wrote:
>
>  Thanks a lot for your quick reply.
>>
>> I tried it again with following command, unfortunately it gives another
>> error.
>>
>> ./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
>> --without-lapack --target=arm-wince-pe --build=i686-linux
>> --prefix=/home/eric/WinCE/sphinxBase
>>
>> configure: WARNING: you should use --build, --host, --target
>> configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... no
>> checking for mawk... mawk
>> checking whether make sets $(MAKE)... yes
>> checking for /opt/cegcc/bin/arm-cegcc-gcc-strip... no
>> checking for strip... strip
>> configure: WARNING: In the future, Autoconf will not detect cross-tools
>> whose name does not start with the host triplet.  If you think this
>> configuration is useful to you, please write to [EMAIL PROTECTED]
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... Invalid configuration
>> `/opt/cegcc/bin/arm-cegcc-gcc': machine `/opt/cegcc/bin/arm-cegcc' not
>> recognized
>> configure: error: /bin/bash ./config.sub /opt/cegcc/bin/arm-cegcc-gcc
>> failed
>>
>> pls give some help me to resolve this.
>>
>
> Step 1: try to update autoconf and automake to the latest versions
> (autoconf 2.62 and automake 1.10.1). They work for me. I didn't try with
> other versions.
>
> Step 2: use a specific configuration of the env vars when cross compiling.
> For example, I use:
>
> export CEGCC_PATH=$HOME/local/opt/cegcc
> export WINCE_PATH=$HOME/WinCE/sphinxBase
>
> export PATH=$CEGCC_PATH/bin:$PATH
> export CPPFLAGS="-I$WINCE_PATH/include"
> export LDFLAGS="-L$WINCE_PATH/lib -L$CEGCC_PATH/lib"
> export LD_LIBRARY_PATH="$WINCE_PATH/bin"
> export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig"
>
> update CEGCC_PATH (where cegcc is installed) and WINCE_PATH (where you
> install your windows ce progs / libs) to what you want
>
> Step 3:
>
>* Search in config.sub (in the top level source dir of the prog you want
> to port) the word 'mingw'. You will found:
>
>mingw32)
>basic_machine=i386-pc
>os=-mingw32
>;;
>
> Add after the ';;' the following code:
>
>cegcc)
>basic_machine=arm-unknown
>os=-cegcc
>;;
>
>* Search in the same file '-pe'. You will find a line like this one:
>
>  | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
>
> Add '-cegcc* |' to have something like:
>
>  | -cygwin* | -cegcc* | -pe* | -psos* | -moss* | -proelf* |
> -rtems* \
>
>
> Step 4: compile like that:
>
> actually, I was wrong. --host is correct. I use it :p Sorry
>
> ./configure --host=arm-wince-cegcc --prefix=$WINCE_PATH --enable-fixed
> --without-lapack
>
> --build should be useless, I think
>
> hope it will work
>
> In a near future, Step 3 will be useless (I hope)
>
> Vincent
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-10 Thread Sébastien Lorquet
Hi,

I think your problem is defining CC just after configure. If I were you, I
would use:

(define PATH to include your compiler's location)

./configure --enable-fixed --without-lapack --target=arm-wince-pe
--build=i686-linux --prefix=/home/eric/WinCE/sphinxBase

You'll see what compiler is needed (it should automatically be
arm-wince-pe-gcc, etc)

The error given by your configure output shows that it messes up --target
and compiler path:
configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc

Not sure, the problem may be the space between CC= and slash in "CC=
/opt/cegcc/bin/arm-cegcc-gcc "

Hope this helps
Sebastien Lorquet
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-10 Thread Vincent Torri


On Thu, 10 Jul 2008, Eric Perera wrote:

> Thanks a lot for your quick reply.
>
> I tried it again with following command, unfortunately it gives another
> error.
>
> ./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
> --without-lapack --target=arm-wince-pe --build=i686-linux
> --prefix=/home/eric/WinCE/sphinxBase
>
> configure: WARNING: you should use --build, --host, --target
> configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
> checking for a BSD-compatible install... /usr/bin/install -c
> checking whether build environment is sane... yes
> checking for a thread-safe mkdir -p... /bin/mkdir -p
> checking for gawk... no
> checking for mawk... mawk
> checking whether make sets $(MAKE)... yes
> checking for /opt/cegcc/bin/arm-cegcc-gcc-strip... no
> checking for strip... strip
> configure: WARNING: In the future, Autoconf will not detect cross-tools
> whose name does not start with the host triplet.  If you think this
> configuration is useful to you, please write to [EMAIL PROTECTED]
> checking build system type... i686-pc-linux-gnu
> checking host system type... Invalid configuration
> `/opt/cegcc/bin/arm-cegcc-gcc': machine `/opt/cegcc/bin/arm-cegcc' not
> recognized
> configure: error: /bin/bash ./config.sub /opt/cegcc/bin/arm-cegcc-gcc failed
>
> pls give some help me to resolve this.

Step 1: try to update autoconf and automake to the latest versions 
(autoconf 2.62 and automake 1.10.1). They work for me. I didn't try with 
other versions.

Step 2: use a specific configuration of the env vars when cross compiling. 
For example, I use:

export CEGCC_PATH=$HOME/local/opt/cegcc
export WINCE_PATH=$HOME/WinCE/sphinxBase

export PATH=$CEGCC_PATH/bin:$PATH
export CPPFLAGS="-I$WINCE_PATH/include"
export LDFLAGS="-L$WINCE_PATH/lib -L$CEGCC_PATH/lib"
export LD_LIBRARY_PATH="$WINCE_PATH/bin"
export PKG_CONFIG_PATH="$WINCE_PATH/lib/pkgconfig"

update CEGCC_PATH (where cegcc is installed) and WINCE_PATH (where you 
install your windows ce progs / libs) to what you want

Step 3:

 * Search in config.sub (in the top level source dir of the prog you 
want to port) the word 'mingw'. You will found:

mingw32)
basic_machine=i386-pc
os=-mingw32
;;

Add after the ';;' the following code:

cegcc)
basic_machine=arm-unknown
os=-cegcc
;;

 * Search in the same file '-pe'. You will find a line like this one:

  | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \

Add '-cegcc* |' to have something like:

  | -cygwin* | -cegcc* | -pe* | -psos* | -moss* | -proelf* | 
-rtems* \


Step 4: compile like that:

actually, I was wrong. --host is correct. I use it :p Sorry

./configure --host=arm-wince-cegcc --prefix=$WINCE_PATH --enable-fixed 
--without-lapack

--build should be useless, I think

hope it will work

In a near future, Step 3 will be useless (I hope)

Vincent

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-10 Thread Eric Perera
Thanks a lot for your quick reply.

I tried it again with following command, unfortunately it gives another
error.

 ./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
--without-lapack --target=arm-wince-pe --build=i686-linux
--prefix=/home/eric/WinCE/sphinxBase

configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for /opt/cegcc/bin/arm-cegcc-gcc-strip... no
checking for strip... strip
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to [EMAIL PROTECTED]
checking build system type... i686-pc-linux-gnu
checking host system type... Invalid configuration
`/opt/cegcc/bin/arm-cegcc-gcc': machine `/opt/cegcc/bin/arm-cegcc' not
recognized
configure: error: /bin/bash ./config.sub /opt/cegcc/bin/arm-cegcc-gcc failed

pls give some help me to resolve this.


On Thu, Jul 10, 2008 at 12:17 PM, Vincent Torri <[EMAIL PROTECTED]> wrote:

>
>
> On Thu, 10 Jul 2008, Eric Perera wrote:
>
>  I want to run configure script With CeGCC and tried it with command below,
>>
>> ./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
>> --without-lapack --host=arm-wince-pe --build=i686-linux
>> --prefix=/home/eric/WinCE/sphinxBase
>>
>
> use --target instead of --host
>
>  ./configure CC=
>> /opt/cegcc/bin/arm-cegcc-c++ --enable-fixed --without-lapack
>> --host=arm-wince-pe --build=i686-linux
>> --prefix=/home/eric/WinCE/sphinxBase
>>
>
> same remark. CXX instead of CC. CC is the var for the C compiler, CXX for
> the C++ compiler
>
> I think that the problem is the --host
>
> Vincent
>
>  finally I got the error listed below and hope someone can help me to run a
>> configure script with CeGCC.
>>
>>
>> configure: WARNING: you should use --build, --host, --target
>> configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
>> configure: WARNING: you should use --build, --host, --target
>> configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-c++
>> checking for a BSD-compatible install... /usr/bin/install -c
>> checking whether build environment is sane... yes
>> checking for a thread-safe mkdir -p... /bin/mkdir -p
>> checking for gawk... no
>> checking for mawk... mawk
>> checking whether make sets $(MAKE)... yes
>> checking for arm-wince-pe-strip... no
>> checking for strip... strip
>> configure: WARNING: In the future, Autoconf will not detect cross-tools
>> whose name does not start with the host triplet.  If you think this
>> configuration is useful to you, please write to [EMAIL PROTECTED]
>> checking build system type... i686-pc-linux-gnu
>> checking host system type... arm-wince-pe
>> checking for style of include used by make... GNU
>> checking for arm-wince-pe-gcc... no
>> checking for gcc... gcc
>> checking for C compiler default output file name...
>> configure: error: C compiler cannot create executables
>> See `config.log' for more details.
>>
>>
>> regards
>> Eric
>>
>> --
>> Ce message a été vérifié par MailScanner
>> pour des virus ou des polluriels et rien de
>> suspect n'a été trouvé.
>> Message délivré par le serveur de messagerie de l'Université d'Evry.
>>
>>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel


Re: [Cegcc-devel] Cross compiling pocketSphinx into Windows CE

2008-07-09 Thread Vincent Torri



On Thu, 10 Jul 2008, Eric Perera wrote:


I want to run configure script With CeGCC and tried it with command below,

./configure CC= /opt/cegcc/bin/arm-cegcc-gcc --enable-fixed
--without-lapack --host=arm-wince-pe --build=i686-linux
--prefix=/home/eric/WinCE/sphinxBase


use --target instead of --host


./configure CC=
/opt/cegcc/bin/arm-cegcc-c++ --enable-fixed --without-lapack
--host=arm-wince-pe --build=i686-linux --prefix=/home/eric/WinCE/sphinxBase


same remark. CXX instead of CC. CC is the var for the C compiler, CXX for 
the C++ compiler


I think that the problem is the --host

Vincent


finally I got the error listed below and hope someone can help me to run a
configure script with CeGCC.


configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-gcc
configure: WARNING: you should use --build, --host, --target
configure: WARNING: invalid host type: /opt/cegcc/bin/arm-cegcc-c++
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for arm-wince-pe-strip... no
checking for strip... strip
configure: WARNING: In the future, Autoconf will not detect cross-tools
whose name does not start with the host triplet.  If you think this
configuration is useful to you, please write to [EMAIL PROTECTED]
checking build system type... i686-pc-linux-gnu
checking host system type... arm-wince-pe
checking for style of include used by make... GNU
checking for arm-wince-pe-gcc... no
checking for gcc... gcc
checking for C compiler default output file name...
configure: error: C compiler cannot create executables
See `config.log' for more details.


regards
Eric

--
Ce message a été vérifié par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
Message délivré par le serveur de messagerie de l'Université d'Evry.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08___
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel