From mint-bounce@lists.fishpool.fi Sun Feb 21 17:42:15 2010 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=IxGaDQklnte70TYCjV+Yk1uprfYhY7qSNJR5CVHI40g=; b=M2zPBcUf012ik82O7e6QwvlGaIaUzRBNLy7Or4rMzkEwwKhlpCFF7dNMQPBw/WpUG7 HA3dA57B4hT9iCvUQQ/MHbvVmB3IGf8Cbk4V7AikWuMLN8LJ6LnzZhmIAeXTyuxsBwMi 0yWjsuyULtBjE5Xd8v8HsVBXXeqqDB8X/hcas= 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 :content-type:content-transfer-encoding; b=ozBN0NEtQWRztM2uKQ5ZAneD+q+yBbOIzMPTf1STcV6GKGuJQutKGhm4Nj7mJU8bZ9 X/ABH6liu84zvzB6gviaJZqnYkqurB9rtRr3bgcAjHC8b4OxP3vd3acIEPAHmavZS06O 5hL5VIAVgbhKc2R5uU9mY2Q//iX3kxLb+/OTE= MIME-Version: 1.0 In-Reply-To: <4B7A7214.1000202@freesbee.fr> References: <4B79AFDC.4000401@freesbee.fr> <4B7A65E2.7090302@freesbee.fr> <4B7A7214.1000202@freesbee.fr> Date: Sun, 21 Feb 2010 16:40:01 -0600 Message-ID: <11a6f2b11002211440w260d2cb8q1c536ae88c4750bb@mail.gmail.com> Subject: Re: [MiNT] Wrong placement of cross binaries From: Paul Wratt To: mint Content-Type: text/plain; charset=ISO-8859-1 X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: paul.wratt@gmail.com Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o1LMgEdu003924 2010/2/16 Vincent Rivière : > Miro Kropacek wrote: >> >> Because look at your example, how ./configure should know when you're >> preparing distribution package (i.e. native one) or when just installation >> for your cross environment? In both cases there's --host the same, only >> --prefix is different. > > Oh, you are right. configure can't know. > Well, there is probably no clean way to build a library package to be used > in a cross-compiler environment. > In the library packages I have built until now, I have manually built and > installed only the files required in a cross-environment. But in any case, > this is a packaging hack. > This kind of questions should be asked to the autoconf mailing list ;-) > > When I started to work on the cross-packages, I finally understood that > there was rarely a clean way to do the packaging. So I started writing build > scripts with dirty methods. Then I can improve the scripts from time to > time, when I learn new stuff. > But I'm afraid we will never find a clean, systematic procedure to build any > package. > In any case, if we are able to build clean binary packages even with dirty > methods, it is not so bad. > > -- > Vincent Rivière > You could always work with a second target, besides m68k-atari-mint, something you could test or have a use for would always be better, but as long as is can be tested and checked by other, anything would do It would just make the creation of cleaner scripts possible in the initial development phase, and anyone who has seen or coded make or configure scripts will know that multiple support often ends up being complex, and requires in depth of script and target, often still containing dirty methods, but usually limited to per target (by the time it is considered clean-ish) BTW thanks for the update on the packaging and building process (libs for cross & native, etc) Paul