You are right! it is related DOS/UNIX file format!
Get suggestion from Xiaofan and Mike,I just try build
urjtag in cygwin, but I get same result with mingw.
so I check my urjtag code and find that autogen.sh/configure.ac
files are DOS-format. because I use TortoiseSVN software to get
the svn code, that is reason why these files are DOS format.
so I just delete urjtag and checkout the new svn in cygwin environment.
then I can pass the last error both in mingw and cygwin.
but still another problem, continue debugging...
Best Regards
----- 原文 ----- 发件人: Wolfgang Denk 主 题: Re: [UrJTAG-dev] Build problem in mingw时
间: 2010年6月16日 14:58:06抄 送: Snowel Xue, urjtag-development,
Dear Xiaofan Chen,In message
<aanlktinimebb0xurrygav1whlkb9xpjayxetbu3st...@mail.gmail.com> you wrote:
> On Wed, Jun 16, 2010 at 9:44 AM, Snowel Xue <snowwei...@sohu.com>
wrote:> > I did grep before, but can't find exactly E_BUS_ string,>
> but it should come from ENABLE_BUS_xxx.> >> > If you look into
the different between cygwin and mingw.> > you will find mingw have some
excited features, the big one is> > the result build out just can run in
windows, not depend on any> > third-party DLL or environment.> >
You can use Cygwin to build MinGW binary. Just use> the Cygwin GCC with
"-mno-cygwin". I will try to do that> myself.I'm not sure if this applies
here, too, but anyway:It may make sense to check the m4 input files for
continuation lines(you know: marked by a backslash at the end of the line).
Bydefinition, a continuation line is defined by a backshlash character'\\'
immediately followed by a newline character '\n'. In the strictsense this is
impossible to implement in any DOS-based file systemswhich use a sequence of
"\r\n" to mark the end of a line, and sometools are know to barf on this. I
would not be surprised if m4 was oneof the tools that implement a strict
interpretation of the standard.Best regards,Wolfgang Denk-- DENX Software
Engineering GmbH, MD: Wolfgang Denk & Detlev ZundelHRB 165235 Munich,
Office: Kirchenstr.5, D-82194 Groebenzell, GermanyPhone: (+49)-8142-66989-10
Fax: (+49)-8142-66989-80 Email: w...@denx.de"Why waste negative entropy on
comments, when you could use the sameentropy to create bugs instead?" - Steve
Elias
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
UrJTAG-development mailing list
UrJTAG-development@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/urjtag-development