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?
 

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
I guess I'm the only one interested in such things eh?
 

NetRyder

Tech Junkie
Joined
19 Apr 2002
Messages
13,256
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.
 

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
Trying it right now ... so far I found that need need the "platform sdk" that wasn't listed on mozilla site ;)
 

X-Istence

*
Political Access
Joined
5 Dec 2001
Messages
6,498
Hrm,

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

NetRyder

Tech Junkie
Joined
19 Apr 2002
Messages
13,256
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
 

ignipotentis

OSNN Addict
Joined
25 Mar 2004
Messages
127
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.
 

X-Istence

*
Political Access
Joined
5 Dec 2001
Messages
6,498
or just download dev-c++, it includes GCC.

and isnt cygwin just Linux on Windows? Or are all the compiled programs Windows compatible?
 

X-Istence

*
Political Access
Joined
5 Dec 2001
Messages
6,498
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.
 

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
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 :)
 

NetRyder

Tech Junkie
Joined
19 Apr 2002
Messages
13,256
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
 

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
Oh and for the record "Visual C++ Toolkit 2003" is FREE ;)
 

X-Istence

*
Political Access
Joined
5 Dec 2001
Messages
6,498
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.
 

NetRyder

Tech Junkie
Joined
19 Apr 2002
Messages
13,256
@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.
 

Xie

- geek -
Joined
29 Sep 2003
Messages
5,275
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

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.
Terrahertz wrote on Electronic Punk's profile.
Yo fellas!
Electronic Punk wrote on Sazar's profile.
Where are you buddy?

Forum statistics

Threads
62,005
Messages
673,461
Members
5,599
Latest member
Larry Chris