From mint-bounce@lists.fishpool.fi Sat Dec 19 12:50:39 2009 Message-ID: <4B2D11F3.9010401@online.no> Date: Sat, 19 Dec 2009 18:48:35 +0100 From: Jo Even Skarstein User-Agent: Thunderbird 2.0.0.23 (Windows/20090812) MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: Re: [MiNT] mshort support References: <4B2CAA08.9030902@freesbee.fr> <7D743469FF2942A1959C7E4C27DAC008@mercatus.local> <4B2CCAB4.2020403@freesbee.fr> In-Reply-To: <4B2CCAB4.2020403@freesbee.fr> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 8bit X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: joska@online.no Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Vincent Rivière skreiv: > libgcc contains support for the C language regarding to one CPU, when > there is no direct assembly instruction for doing something. > The best example is probably multiplication. > What is the 68000 instruction for multiplying 2 shorts ? muls. > And for 2 longs ? There is none. Several 68000 instructions have to be > used to achieve that. So gcc puts this kind of support code in private > functions stored in libgcc. > Same things for manipulating floats. Ok, I understand. I don't know these details about gcc. I see that libgcc is 85Kb on my system (gcc 2.95). Is this why helloworld.c results in a 102Kb binary? Jo Even