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

Jonas Mark (ST-FIR/ENG1) Mark.Jonas at de.bosch.com
Mon Nov 13 09:00:31 CET 2006


-----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

-----BEGIN PGP SIGNATURE-----
Version: SECUDE secure mail 4.0.2.13
Comment: SECUDE Office Security Suite - http://www.secude.com

iQCVAwUBRVgmHsCdqFOEz0ntAQKBawP9HG059FQ8UkN6uUISJsw5WLJnCNk8ct+FFZvPJHQU
ng0sG34EoH39NnDkV15fR5pS39PokMfYrE5g4odesZLNU5aNSlKEm9FcmqbhDW/PXfokHU4L
xaGr4rTq7CUXuz31WPPt1TaXL0RozKe6bJpDu7iVU9F1CrldrBkeSv4jH4A=
=k7CQ
-----END PGP SIGNATURE-----




More information about the U-Boot mailing list