On 22.05.2007 07:13, Jim Sager wrote:
> When I ran Linux on a 1GHZ machine, I could build simple1 in less than
> 15 seconds.
> Now I have a 2+GHZ machine running MSYS and MinGW.
>  
> I typed:jam simple1
>  
> And it said:
> ...patience...
> ...found 1249 target(s)...
> ...updating 2 target(s)...
> C++ ./out/msysx86/optimize/apps/tutorial/simple1/simple1.o
> LinkApplication simple1.exe
> DoSplitDebugInfo simple1.exe
> ...updated 2 target(s)...
> It took 3.5 minutes to compile.  That's 14x slower than my slow machine
> that ran Linux.

You could try cross-building in a colinux setup ... that should give you
the compile speed of linux, but the app can be tested on Windows ;)

> It also compiled relatively fast when I used to run Visual C 6.0 years
> ago(but I don't see VC6.0 as a compile option anymore with modern CS)

You could use VC 8.0 - the VC 2005 Express Edition is perfectly suitable
for compiling CS.

> Can someone help me out here?  What am I doing wrong.

You aren't doing anything wrong. Reasons I could think of:
- Compilation + linking is IO-heavy, and for some reason IO is done
really slow (this is really bad with Cygwin). Or perhaps the HD in the
new machine is slightly slower - but I doubt it has that significantly
an impact.
- The Windows memory allocator is slower than the glibc one; perhaps
this can be felt for gcc's allocation pattern.

Theoretically the performance issues can be solved by profiling and
working around bottlenecks/adding generally better as well as some
platform-specific but faster code. But I doubt you want to start to hack
on gcc just for some compile time improvements ;)

> If I want to do some serious coding, I need to streamline my compiler so
> it compiles fast.  Faster compile time leads to many things:
> * Quicker coding
> * Morale boost for not being forced to wait and stare at a screen
> * Smaller changes between compiles
> which leads to * Less bugs

In practice you don't compile all of CS at once; the slowdown for
building a single app/plugin is perhaps subjectively less noticeable.

-f.r.

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to