Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Dec 2006 00:02:15 +0100
From:      Ivan Voras <ivoras@fer.hr>
To:        freebsd-questions@freebsd.org
Subject:   Re: compiling/compiler comparison
Message-ID:  <en1idu$45g$1@sea.gmane.org>
In-Reply-To: <45944618.5050109@gmail.com>
References:  <45944618.5050109@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig3FEFBCEB066FF83F38959678
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

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

deeptech71@gmail.com wrote:
> Does the executable code quality depend only on the compiler? Compariso=
n
> 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 bett=
er
> 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.


--------------enig3FEFBCEB066FF83F38959678
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFFlEz9ldnAQVacBcgRAiKXAKCuVYz5jxGyWDKKBINz+HU82u/PSQCgzBPI
Xq+QyukEB5AXg9CTVJn0Tr8=
=lXdN
-----END PGP SIGNATURE-----

--------------enig3FEFBCEB066FF83F38959678--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?en1idu$45g$1>