[EMAIL PROTECTED] wrote:

It turns out that the file "configure" has \r\n line terminators. I
changed it and a few other script files.

I see.  I believe this is because you chose the "Unix files"
option during the installation of Cygwin.  You should have
chosen the "DOS files" option.  I don't know how to fix this,
so I suggest that you re-install Cygwin and make sure to choose
"DOS files".  (I don't remember the exact name of the question,
but the options are "Unix" vs. "DOS", so you can't miss it.  I
seem to remember "Unix" is the default.)

I am surprised that this "DOS" vs. "Unix" issue is not mentioned
in http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites.

It now gets passed that but
got an error for link

link -nologo  ......

link: invalid option -- n
Try `link --help' for more information.

$ which link
/usr/bin/link

$ echo $PATH
/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/Program
Files/Microsoft
SDK/bin:/cygdrive/c/Program Files/Microsoft Visual Studio
8/Common7/IDE:/cygdriv
e/c/Program Files/Microsoft Visual Studio 8/VC/BIN:/cygdrive/c/Program
Files/Mic
rosoft Visual Studio 8/Common7/Tools:/cygdrive/c/Program
Files/Microsoft Visual
Studio 8/SDK/v2.0/bin

is the path wrong?

Yes, this path is wrong.  You need to put the MSVC directories first.
The reason is that we need to use the "link" command from MSVC, so
the MSVC directories must be before /usr/bin.

The issue with link is mentioned in the comment of a sample batch file
for setting up your environment in
http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites.
I suggest that you study the sample batch file as a reference to set
up your build environment.  (The sample batch file may have errors or
be out of date, so always understand what it does first before using
it.)

Wan-Teh

_______________________________________________
dev-tech-crypto mailing list
dev-tech-crypto@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-tech-crypto

Reply via email to