|| at Jan 15, 2015 at 12:07 am
On Thursday, 15 January 2015 10:21:24 UTC+11, Tad Vizbaras wrote:
C:\>set | find "GO"
Not sure how is it helpful.
Your original report was:
# Building C bootstrap tool.
cmd/dist/build.c:21:16: unknown escape sequence '\g'
cmd/dist/build.c:22:22: unknown escape sequence '\g'
If you look at cmd/dist/build.c:21, you will see it it says:
char *goroot = GOROOT_FINAL;
where GOROOT_FINAL is set in make.bash
gcc -O2 -Wall -Werror -o cmd/dist/dist.exe -Icmd/dist %DEFGOROOT%
if "x%GOROOT_FINAL%"=="x" set GOROOT_FINAL=%GOROOT%
So the value of GOROOT_FINAL or GOROOT seems to be the problem. Or the CD
value (current directory). But you say that none of GO... variables are
set. So it is puzzling.
Perhaps you can change make.bat to print DEFGOROOT value before calling
gcc. It might give you some clues about what is happening.
There is what I did:
1. Installed Windows 7.
2. Executed this in command line:
hg clone -r go1.4 https://code.google.com/p/go
3. At this point I have C:\go folder with subfolders all the Go bat files
like make.bat and all.bat, etc.
Just tried that and make.bat runs without any problems here.
You received this message because you are subscribed to the Google Groups "golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to email@example.com.
For more options, visit https://groups.google.com/d/optout.