Hi Guys,
I try to build the latest sdcc using msvc2010 following the sdcc compiler
user guide,
but failed, here is the output from msvc2010:
3>Build started 2014-11-20 13:27:14.
1>CustomBuild:
1> Generating: asxxxx_config.h
3>InitializeBuildStatus:
3> Creating "Debug\sdcpp.unsuccessfulbuild" because "AlwaysCreate" was
specified.
2>CustomBuild:
2> Generating Parser: SDCCy.c
4>Build started 2014-11-20 13:27:15.
1> Generating: version.h
4>InitializeBuildStatus:
4> Creating "Debug\packihx.unsuccessfulbuild" because "AlwaysCreate" was
specified.
1> Generating: sdcc_vc.h
2> sdcc.y:182: type clash (`' `sym') on default action
3>CustomBuild:
3> Generating: auto-host.h
2>C:\Program
Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(151,5): error
MSB6006: "cmd.exe" exited with code 1.
2>
1>FinalizeBuildStatus:
3> Generating: options.c and options.h
1> Deleting file "Debug\config.unsuccessfulbuild".
1> Touching "Debug\config.lastbuildstate".
1>
1>Build succeeded.
1>
1>Time Elapsed 00:00:00.83
2>Build FAILED.
2>
2>Time Elapsed 00:00:00.50
5>------ Build started: Project: stm8, Configuration: Debug Win32 ------
6>------ Build started: Project: ds390, Configuration: Debug Win32 ------
5>Build started 2014-11-20 13:27:15.
5>InitializeBuildStatus:
5> Touching "Debug\stm8.unsuccessfulbuild".
6>Build started 2014-11-20 13:27:15.
6>InitializeBuildStatus:
6> Touching "Debug\ds390.unsuccessfulbuild".
6>CustomBuild:
6> Generating Peephole Rule: peeph.rul
5>CustomBuild:
5> Generating Peephole Rule: peeph.rul
4>ClCompile:
4> packihx.c
6>ClCompile:
6> ralloc.c
3>ClCompile:
3> dirent.c
6>e:\projects\sdcc\sdcc\src\common.h(44): fatal error C1083: Cannot open
include file: 'SDCCy.h': No such file or directory
6> main.c
6>e:\projects\sdcc\sdcc\src\common.h(44): fatal error C1083: Cannot open
include file: 'SDCCy.h': No such file or directory
6> gen.c
5>ClCompile:
5> ralloc.c
5>e:\projects\sdcc\sdcc\src\common.h(44): fatal error C1083: Cannot open
include file: 'SDCCy.h': No such file or directory
5> peep.c
5>e:\projects\sdcc\sdcc\src\common.h(44): fatal error C1083: Cannot open
include file: 'SDCCy.h': No such file or directory
5> main.c
6>e:\projects\sdcc\sdcc\src\common.h(44): fatal error C1083: Cannot open
include file: 'SDCCy.h': No such file or directory
6> Generating Code...
6>
6>Build FAILED.
I follow the guide strictly and carefully, but always fail...
What's wrong with me?
Thanks,
Best regards
curliph
------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=157005751&iu=/4140/ostg.clktrk
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user