Mohammad Khashashneh wrote: > Hello Anton > > Actually I have Visual Studio and wouldn't mind to build using it. but I > also have a problem there. After running start-msvc71.bat (from the > mozilla-build directory) and try to run configure from the c-sdk directory, > I get an error saying: > checking whether the c++ compiler (c++ ) works... no > configure: error: installation or configuration problem: c++ compiler > cannot > create executables. > > thats why I tried to configure and build directly from cygwin and GCC.
I use a batch file like the following to set up my environment. I create a desktop link to this batch file, which creates a window running the cygwin shell. I have a $HOME/bin directory where I put nsinstall.exe, and I make sure $HOME/bin is the last thing in $PATH (in my $HOME/.bash_profile). Then I'm able to follow the build instructions here: http://wiki.mozilla.org/LDAP_C_SDK#Building_using_autoconf_.28preferred_method.29 @echo off C: chdir C:\cygwin\bin call "c:\Program Files\Microsoft Platform SDK for Windows Server 2003 R2\SetEnv.Cmd" rem call "C:\Program Files\Microsoft Visual Studio 8\VC\bin\vcvars32.bat" /SRV32 /RETAIL set INCLUDE=%INCLUDE%;%MSSdk%\Include\mfc;%MSSdk%\Include\atl bash --login -i > > ----- Original Message ----- From: "Anton Bobrov" <[EMAIL PROTECTED]> > To: "Mohammad Khashashneh" <[EMAIL PROTECTED]> > Cc: <[email protected]> > Sent: Tuesday, March 20, 2007 5:28 PM > Subject: Re: Building Mozilla LDAP C SDK v6.0.3 on Windows trouble! > > >> >> Mohammad Khashashneh wrote: >> >>> - I tried to follow the "Windows build prerequisites" and "Windows build >>> prerequisites using cygwin" but they describe how to build using visual >>> studio cl and have nothing to do with gcc! >> >> thats right, Visual Studio is official toolchain to build with on Doze >> and i personally never use GNU toolchain there. have a look at this >> page here http://gemal.dk/mozilla/build.html maybe it will help. >> _______________________________________________ >> dev-tech-ldap mailing list >> [email protected] >> https://lists.mozilla.org/listinfo/dev-tech-ldap >> > > _______________________________________________ dev-tech-ldap mailing list [email protected] https://lists.mozilla.org/listinfo/dev-tech-ldap
