public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
From: Detlev Zundel <dzu@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot-Users] hi what is this -MQ option for?
Date: Mon, 03 Dec 2007 15:14:42 +0100	[thread overview]
Message-ID: <m2aborlval.fsf@ohwell.denx.de> (raw)
In-Reply-To: <f8d2c5ed0711260319n16f42d22pf837b59fcc32674a@mail.gmail.com> (yusuf khan's message of "Mon\, 26 Nov 2007 16\:49\:14 +0530")

Hi Yusuf,

> i have put patch to port u-boot to mc68360, now when i am trying to
> compile u-boot i am getting this error
> m68k-elf-gcc: cache_8xx.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: cache.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: codec.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: cpu.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: dsp.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: ether.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: i2c.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: memory.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: post.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: rtc.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: spr.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: sysmon.o: No such file or directory
> m68k-elf-gcc: unrecognized option `-MQ'
> m68k-elf-gcc: tests.o: No such file or directory
>
> now i want to know,why is this -MQ option used,it is in
> $(TOPDIR)/rules.mk,i am using cross compilation tool chain gcc version
> 2.95.3,does this compiler is too old,thats why not able to recognise
> the option....please let me know,how can i proceed

This option is used to get gcc not to compile code, but to generate
dependency rules includable from makefiles.  Obviously your compiler is
too old, so you need to update your crosstoolchain.

Apart from this dependency problem I am pretty sure that 2.95.3 would
surely trip in other places as well and is thus very likely a waste of
time.

Best wishes
  Detlev

-- 
Man sei weder unzufrieden mit sich selbst - denn das waere Kleinmut - noch
selbstzufrieden - denn das waere Dummheit.
                                    --- Baltasar Gracian
--
DENX Software Engineering GmbH,      MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich,  Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de

      reply	other threads:[~2007-12-03 14:14 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-26 11:19 [U-Boot-Users] hi what is this -MQ option for? yusuf khan
2007-12-03 14:14 ` Detlev Zundel [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m2aborlval.fsf@ohwell.denx.de \
    --to=dzu@denx.de \
    --cc=u-boot@lists.denx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox