> How do I discover the canonical architecture name for the compiler I'm > using ? > > Ie, for a i386/i486/Pentim I want the string `i386'. Your best bet is probably to run 'gcc -print-libgcc-file-name' and parse the output. David -- David Engel Optical Data Systems, Inc. david@ods.com 1101 E. Arapaho Road (214) 234-6400 Richardson, TX 75081