Mozilla compile using Visual C++

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
Ok so being the geek that I am I want to build my own version of the latest Mozilla (seamonkey). So I'm looking over the directions on mozilla.org and see that for best results it suggest using "Microsoft Visual C++". Alright so I hope on over to Microsofts Visual C++ site and have a look around. On the site I see a download for the "Visual C++ Toolkit 2003".

Ok so my question to anyone in the know is, would this allow me to compile mozilla following the directions on there site?
 
I guess I'm the only one interested in such things eh?
 
I know it's possible using the commercial version of Visual Studio or Visual C++.

I think it might work with the free toolkit as well, considering the fact that the toolkit includes the same compiler and the linker that's used by Visual Studio .NET
The Mozilla site mentions that you basically need just the compiler and linker (not the IDE) to build from source, so as I said...it should work, though I'm not sure.

I was interested in doing this a while ago with Firebird, but I decided it wasn't really worth it. When you have a fast connection and a fast machine, the performance boost you get by creating your own optimized build is very small, if at all. Besides, you can find optimized builds for almost any processor on the MozillaZine forums, so recompiling seems like re-inventing the wheel, in a sense.
But if you're doing it just to try something new, it's a different case. Give it a shot with the toolkit. There's not much you can lose by trying, I guess.
 
Trying it right now ... so far I found that need need the "platform sdk" that wasn't listed on mozilla site ;)
 
Hrm,

cd /usr/ports/www/firefox
make all install CFLAGS=-O3 -funroll-loops
 
X-Istence said:
Hrm,

cd /usr/ports/www/firefox
make all install CFLAGS=-O3 -funroll-loops

Umm...if he's using Visual, I'm assuming he's using Windows, no?
wink.gif
 
NetRyder said:
Umm...if he's using Visual, I'm assuming he's using Windows, no?
wink.gif

HAHAHAH ... yeah, no FreeBSD X!

If your compiling on windows, I'd recomend installing cygwin and getting the gcc compiler kit. It's much cheaper. Visual C++ is a full development suite. You already have the code, so all you need is the compiler.
 
or just download dev-c++, it includes GCC.

and isnt cygwin just Linux on Windows? Or are all the compiled programs Windows compatible?
 
NetRyder said:
Umm...if he's using Visual, I'm assuming he's using Windows, no?
wink.gif


Im just pointing out that its that easy if he would just run an OS that isnt as full of holes as Windows.
 
Yeah I know compile is so much easier on *nix then on windows. :( *nix is designed with the ability to compile your own programs (OS even) and windows is not thus all the trouble. Wish I could compile for my win box on my Linux box :)
 
X-Istence said:
Im just pointing out that its that easy if he would just run an OS that isnt as full of holes as Windows.

I get your point about it being easier to compile software on *nix, but how in the world do security holes come into the picture now?
Seems like it's the only thing *nix junkies can pick on nowadays.
rolleyes.gif
 
Oh and for the record "Visual C++ Toolkit 2003" is FREE ;)
 
NetRyder said:
I get your point about it being easier to compile software on *nix, but how in the world do security holes come into the picture now?
Seems like it's the only thing *nix junkies can pick on nowadays.
rolleyes.gif


Nah, i can come up with a lot more. but its my most favorite considering sasser and all those other worms that continually hit my router.

I can pick up on DLL hell, drive ****ups, big install sizes, large memory requirements and whatnot.
 
@Xie: Any progress?


X-Istence said:
Nah, i can come up with a lot more. but its my most favorite considering sasser and all those other worms that continually hit my router.

I can pick up on DLL hell, drive ****ups, big install sizes, large memory requirements and whatnot.

Yet none of them have anything to do with the original question.
 
NetRyder said:
@Xie: Any progress?
Well I havn't been home and its been like non-stop thunderstorms when I have been so no. :(
 

Members online

No members online now.

Latest profile posts

Also Hi EP and people. I found this place again while looking through a oooollllllldddd backup. I have filled over 10TB and was looking at my collection of antiques. Any bids on the 500Mhz Win 95 fix?
Any of the SP crew still out there?
Xie wrote on Electronic Punk's profile.
Impressed you have kept this alive this long EP! So many sites have come and gone. :(

Just did some crude math and I apparently joined almost 18yrs ago, how is that possible???
hello peeps... is been some time since i last came here.
Electronic Punk wrote on Sazar's profile.
Rest in peace my friend, been trying to find you and finally did in the worst way imaginable.

Forum statistics

Threads
62,015
Messages
673,494
Members
5,621
Latest member
naeemsafi
Back