LOL - you guys are awesome!
Okay, let me see if I can shed a little more light on the cause and effect of needing processor types...
Let's say I dedicate a slightly aged Intel i3 into this project.
"I" know it's an x64 and without spending any grey matter, and I'm
reasonably certain it'll handle most if not all x86 functions as expected.
Once the machine is plugged into the associated network and TCL is installed with the AI foundation, the box becomes a part of the smog... or cloud... or what ever we want to call it!
Now, TCL fires up and goes to do a self examination. It knows nothing about itself except for the kernel that booted and what that kernel sees of itself. This is where CPU_TYPE() becomes important.
TCL logs into the
master machine and is given a set of extensions it needs to compile based on what capabilities the machine has.
If it's an x64
machine, it does its hand-shake with the
master machine and if it's running x64 at that moment and needs to build x86 apps, for example, it reboots and does so with an x86 kernel running.
(x86 apps would then be loaded as needed based on the build's specs; x86 and x64 having their own "optional" directories, per se'.)
If it were a 32 bit machine and we assumed incorrectly it had a 64 bit structure... when it would go to reboot into a x64 kernel... "
Error! Error! Warning Will Robinson!"
THEN... once we're running the appropriate kernel, apps, etc. we'd put cpu associated flags into motion for compiling as shown in
@Rich's post.
@yvs: I listed a couple anomalies with uname -m that came up with odd motherboards where I had hoped there were other methods we could think up which might fine-tune results, but yes, there are "tables" out there - but SO MANY processors over the years that a table would be huge. (ie:
CPU World)
@Juanito: I've learned that for a cleaner i486 I had to use older hardware (which takes forever to compile, but seems to come closer to the real thing, which is why I kept some old Atom motherboards on the rig - it's not PERFECT, but seemed to have fewer flaws. The down-side is, my last 486-DX went out the door over a decade ago as we no longer had requests for it so "testing" apps is really no longer possible - at least without emulation.) Rumor had it a couple years ago that Linus was considering dropping i486 support as it were... I'm not sure what came of it as I didn't dig any deeper.