Closed Bug 324004 Opened 19 years ago Closed 19 years ago

unable to compile firefox1.5 source on cygwin

Categories

(Firefox Build System :: General, defect)

x86
Other
defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID

People

(Reporter: infyquest, Unassigned)

Details

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 unable to compile firefox1.5 source on cygwin vijaykiran@spice87 /cygdrive/c/tmp/mozilla $ ./configure loading cache ./config.cache checking host system type... i686-pc-cygwin checking target system type... i686-pc-cygwin checking build system type... i686-pc-cygwin checking for gawk... gawk checking for nsinstall... no checking for gcc... cl checking whether the C compiler (cl ) works... no configure: error: installation or configuration problem: C compiler cannot creat e executables. Reproducible: Always Steps to Reproduce: 1. install cygwin on any winxp box and download the firefox source in cygwin 2. unzip the firefox-1.5-source.tar.bz2 in cygwin 3. do ./configure Actual Results: ./configure fails Expected Results: the configure should be successfull and should be able to compile on cygwin I am using Cygwin on win xp sp1, and cygwin can be got from http://www.cygwin.com
Did you follow the build requirements? What compiler are you trying to use? http://developer.mozilla.org/en/docs/Windows_Build_Prerequisites
If you open a command prompt, does it work if you try tu run "cl.exe" ?
Hi, I am using gcc 3.4.4 here is the output of gcc -V on cygwin Reading specs from /bin/../lib/gcc/i686-pc-cygwin/3.4.4/specs Configured with: /gcc/gcc-3.4.4/gcc-3.4.4-1/configure --verbose --prefix=/usr -- exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib --libexecdir=/usr/lib --man dir=/usr/share/man --infodir=/usr/share/info --enable-languages=c,ada,c++,d,f77, java,objc --enable-nls --without-included-gettext --enable-version-specific-runt ime-libs --without-x --enable-libgcj --disable-java-awt --with-system-zlib --ena ble-interpreter --disable-libgcj-debug --enable-threads=posix --enable-java-gc=b oehm --disable-win32-registry --enable-sjlj-exceptions --enable-hash-synchroniza tion --enable-libstdcxx-debug : (reconfigured) Thread model: posix gcc version 3.4.4 (cygming special) (gdc 0.12, using dmd 0.125) There is no cl.exe in my PATH I am using Unix Style line endings
We don't support compiling with cygwin gcc. The primary compiler on windows is MSVC, and we also build with mingw gcc. To build with mingw you must explicitly set CC and CXX, as described on devmo: http://developer.mozilla.org/en/docs/Compiling_Mozilla_With_Mingw
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → INVALID
v
Status: RESOLVED → VERIFIED
Component: Build Config → General
Product: Firefox → Firefox Build System
You need to log in before you can comment on or make changes to this bug.