[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] Incompatibility between FPU and non FPU code



"Miro Kropacek" <miro.kropacek@gmail.com> writes:

> I don't quite get it why gcc always falls back for default library when the
> expected is not found (i.e. you compile with -m68020-60 but when your
> library is not located in /usr/lib/m68020-60m it's used the one from
> /usr/lib without any warning). Is there some way to force to use either
> m68020-60 or exit with error code?

That's not a bug, it's a feature: the library in the default library
directory is supposed to fit for all optimisation variants.  The linker
just uses the first one it finds while looking through the library
search path.  If you don't want a library to be found, don't put it
there.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."