[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] [FREEMINT][PATCH] gcc 3 does not like multi-line assembly (and strings)



On Thu, 2005-04-28 at 17:52 +0200, Patrice Mandin wrote:

> There is still the problem with the d0 clobbered register used as return
> value, when calling the system functions via traps (inlined assembly).

I noticed that, but it looked like mintlib wrapped most of the cases. I
hadn't looked at the kernel itself yet.  The only problem I had was that
it was using the already installed system headers of mintlib (from an
older version) and not the version I was compiling, so I had to manually
copy before compiling and installing.  I'll keep those diffs around in
case I decide to tackle the kernel later on today ;)  

> I have also a problem with a const pointer passed as parameter, used to
> initialize a local const pointer, in freemint/sys/xfs/ext2fs/bitmap.h:

That one I've not seen, but I'll take your word for it!

BTW, I finally got a GCC cross-compiler working.  It works great with
binutils 2.13 but with newer versions, the patch applies cleanly and it
compiles just fine, but GCC won't link right.  I haven't tried 3.4 or
4.0 yet, but 3.3.5 works fine.