From mint-bounce@lists.fishpool.fi  Wed May 26 05:34:37 2010
To: =?UTF-8?Q?Vincent_Rivi=C3=A8re?= <vincent.riviere@freesbee.fr>
Subject: Re: [MiNT] Gcc 4.4.3 Linking problems (libmath)
MIME-Version: 1.0
Date: Wed, 26 May 2010 11:30:38 +0200
From: m0n0 <ole@monochrom.net>
Cc: <mint@lists.fishpool.fi>
Reply-To: ole@monochrom.net
In-Reply-To: <4BFCE943.4070303@freesbee.fr>
References: <612f817344d98621f0cd0961cd413ccd-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXlloAFdTMl5dRkEKXVxQRFg=-webmailer2@server07.webmailer.hosteurope.de>    <AANLkTik7VvtftaLH1a9l4oU9WsxplcgN68_5OCMi5Ssk@mail.gmail.com>    <b17f30c7a9be8bc89a0b87d3d8d45c8b-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXlloAFdTMl5dRkEKXV1RRVk=-webmailer2@server07.webmailer.hosteurope.de> <f67f4f48fe778cb7125905ed3d89385c-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYJXlloAFdTMl5dRkEKXVJeRlo=-webmailer2@server07.webmailer.hosteurope.de> <4BFCE943.4070303@freesbee.fr>
Message-ID: <4a391e1e4b06898f71f4f03b03a55555-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUBFBDBTXF5bVkYAXUF0BDpUX1hbSUMEXVlR-webmailer2@server05.webmailer.hosteurope.de>
X-Sender: ole@monochrom.net
User-Agent: Host Europe Webmailer/2.0
Content-Transfer-Encoding: 8bit
Content-Type: text/plain; charset=UTF-8
X-HE-Access: Yes
X-bounce-key: webpack.hosteurope.de;ole@monochrom.net;1274866273;1f77b45e;
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: ole@monochrom.net
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>


Am Mittwoch, den 26.05.2010, 11:26 +0200 schrieb Vincent Rivière
<vincent.riviere@freesbee.fr>:
> Ole Loots wrote:
>> I passed /usr/lib/libm.a directly to the cc invoke ( cc foobar.o
>> /usr/lib/libm.a)
> 
> Please use -lm at the end of the command line instead, as MiKRO already 
> said. It is better because when you will compile for m68020-60 or 
> ColdFire it will automatically pickup the right .a file.

Yes, I was just testing... but why gives -lm other results than passing
/usr/lib/libm.a ... 


