This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
2007/9/7, Pelle Svensson <pelle2004@hotmail.com>: > I get "Floating Point Exception" when I run arm-linuc-gcc. > > My problem starts when I copy the crosstool-directory to another PC. Different CPUs have different sets of instructions; crosstool has auto-configured to use the instructions your first PC has, and has used instructions your other PC does not implement. Assuming you are using x86 processors, cat /proc/cpuinfo and look at the "Flags" line on each. You need to make sure the code generated by your crosstool is for a minimal subset of instructions that all your PCs have. Something like adding -march=i386 to GCC_EXTRA_CONFIG in your dat file would be a very cautious choice :) See http://www.freaknet.org/martin/crosstool/crosstool-vars.html for a list of the various config variables and what they do, and "man gcc" to find the optimal -mcpu= or -march= setting for your setup. M -- For unsubscribe information see http://sourceware.org/lists.html#faq
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |