Subject: RE: Qt already ported?
To: None <port-arm32@NetBSD.ORG>
From: Adam Gundy <adam@impala.demon.co.uk>
List: port-arm32
Date: 08/10/1997 14:53:47
In message <c=DE%a=_%p=ixos%l=MICKEY-970805145323Z-6916@mickey.munich.ixos.de> you wrote:

> Great, I think you have found a possible solution for my problem, at least I hope so...
> 
> I have found your second posting "g++ exceptions and gprof profiling", but I am not able to find the first one.
> 
> Could you please tell me where (URL) I can find patched versions of the gcc-Compiler-Set?
> I think it would be much easier for me (and for many others too) if I don't have to compile my own fixed version...
> 

AFAIK there's no URL for a patched set, and unfortunately I haven't got
the disk space to create one...

The patch is below, and compiling gcc isn't difficult - it just requires
a lot of space.

Hopefully gcc 2.8.0 will be released 'real soon now', and with a bit of
luck an 'official' set will be made with the patches applied...




diff -N -c -r gcc-2.7.2.2/config/arm/arm.h gcc-2.7.2.2-riscbsd/config/arm/arm.h
*** gcc-2.7.2.2/config/arm/arm.h                        Mon Aug 28 11:17:11 1995
--- gcc-2.7.2.2-riscbsd/config/arm/arm.h                Sun Jun 15 01:43:53 1997
***************
*** 1748,1753 ****
--- 1748,1755 ----
  	fprintf (STREAM, "[%s%s, #%s%d]!", REGISTER_PREFIX,		\
  		 reg_names[REGNO (XEXP (X, 0))],			\
  		 GET_CODE (X) == PRE_DEC ? "-" : "",			\
+ 		 (REGNO (XEXP (X, 0)) == STACK_POINTER_REGNUM ) ?       \
+                ((GET_MODE_SIZE (output_memory_reference_mode) + 3) & ~3) : \
  		 GET_MODE_SIZE (output_memory_reference_mode));		\
        else								\
  	fprintf (STREAM, "[%s%s], #%s%d", REGISTER_PREFIX,		\



Seeya,
 Adam.
-- 
As the year 2000 approaches, the carefully planned Millenium 'bug'
begins to manifest itself in the computing job market...
Real programmers don't comment their code. If it was hard to write, it
should be harder to modify. These are all my own opinions.