[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Still don't get it - difference between 68020 and 68020-60
- To: ole@monochrom.net
- Subject: Re: [MiNT] Still don't get it - difference between 68020 and 68020-60
- From: Miro Kropacek <miro.kropacek@gmail.com>
- Date: Thu, 17 Jun 2010 22:35:48 +0200
- Cc: mint@lists.fishpool.fi
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type; bh=sDqQSCXkUtoHndKVM2gVk7XdYW4Fn1tTyiiEOQQV5jI=; b=Kmys/pdnYulrWhCDH2AL7mntNyX9uYwwRI7weT633RZWGiqnpb38VMEciGGUzCcL4C 2QtQXUYj4bH9wlgbod/YpIfxoMuVPYnjHJiQcGS3B7gof/zxGWCwRFrzdVCEPy9wnun6 EJcSImexiNqjyPt6vs950XlERixWA16OMi5Eg=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=kjxWhm+kF702xvTBvGz1UlegA2Yz3h4k8WxTfh/DStaVFwTcP4VcFsOu1X0hDj8ciy +QuQswbWV+xZywOUm6ulEe85yMoIXSqtk8XgVbleq7uOYMzfXioK9DeE47hZ9y0Ge9W8 fgH1d/EUOH+rw3AgqFcqLON8Kf7iFo3zK61QE=
- In-reply-to: <729ec3d897ff67cb50ea2269d3c5d33c-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXldoA1VcMl5dRkMKX1hZQFA=-webmailer2@server05.webmailer.hosteurope.de>
- List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
- List-id: <mint.lists.fishpool.fi>
- List-owner: <mailto:tjhukkan@fishpool.fi>
- List-post: <mailto:mint@lists.fishpool.fi>
- List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
- List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
- References: <729ec3d897ff67cb50ea2269d3c5d33c-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXldoA1VcMl5dRkMKX1hZQFA=-webmailer2@server05.webmailer.hosteurope.de>
- Sender: mint-bounce@lists.fishpool.fi
> I passed -m68020 to gcc invocation, but gcc takes libs from m68020-60 -
> why is that? Would be nice if someone can explain it in one sentence :)
> As far as I understood the -m68020 is using the fpu, while 68020-60
> doesn't.
There's no magic. It's well defined behavior, you can take a look at
Vincent's patch, there's config file where you define your multilib
configuration. In practice it means for what CPUs libgcc & friends
will be build. More or less standard targets are 68000 (default for
Atari), 68020-60 and since ACP project, Coldfire target. All other
options (m68881, m68030, m68040, ...) are just fallbacks to one of
mentioned targets. So m68020/030/040/060 will always choose
/usr/lib/m68020-60/libc.a for example. If you ask why it is so -- it's
because each library (not only gcc but each one you use) would be
needed to recompile for all those targets and of course, nobody is
willing to provide 10 targets of openssl library (it takes long time
to compile, you need to tweak Makefiles / rpm spec files etc).
Just remember to use those three targets and you're fine. And you can
always check with -Wl,-t command line parameter what are you linking
if not sure. (i.e. gcc -m68020 -Wl,-t hello hello.c)
--
MiKRO / Mystic Bytes
http://mikro.atari.org