compiling/compiler comparison

Ivan Voras ivoras at fer.hr
Thu Dec 28 15:02:45 PST 2006


Your questions don't belong in this list because they don't have
anything to do with FreeBSD but here goes...

deeptech71 at gmail.com wrote:
> Does the executable code quality depend only on the compiler? Comparison
> between native and cross-compiling?

In general, the choice of algorithm is of the highest importance. Seek
compiler optimizations only if you already have adequate algorithms.

The results of native and cross-compiling should be the same, per
definition of cross-compiling.

> Is it worth porting the project to GGC if you can download specifically
> optimized .asm code for GCC?

Yes, in general, but you must test it before and afterwards.

> What IDEs are currently available that use
> GCC?

Depending of what you think an IDE is, either none or a gazillion.
There's nothing like what's available for commercial platforms, but
there are a lot of decent editors that can call compilers. If you're
doing windows programming with gcc, see for example Dev-cpp.

> Finally, if someone knows whether microsoft's or GNU's compiler is better
> for generating faster windows code, please?

Microsoft's, definitely. If you're really after extracting
water-out-of-stone performance, Intel's are even better.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20061228/e92d3f18/signature.pgp


More information about the freebsd-questions mailing list