From fnaumann@mail.cs.uni-magdeburg.de  Sun Sep  5 20:12:20 2004
X-Authenticated: #498939
Mime-Version: 1.0 (Apple Message framework v619)
In-Reply-To: <20040904224730.46d3f06a.mandin.patrice@wanadoo.fr>
References: <638F679B-FE76-11D8-90B4-00039357F826@epfl.ch> <20040904224730.46d3f06a.mandin.patrice@wanadoo.fr>
Content-Type: text/plain; charset=US-ASCII; format=flowed
Message-Id: <8C650AA6-FEB7-11D8-9BCF-00039357F826@gmx.ch>
Content-Transfer-Encoding: 7bit
Cc: Mint list <mint@fishpool.com>
From: =?ISO-8859-1?Q?Philipp_Donz=E9?= <PhilippDonze@gmx.ch>
Subject: Re: [MiNT] mintlib inline asm
Date: Sat, 4 Sep 2004 23:15:29 +0200
X-Mailer: Apple Mail (2.619)
Delivered-To: mint@fishpool.com
Delivered-To: mint@lists.fishpool.fi
X-Approved-By: tjhukkan@fishpool.fi
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: PhilippDonze@gmx.ch
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>
X-Milter: ClamAV 0.70/0.70kjel
X-Milter: milter-regex 1.5jel
X-Milter: ClamAV 0.70/0.70kjel
X-Milter: milter-regex 1.5jel

Hi,

> I tried to declare the function in stdio/sprintf.c as:
> int sprintf (char *s, const char *format, ...)

I did this too. It compiled nicely. But now I'm stuck with qed.

See Andreas' patch I found here: 
http://sources.redhat.com/ml/libc-alpha/2003-03/msg00052.html

> Note: the patch to mintlib/global.c is only for the "CRLF bug" in TOS.

What does it do? Are the programs compiled still TOS and MiNT 
compatible? Or is it a workarround for compiling only for TOS?
(I saw the "#if 1", so it seams as there is no way to switch back to 
"buggy mode".)


Philipp


