Free Visual C++, looking good, we may see alot builders soon

Discussion about official Mozilla Firefox builds
mitodna
Posts: 54
Joined: September 10th, 2003, 6:01 pm

Free Visual C++, looking good, we may see alot builders soon

Post by mitodna »

http://msdn.microsoft.com/visualc/vctoolkit2003/

Are there any restrictions on how I use the Visual C++ Toolkit?
In general, no. You may use the Toolkit to build C++ -based applications, and you may redistribute those applications. Please read the End User License Agreement (EULA), included with the Toolkit, for complete details.

i think it is posible to redistribute too
User avatar
Fru T Bunn
Posts: 31
Joined: March 19th, 2004, 5:17 pm
Location: UK
Contact:

Post by Fru T Bunn »

Wow! My Cygwin/MinGW have been failing for about 2 weeks now but my VS.net builds at work have been fine so this is great for me as I can't afford VS.net.

Hats off to MS (no doubt someone will have something to say about this).
User avatar
BlueFyre
Posts: 1985
Joined: February 11th, 2004, 4:33 pm

Post by BlueFyre »

That's cool :)
But, I think it's just something they're releaseing because of their upcomming Microsoft Visual Studio 2005 (they dropped the .net part)

Also... ADUK It's Athlon not Athalon ;)
If you notice this notice you may notice that this notice is not worth noticing.
lordmedikit
Posts: 447
Joined: August 1st, 2003, 9:18 am

Post by lordmedikit »

Does this version support optimisations?
Are there any beginners guides to using this to compile Firefox?
Isn't it ironic that people will be using a free MS product to compile a competing open source browser with it :)?
User avatar
Hooded One
Posts: 1591
Joined: February 5th, 2003, 11:42 am
Location: San Francisco, CA
Contact:

Post by Hooded One »

lordmedikit wrote:Does this version support optimisations?


"Microsoft C/C++ Optimizing Compiler and Linker. These are the same compiler and linker that ship with Visual Studio .NET 2003 Professional!"

Are there any beginners guides to using this to compile Firefox?


http://forums.mozillazine.org/viewtopic ... structions

Isn't it ironic that people will be using a free MS product to compile a competing open source browser with it :)?


I suppose, but whatever works, works.
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.5) Gecko/20041107 Firefox/1.0
SuSE Linux 9.2, Kernel 2.6.8, KDE 3.3.2
lordmedikit
Posts: 447
Joined: August 1st, 2003, 9:18 am

Post by lordmedikit »

Hooded One wrote:I suppose, but whatever works, works.

Yeah I totally agree, I just found it to be a little funny.

Btw, thanks for the answers.
User avatar
cls
Posts: 77
Joined: July 31st, 2003, 12:27 pm
Location: San Diego, CA
Contact:

Post by cls »

ADUK wrote:Wow! My Cygwin/MinGW have been failing for about 2 weeks now but my VS.net builds at work have been fine so this is great for me as I can't afford VS.net.


What's the error that you've been seeing in your mingw builds? We've had several tinderbox builds up for a couple of weeks now and they've been green most of the time.
MozJF
Posts: 2007
Joined: July 14th, 2003, 10:07 am
Location: Near Atlantic Ocean

Post by MozJF »

Yes !

So I can try to make pentium 4 MSVC++ based build now !

Yeeeeeeeeeeeeeeeeeeees ;o)

/me is jumping around of fun ! ;o)
MozJF
User avatar
Fru T Bunn
Posts: 31
Joined: March 19th, 2004, 5:17 pm
Location: UK
Contact:

Post by Fru T Bunn »

BlueFyre wrote:Also... ADUK It's Athlon not Athalon
Oh bugger. Before my Athalon I used to have a pentum and before that a 406.

CLS was asking about the errors in my mingw builds. Well, it wasn't so much the build that was failing it was executing the executable. All sorts of errors and it would not run. It wouldn't even create the profile folders. I tried all sorts of things (changing my .mozconfig, pull_all, clean install of everything) but nothing seemed to work.

Incidently, looks as though I need a shed load of additional header files to build FireFox. These could well be included in Cygwin. I'll have to do some searching.

Cheers everyone.
MozJF
Posts: 2007
Joined: July 14th, 2003, 10:07 am
Location: Near Atlantic Ocean

Post by MozJF »

Note : It is unuseful.

There is no midl.exe tool, so it cannot build any mozilla.org products :[

Back to my VC++ 6.0 + SP6 :[
MozJF
User avatar
shill
Posts: 1443
Joined: December 30th, 2002, 2:00 am
Location: Behind you!
Contact:

Post by shill »

MozJF wrote:There is no midl.exe tool

---THINGS YOU NEED IN ADDITION TO THE Visual C++ Toolkit---
Install the Core SDK from here (must be accessed from IE as ActiveX is used): Platform SDK (Core SDK) and then you'll find a surprise in <code>C:\Program Files\Microsoft SDK\Bin\</code> ;) (midl.exe of course)
---
AFAIK, you also need ML.EXE. I got it from the masm32 package.
---
Last edited by shill on April 17th, 2004, 5:54 pm, edited 7 times in total.
::my browser info:: | ::my PC info:: | ::my contact info::
PGP fingerprint: E09B 1202 F70E E53E 29BC 5F64 D6D5 9E19 EF92 EA51
lordmedikit
Posts: 447
Joined: August 1st, 2003, 9:18 am

Post by lordmedikit »

MozJF wrote:Note : It is unuseful.

There is no midl.exe tool, so it cannot build any mozilla.org products :[

Back to my VC++ 6.0 + SP6 :[

It's MS. There would have to be a catch somewhere :(.
User avatar
Fru T Bunn
Posts: 31
Joined: March 19th, 2004, 5:17 pm
Location: UK
Contact:

Post by Fru T Bunn »

Just tried to compile and getting the midl error too. :o(.

Never mind. I will try a mix of VS.net and the VCPP 2003 compiler at work on Monday as I would like to use the extra optimisation features of the 2003 version of CL.EXE. I may get to squeeze a few hundreds of a second off something. I naturally won't notice any difference but I will kid myself into thinking that it is faster and the hours I spend tinkering will be worthwhile ;o)

This is my life.
User avatar
TierMann
Posts: 184
Joined: March 29th, 2004, 10:18 am
Location: Sitting here, posting to fourms.
Contact:

Post by TierMann »

I tried out the VC Tools with the Microsoft SDK and I get an error when optimizing -G7...

fatal error C1048: unknown option '7' in '-G7'
LIB : fatal error LNK1257: code generation failed

Any suggestions?
User avatar
shill
Posts: 1443
Joined: December 30th, 2002, 2:00 am
Location: Behind you!
Contact:

Post by shill »

TierMann wrote:I tried out the VC Tools with the Microsoft SDK and I get an error when optimizing -G7...

fatal error C1048: unknown option '7' in '-G7'
LIB : fatal error LNK1257: code generation failed

Any suggestions?

Hmm, I don't know, I'm using this optimization line and it's compiling fine (so far):
<code>ac_add_options --enable-optimize="-O2 -Ox -G6 -GL -arch:SSE"</code>
Last edited by shill on April 17th, 2004, 7:10 pm, edited 1 time in total.
::my browser info:: | ::my PC info:: | ::my contact info::
PGP fingerprint: E09B 1202 F70E E53E 29BC 5F64 D6D5 9E19 EF92 EA51
Post Reply