From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18797 invoked by alias); 29 Oct 2007 16:08:12 -0000 Received: (qmail 18787 invoked by uid 22791); 29 Oct 2007 16:08:12 -0000 X-Spam-Check-By: sourceware.org Received: from 238.122.8.72.dhcp.mstarmetro.net (HELO myrealbox.com) (72.8.122.238) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 29 Oct 2007 16:08:07 +0000 Received: from [172.17.179.207] tprince@myrealbox.com [206.165.74.6] by myrealbox.com with M+ Extreme Email Engine 5.0.0 via secured & encrypted transport (TLS); Mon, 29 Oct 2007 10:15:13 -0600 X-MailFrom: tprince@computer.org Message-ID: <472604C2.6020709@computer.org> Date: Mon, 29 Oct 2007 16:16:00 -0000 From: Tim Prince User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) MIME-Version: 1.0 To: Joseph North CC: Jonathan Wakely , gcc-help@gcc.gnu.org Subject: Re: GNU GCC -m32 Problem? References: <1d11c7570710281419t792edb36xb46d40048c4fd9d9@mail.gmail.com> <47250329.4060403@mbnet.fi> <1d11c7570710281603u3a35a457g1dc99793d2447b62@mail.gmail.com> <4348dea50710281608j4e53ca49nee5e0c2c7545456d@mail.gmail.com> <1d11c7570710290840u5a8ecd43v1f931bc0b8b63156@mail.gmail.com> In-Reply-To: <1d11c7570710290840u5a8ecd43v1f931bc0b8b63156@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2007-10/txt/msg00368.txt.bz2 Joseph North wrote: >> >> Your question is off-topic on the gcc mailing list, which is for >> discussion of development *of* GCC, not *with* GCC. >> >> Thanks a lot, ~ "gcc -m32 . . " worked! >> However, then, I got, >> >> /usr/bin/ld: skipping incompatible ../../libastro/libastro.a when >> searching for -lastro >> /usr/bin/ld: cannot find -lastro >> collect2: ld returned 1 exit status >> If you insist on cross-posting, you will gain a place in more and more kill files. As to the error message, it means that the library path you have specified probably shows a copy of libastro.a for a different target (e.g. 64-bit linux), but none matching your -m32 target. Supposing you built it yourself with -m64, the reason should be evident. ---AV & Spam Filtering by M+Guardian - Risk Free Email (TM)---