Mozilla compile using Visual C++

Xie

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

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?

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?


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,274
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.
 

Xie

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


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,274
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

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?
Perris Calderon wrote on Electronic Punk's profile.
Hey EP! All good with me, applying for Microsoft MVP right now, should have done this a while ago.

Notifications don't work, I only found your response by coming back to hunt up some threads, if you want, give me your email address so we can keep in touch easier!
Perris Calderon wrote on Electronic Punk's profile.
EP, glad to see you come back and tidy up...did want to ask a one day favor, I want to enhance my resume , was hoping you could make me administrator for a day, if so, take me right off since I won't be here to do anything, and don't know the slightest about the board, but it would be nice putting "served administrator osnn", if can do, THANKS

Been running around Quora lately, luv it there!

Forum statistics

Threads
61,997
Messages
673,411
Members
5,589
Latest member
glen