In message <b7206b2753...@hobbes.bass-software.com>
          John Tytgat <john.tyt...@aaug.net> wrote:

>
> Which "recipe file for gcc" do you mean ?
>
> > So there is a minimum of three changes to do.
>
> Three ? I'm mentioning the UnixEnv$*$sfix @ !Run, you're referring to
> a "recipe file for gcc", but what's the third change ?
>
(1)
gcc4/recipe/files/gcc/gcc/config/arm/riscos-gcc.c

const char *
riscos_convert_filename (void *obstack, const char *name,
                         int do_exe, int do_obj ATTRIBUTE_UNUSED)
{
  char tmp[1024];

 /* if (do_exe)*/
    return name;

  /*if (!__unixify_std (name, tmp, sizeof (tmp), 0))
    return name;

  return obstack_copy0 ((struct obstack *) obstack, tmp, strlen (tmp));*/
}

(2)
gcc4/recipe/create-gcckit
Comment out 85-94 114 and 189

(3)
!GCC.!Run
Set UnixEnv$gcc$sfix ""
Comment out 
|"f:for:F:fpp:cc:cxx:cpp:c++:C:i:ii:rpo:c:m:h:hh:s:S:xrb:xrs:l:o:y:tcc:cmhg:adb:ads:ali"

Actually, as long as you can change the !GCC library files directories
yourself, The only thing the OP would need would be the changed gcc
binary.
Note, I haven't extensively tested !GCC this way but It hasn't faltered
so far.

I have a pattern saved so !Rename can revert norcroft style source
directories.
The pattern match doesn't accept ^ as an up directory, so I use a system
variable for the same in it's place and it works ok.

Ron M.

_______________________________________________
GCCSDK mailing list gcc@gccsdk.riscos.info
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK

Reply via email to