harmony-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Tim Ellison <t.p.elli...@gmail.com>
Subject Re: [build] Re: build problem
Date Sun, 02 Mar 2008 18:55:15 GMT
lyon wrote:
> Tim Ellison 写道:
>> lyon wrote:
>>> -build-native:
>>> [echo] Making "" in
>>> C:\trunk\working_classlib\modules\portlib\src\main\native/common/windows
>>> [exec] cl -c -W3 -DCRTAPI1=_cdecl -DCRTAPI2=_cdecl -nologo -FIsehmap.h
>>> -D_X86_=1 -D_WIN95 -D_WIN32_WINDOWS=0x0400 -D_WIN32_IE=0x0500 -DWIN
>>> CURE_NO_DEPRECATE -D_CRT_SECURE_NO_WARNINGS -D_SCL_SECURE_NO_DEPRECATE
>>> -D_DLL -D_MT -D_WINSOCKAPI_ /IC:\trunk\working_classlib\deploy\include /
>>> .\shared\ -Fo..\shared\libglob.obj ..\shared\libglob.c
>>> [exec] libglob.c
>>> [exec] C:\trunk\working_classlib\deploy\include\hythread.h(107) : error
>>> C2146: syntax error : missing ')' before identifier 'millis'
>>>     
>> My OS is windows and my compiler is  ‘hy.javac.compiler’.
>>   
> When I build the harmony, it always says that :
> "
> The Eclipse compiler class for Ant could not be found. Please place the
> ECJ JAR in ANT_HOME/lib.
> The JAR can be downloaded directly from eclipse.org or copied from
> COMMON_RESOURCES/depends/jars/ecj_3.x folder after the fetch-depends
> target for JDKTOOLS has been run.
> Alternatively, you can switch to another compiler, e.g. specify
> '-Dhy.javac.compiler=modern' for classic javac.
> "
> So I run the ant with the option that is '-Dhy.javac.compiler=modern'.
> 
> ant -Dhy.javac.compiler=modern.


Sorry, I meant which native (C code) compiler?
The one that is reporting this error.

Thanks,
Tim

Mime
View raw message