cc can't build 32-bit executables on amd64

Paul Allen nospam at ugcs.caltech.edu
Tue May 2 20:53:44 UTC 2006


> It took me quite a while to learn it, and even that was on embedded systems
> where the code was much smaller and centrally controlled than an entire OS
> plus utilities plus applications.  The problem space was orders of magnitude
> smaller, and the code only needed to run on one piece of hardware.  Even so,
> there was always something else that was broken ...
Yes... usually things "work" not because they do what you intended but often
because of some unusual unplanned property. e.g., the size of types happens to
just work out.

This shouldn't be surprising.  Write a bunch of code... it has many errors in it.
Stochastically fix them until it works.  It goes a long way to demonstrating how
biological evolution works.

Luckily hardware designers take a more rigorous approach, but then again an ECO
could cost hundreds of thousands of dollars--if not millions.

                           Paul


More information about the freebsd-current mailing list