| View previous topic :: View next topic |
| Author |
Message |
matkeupon
Joined: 02 Jul 2005 Posts: 26
|
Posted: Wed Feb 21, 2007 6:26 pm Post subject: Problem with latest toolchain |
|
|
Hi,
I'm having problems using the latest toolchain from the svn. I just installed cygwin, and I never had problems using the toolchain before. Now it says it has some weird syntax errors...
: command not founde 4:
: command not founde 8:
: command not founde 11:
: command not founde 15:
: command not founde 22:
: command not founde 25:
: command not founde 29:
'/toolchain.sh: line 50: syntax error near unexpected token `in
'/toolchain.sh: line 50: ` case "$1" in
I did install cygwin correctly, so no cr lf converison problems should be involved...
Thanks in advance ! |
|
| Back to top |
|
 |
Bytrix
Joined: 14 Sep 2005 Posts: 72 Location: England
|
Posted: Wed Feb 21, 2007 7:45 pm Post subject: |
|
|
| command not found would indicate that you have not installed the development tools? I wouldn't know which you're missing though, using Linux myself. |
|
| Back to top |
|
 |
goebish
Joined: 14 Oct 2006 Posts: 29
|
Posted: Mon Feb 26, 2007 5:12 am Post subject: |
|
|
I've the same problem:
This looks like a cr/lf problem in ./toolchain.sh from svn.
If you open it with an hex editor you can see lines ending is $0D$0A, which is bad !
edit: I just updated from svn and the problem seem to be gone ... |
|
| Back to top |
|
 |
Cy-4AH
Joined: 31 Jan 2007 Posts: 44 Location: Belarus
|
Posted: Mon Feb 26, 2007 6:31 pm Post subject: |
|
|
| Stragne. Recently I installed toolchain from svn under Cygwin without problems. |
|
| Back to top |
|
 |
cory1492
Joined: 10 Dec 2004 Posts: 216
|
Posted: Tue Feb 27, 2007 4:23 am Post subject: |
|
|
| Cy-4AH wrote: | | Stragne. Recently I installed toolchain from svn under Cygwin without problems. |
Did you update cygwin itself though?
When I ran into this problem I just did this:
install ash using cygwin's setup exe
on the command line, instead of typing "./toolchain.sh" typed "ash ./toolchain.sh" and the parse errors went away like a bad dream that lasted 2 months. |
|
| Back to top |
|
 |
|