I have a tomtom one XL GPS. It is clearly a linux device: plugging it in shows a stripped down filesystem, and strings gltt | less (a program in the bin) shows:
/lib/ld-linux.so.2 __gmon_start__ gl_master pkgGllStat pkgLSbitLkup g_GlSettings GlDeallocateStorageSupl_cb _apcIntegrLogMess apcPwrModes _ZN22TestStaticConstructors2x_E testStaticCtor _apcCalSrc GetGlSettingsSupl_cb SetSettingsSuplIsFromNVRAM_cb bin2Hex ... which tells me it was compiled for Linux. Let's say I want to compile some code for this device. I'm guessing it's not x86_64, but how could I find out which architecture it is? please note: I do not have a shell connection to the device yet.