On Fri, 2007-12-28 at 20:47 +0300, Lev Serebryakov wrote: > Which target name is `only one true' now? > Scripts are defaulted to `arm-mingw32ce', but `configure' scripts of > other projects (my goal is ScummVM, so I need FLAC, Tremor and > mpeg2dec) doesn't understand this one, so I need to set CC/LD/CXX > manually to _this_ target name, and pass `arm-wince-pe' to these > `configure' scripts -- without setting variables, `.configure' can't > find proper tools, becasue prefix and build/target doesn't match. > It seems ugly :( > > Is here any better way?
Yes. You should replace parts of those sources by the versions we supply, or patch them in similar ways. The patch is simple : to make them understand that e.g. arm-mingw32ce is a valid platform. You'll need to patch or replace especially config.sub, maybe others too. The duff below is an example, don't bother with the timestamp issue : dannypc: {7} svn diff config.sub -r 100 Index: config.sub =================================================================== --- config.sub (revision 100) +++ config.sub (working copy) @@ -3,7 +3,7 @@ # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, # 2000, 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc. -timestamp='2005-12-06' +timestamp='2006-09-21' # This file is (in principle) common to ALL GNU software. # The presence of a machine in this file suggests that SOME GNU software @@ -678,6 +678,14 @@ basic_machine=ns32k-utek os=-sysv ;; + cegcc) + basic_machine=arm-unknown + os=-cegcc + ;; + mingw32ce) + basic_machine=arm-unknown + os=-mingw32ce + ;; mingw32) basic_machine=i386-pc os=-mingw32 @@ -1194,7 +1202,7 @@ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \ | -chorusos* | -chorusrdb* \ - | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \ + | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* | -cegcc* \ | -mingw32* | -linux-gnu* | -linux-uclibc* | -uxpv* | -beos* | -mpeix* | -udk* \ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \ Danny -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Cegcc-devel mailing list Cegcc-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/cegcc-devel