Closed
Bug 62773
Opened 23 years ago
Closed 17 years ago
Make Mozilla buildable with Borland free compiler
Categories
(SeaMonkey :: Build Config, enhancement, P4)
Tracking
(Not tracked)
RESOLVED
WONTFIX
Future
People
(Reporter: hjtoi-bugzilla, Unassigned)
References
Details
(Keywords: helpwanted)
Attachments
(2 files)
4.31 KB,
patch
|
Details | Diff | Splinter Review | |
26.25 KB,
patch
|
Details | Diff | Splinter Review |
This RFE bug is here to help interested people in gathering all the knowledge in one place so that one day we could build Mozilla on Windows with free tools. You can download the Free Borland C++ Builder 5.5 Compiler (command line tool) and other useful tools from here (requires free registration): http://www.borland.com/bcppbuilder/freecompiler/ Microsoft also offers its nmake 1.5 for free, and you can download it from here: http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe Feel free to list other useful tools & tips, and be welcome to attach patches.
Reporter | ||
Comment 2•23 years ago
|
||
Borland also offers the TurboDebugger for free (same place as the compiler). At this time there are 2 patches for the compiler: http://www.borland.com/devsupport/bcppbuilder/patches/ There is some additional documentation about the compiler switches (even some that are not documented at Borland docs) at: http://www.sirma.bg/knowledgebase They also show how to use the 5.5 compiler with older IDE if you happen to have that. There are some free IDEs available but at the moment I do not know anything about them.
these patches don't work perfectly and I probably need to describe my build env in order for people to even try to use them. These patches are not for review and should only be used as a starting point. nsprpub still needs a bit of work [convincing bcc to compile .c files as C files] -3 * 80386 Instructions -4 80486 Instructions -5 Pentium Instructions you'll need to build w/ at least -4 [probably -5]
Comment 6•23 years ago
|
||
CC Add It would be really nice!
http://home.clara.net/paulyg/compfree.htm might be a useful reference.
Comment 9•23 years ago
|
||
I can't seem to register... "Internal Server Error" or some such. I'll try applying the patches and seeing if things break for the defacto current standard development toolset. CC'ing larry for the nspr changes.
Comment 10•23 years ago
|
||
there's one more thing that i need to do for nsprpub which has to do w/ _ prefixing, so the nsprpub is not actually reviewable. I think I came across the solution recently but I don't remember it offhand.
Reporter | ||
Comment 11•23 years ago
|
||
leaf (and others): bug 59195 is about compiling JS with Borland & MW CodeWarrior on Windows. Someone has actually made this, although the makefiles were done with the Borland IDE (which is not free). Does JS use NSPR? If so, we should look at those files as well. There are links to zip packages that compile with bcc in that bug. There is also good discussion what is different in regard to to C/C++ language in that compiler (for example, the binding order of some operators is different).
Comment 12•23 years ago
|
||
What about gcc and gmake? AFAIK, they work on Windows, too.
Comment 13•23 years ago
|
||
From http://www.mozilla.org/build/win32.html#ss2.1 : "Microsoft Visual C++ version 5.0 or later (make sure you have set up the compiler using the vcvars32.bat script that came with it)" This is why this bug was filed in the first place.
Comment 14•23 years ago
|
||
gcc and gmake do work, running on a layer that makes the builds hideously slow. If we can make it work with another free compiler that isn't so slow, we *might* have a case for asking all the windows programmers to give a new development environment a shot.
Updated•23 years ago
|
Priority: P3 → P4
Target Milestone: --- → Future
Comment 15•23 years ago
|
||
I think building Mozilla in Cygwin (with -mno-cygwin per your comment, leaf) would be very, very cool. I had to wait for the better part of a week for a copy of VC++ so I could just build the lizard.
Updated•23 years ago
|
Keywords: helpwanted
Comment 16•22 years ago
|
||
Does this depend on bug 59195 ?
Updated•22 years ago
|
Status: NEW → ASSIGNED
Comment 17•22 years ago
|
||
microsoft doesn't provide a standalone nmake for download anymore (i knew it wasn't going to last). So, we have to go on the assumption that we are stuck with either insinuating a windows build into the unix build system, or that we have to retool all the makefile.win files to be compatible with both nmake and borland's make (something i find highly unlikely).
Comment 18•22 years ago
|
||
:-( was the license on microsoft's nmake good enough for redistribution? i wonder if a make from openwatcom.org or digitalmars.com would be usable?
Reporter | ||
Comment 19•22 years ago
|
||
Borland make has nmake compatibility mode, but it does not work very well. I would think it would be nearly trivial to change it to support some of the nmake things we have in Mozilla tree. Now that nmake is not publicly available, Borland might be more inclined to make the changes.
Comment 20•22 years ago
|
||
The download link for Nmake is still working for me
Comment 21•22 years ago
|
||
fwiw the nmake I think we're talking about is http://download.microsoft.com/download/vc15/Patch/1.52/W95/EN-US/Nmake15.exe from mskb: Q132084 i suppose i should run depends.exe to find out what it requires...
Comment 22•22 years ago
|
||
bug cleanup - all leaf's bugzilla bugs should be assigned to leaf@mozilla.org (not leaf@netscape.com), now and any future bugs created. this should be a one time change, apologies for the spam.
Assignee: leaf → leaf
Status: ASSIGNED → NEW
Updated•19 years ago
|
Assignee: leaf → cmp
Updated•19 years ago
|
Product: Browser → Seamonkey
Comment 23•18 years ago
|
||
Mass reassign of open bugs for chase@mozilla.org to build@mozilla-org.bugs.
Assignee: chase → build
Comment 24•17 years ago
|
||
Resolving WONTFIX, due to no real activity since 2001. Re-open (and assign to either yourself or nobody@mozilla.org) if you disagree.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•