Lev Serebryakov wrote: > Hello, cegcc-devel. > > 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? >
How is the ScummVM configure.[in|ac] script matching the target ? Like so ? case $xxxx in arm-wince-pe) ;; ... Like so ? case $xxxx in arm-wince-*) ;; ... Change it to this, and regenerate configure: case $xxxx in arm-wince-pe | arm*-*-mingw32ce*) ;; ... That will also match arm-wince-mingw32ce, armv5-mingw32ce (which gets expanded by config.sub to armv5-unknown-mingw32ce), etc. You may also need to apply the patch Danny just showed. Of course, if you don't need the cegcc bits, you can remove them. -- Pedro alves ------------------------------------------------------------------------- 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