Saturday, 7 February 2015

Re: [gccsdk] GCC: bits/c++config.h

In message <54D5F084.2040607@gmx.com>
Duncan Moore <duncan.moore@gmx.com> wrote:

<snip>
> I was wondering about the library headers myself! As I say I've never
> used a 'flat' layout myself, but seemed to recall that others may have done.
>
> I've just had a look through the gccsdk mail list, and there's a thread
> "sfix doesn't work in all situations" beginning 23 Feb 2012 about this.
> John Tytgat advises against trying sfix="". Ron suggests that he did get
> it to work (for a simple test case at least) in the last mail in that
> thread.
>
> Duncan
>
!Rename (by Nick Roberts) can change directories to norcroft style and
back. To change norcroft directories back to linux style I use:

Recurse Directories = ticked
Prototype = ^.
Rename To = <updir>&1/&f

First you need to
Set updir ^.
This variable sort of escapes ^. so it can work.
Then delete the empty h c s etc directories.

To change linux style directorues to norcroft style:
(May exist by default as Change Directory)
Recurse Directories = ticked
Prototype = ^./^.
Rename To = &2.&1
Then drag the top directory of the source files to Rename.

I changed a recipe file for gcc and rebuilt the native !GCC so you will
either have to do the same, or get the gcc binaries from me. setting
sfix="" isn't enough on it's own.

I cut as much sfix related stuff out of some other recipe files.
One problem I had with sfixing, was that it was intended to be
optionally turned off for binaries that dont use it (everything other
than norcroft stuff really) but it simply couldn't be stopped that way
at all.

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

No comments:

Post a Comment