How do I build calc.bin from source?
I am sure this question pops up every time, but I still cannot find reasonable answer.
Here is what I've done so far:
I used wiki4hp link as a guide, but that seems to be dated and mentions files that are no longer in the tree.
I checked out source tree from SVN, installed Express 2010, MinGW, MSYS and managed to build gui and console emulators by hitting F7 on 'wp34s'.
It said that build failed, but updated "_d" executables. Here is last few lines in output.
10> wp34s.vcxproj -> C:\Users\nsg\calc\wp34s\windows\bin\wp34s_d.exe
9> wp34sgui.vcxproj -> C:\Users\nsg\calc\wp34s\windows\bin\wp34sgui_d.exe
9> The system cannot find the path specified.
9>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: The command "copy ..\..\..\doc\Manual_wp_34s_2_2.pdf C:\Users\nsg\calc\wp34s\windows\bin\wp34s_Manual.pdf
9>C:\Program Files\MSBuild\Microsoft.Cpp\v4.0\Microsoft.CppCommon.targets(113,5): error MSB3073: :VCEnd" exited with code 1.
========== Build: 3 succeeded, 3 failed, 6 up-to-date, 4 skipped ==========
Then I looked for a way to build a calc.bin. I downloaded and installed yagarto-20121222 I even found the magic line
Quote:
make REALBUILD=1 all
But I am still missing some important configuration pieces. It looks like mingw does not know how to find yagarto or something.
Or there is something else I am missing?
cd windows32_realbuild \
&& ./compile_consts.exe "../" "../windows32_realbuild/obj/" \
&& mingw32-make "CFLAGS=-mthumb -mcpu=arm7tdmi -Os -fira-region=
one -Wall -Werror -g -fno-common -fno-exceptions -DREALBUILD -Dat91sam7l128 -Ia
tmel -DNO_BACKUP_INIT -DNO_RAM_COPY -I../.." -j2 -C consts
mingw32-make[1]: Entering directory `c:/Users/nsg/calc/wp34s/windows32_realbuild
/consts'
process_begin: CreateProcess(NULL, arm-none-eabi-gcc -mthumb -mcpu=arm7tdmi -Os
-fira-region=one -Wall -Werror -g -fno-common -fno-exceptions -DREALBUILD -Dat91
sam7l128 -Iatmel -DNO_BACKUP_INIT -DNO_RAM_COPY -I../.. -c -o const_NaN.o const_
NaN.c, ...) failed.
process_begin: CreateProcess(NULL, arm-none-eabi-gcc -mthumb -mcpu=arm7tdmi -Os
-fira-region=one -Wall -Werror -g -fno-common -fno-exceptions -DREALBUILD -Dat91
sam7l128 -Iatmel -DNO_BACKUP_INIT -DNO_RAM_COPY -I../.. -c -o const_inf.o const_
inf.c, ...) failed.
make (e=2): The system cannot find the file specified.
mingw32-make[1]: *** [const_NaN.o] Error 2
mingw32-make[1]: *** Waiting for unfinished jobs....
make (e=2): The system cannot find the file specified.
mingw32-make[1]: *** [const_inf.o] Error 2
mingw32-make[1]: Leaving directory `c:/Users/nsg/calc/wp34s/windows32_realbuild/
consts'
make: *** [consts.h] Error 2