Re: [U-Boot-Users] Compilation failure (gcc options..)

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Joe,
I get "arm-elf-gcc: unrecognized option `-MQ'" when generating dependencies (in rules.mk). Google is not helping much. Why is this option here??
Googling for this gives you for example this very helpful link: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Preprocessor-Options.html#Pr eprocessor-Options
Hint on googling: When looking for keywords that start with a dash put them in quotes or else Google will only return pages that do *not* contain these keywords. Additionally, limiting Google to a specific site helps as well. So your Google search could have been
gcc "-mq" site:gcc.gnu.org
So most likely your GCC tool chain is broken or too old. I am not an ARM expert but the ELDK 4.0 from Denx (http://www.denx.de/en/News/PressReleaseELDK40) is most likely a good choice.
Regards, Mark Jonas

Jonas Mark (ST-FIR/ENG1) wrote:
Googling for this gives you for example this very helpful link: http://gcc.gnu.org/onlinedocs/gcc-4.1.1/gcc/Preprocessor-Options.html#Pr eprocessor-Options
Thanks., I figured that :)
Hint on googling: When looking for keywords that start with a dash put them in quotes or else Google will only return pages that do *not* contain these keywords. Additionally, limiting Google to a specific site helps as well. So your Google search could have been
gcc "-mq" site:gcc.gnu.org
Thanks again., I knew that the '-' was screwing it up., but did not know quoting it would help. :)
So most likely your GCC tool chain is broken or too old. I am not an ARM expert but the ELDK 4.0 from Denx (http://www.denx.de/en/News/PressReleaseELDK40) is most likely a good choice.
Yeah., the version of gcc i use is 2.95.3. It does not have the -MT/-MQ options in it. I'll try the ELDK compilers :)
participants (2)
-
Joe Steeve
-
Jonas Mark (ST-FIR/ENG1)