On 22/10/2020 11:01, Chris Johns wrote:
> Hello
>
> I am sure this has come up before, but is there any option to get GCC
> running natively on RISC OS to use use a 'flat' file layout? eg. "foo/c"
> rather than a file called foo in the 'c' directory.
>
> I can use gcc -xc foo/c, but if it does a #include "foo.h" it won't find
> foo/h.
I think the main problem is that it's all or nothing. It's possible
(although I haven't tried) that unsetting all the $sfix variables, eg,
UnixEnv$gcc$sfix (or at least removing .h) may cause GCC to use a flat
layout, *but* that would also apply to all libraries too including
UnixLib so you would have to flatten those as well.
Lee.
_______________________________________________
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