|
Rockbox mail archiveSubject: Re: creating voice filesRe: creating voice files
From: Magnus Holmgren <magnushol_at_gmail.com>
Date: Sun, 19 Feb 2012 13:42:28 +0100 On 2012-02-19 11:02, claudio capriati wrote: > Do you use cygwin to create voice files? > Under cygwin i know to compile rockbox successfully, but when i try to > compile voice file i receive error pasted below. Somebody can help me? > What should i do Step by step? > I think that the matter is in the gcc compiler, but i don't know to > use mingw-targeted cross-compiler. Thanks > > > $ make voice > make[1]: Entering directory `/home/claus/rockbox/tools' > > make -C rbspeex > > make[2]: Entering directory `/home/claus/rockbox/tools/rbspeex' > > CC > > gcc: The -mno-cygwin flag has been removed; use a mingw-targeted > cross-compiler. You have a too new version of gcc, where the -mno-cygwin flag is no longer supported. Installing the Cygwin package mingw-gcc-core should work, but it requires some makefile changes as well. I tried updating the rbspeex makefile, but it didn't work as expected. I changed the Cygwin check in tools/rbspeex/Makefile to this: ifeq ($(findstring CYGWIN,$(shell uname)),CYGWIN) ifeq ($(shell which i686-pc-mingw32-gcc),/usr/bin/i686-pc-mingw32-gcc) CC := /usr/bin/i686-pc-mingw32-gcc else CFLAGS+=-mno-cygwin endif endif But that didn't have the expected effect. It did compile, but it didn't use the CC I had specified, but rather "/usr/bin/gcc" (not building a standalone executable). The "ifeq" seems correct, because I can set CROSS there, and have it used as expected (this doesn't help though, CC being set as it is...). Perhaps someone more familiar with GNU make can help (both getting the CC change to work, and detect mingw-gcc in a better way)? -- Magnus ------------------------------------------------------------------- Unsubscribe: http://cool.haxx.se/cgi-bin/mailman/listinfo/rockbox FAQ: http://www.rockbox.org/twiki/bin/view/Main/GeneralFAQ Etiquette: http://www.rockbox.org/mail/etiquette.htmlReceived on 2012-02-19 Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |