0

I am using Strawberry Perl and the command line. I need to know how to install packages like MinGW. I've downloaded MinGW from Github and I need to run the following command-

./build --mode=gcc-4.8.1 --arch=x86_64

But it doesn't work. Am I doing something wrong? Am I using the wrong command or should I be using something other than the command line?

The error is:

'.' is not recognized as an internal or external command, operable program or batch file.

I'm using Windows 10.

The code came from here.

Emma
  • 27,428
  • 11
  • 44
  • 69
Ravaal
  • 3,233
  • 6
  • 39
  • 66

1 Answers1

2

The bourne shell command you posted is equivalent to the following Windows command shell commands:

"./build" --mode=gcc-4.8.1 --arch=x86_64

.\build --mode=gcc-4.8.1 --arch=x86_64

build --mode=gcc-4.8.1 --arch=x86_64

Of course, that assumes build refers to a Windows binary or a file otherwise understood by Windows (e.g. a batch file). If not, you have other problems lying ahead.

ikegami
  • 367,544
  • 15
  • 269
  • 518