From mint-bounce@lists.fishpool.fi Sun Jan 3 14:02:21 2010 Message-ID: <4B40E8CA.2020002@freesbee.fr> Date: Sun, 03 Jan 2010 19:58:18 +0100 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.5) Gecko/20091204 Thunderbird/3.0 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] how to build native gcc for coldfire/68020 References: <4B40B376.5020301@freesbee.fr> <4B40BB5F.7060709@freesbee.fr> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed X-Antivirus: avast! (VPS 100103-0, 03/01/2010), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr 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 o03J2LPQ016035 Miro Kropacek wrote: > Do not mess build, host and target options. > > We probably don't understand each other. CFLAGS changes compiler flags > globally, i.e. for gcc binary, for libgcc targets, libstdc++ targets > etc. Sorry, I didn't tried myself. The GCC makefiles are rather complicated, I hope there is a good variable to change somewhere to do what you want. Another commonly used trick is to use the CC variable. configure --host=m68k-atari-mint CC="m68k-atari-mint-gcc -mcpu=5475" I don't know if this could work when building GCC. Probably yes. -- Vincent Rivière