Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.sys.acorn.programmer > #5712
| Subject | Re: GCC4 directory/extension names |
|---|---|
| Newsgroups | comp.sys.acorn.programmer |
| From | druck <news@druck.org.uk> |
| Date | 2019-03-10 19:16 +0000 |
| Message-ID | <3feab39257.druck@druck.org.uk> (permalink) |
| References | <q5oh39$1h7$1@dont-email.me> <27o*PW-hx@news.chiark.greenend.org.uk> |
| Organization | druck |
On 6 Mar 2019 Theo <theom+news@chiark.greenend.org.uk> wrote:
> druck <news@druck.org.uk> wrote:
>> Anyone know a definitive list of what GCC4 g++ supports for the names of
>> directories corresponding to the file extensions of sources and headers
>> on other platforms?
> Look at the *sfix system variables. I can't remember the exact names
> without looking them up, but it's something like gcc$env$sfix.
> I think the !Run sets the default values.
> There's more about this in !GCC.!Help.
It's buried down in !GCC.Docs.libunixlib.README, and set in the !GCC.!Run
file. So I added hpp, hxx, and h++ to the variable:-
Set UnixEnv$gcc$sfix
"f:for:F:fpp:cc:cxx:cpp:c++:C:i:ii:rpo:c:m:h:hh:hxx:hpp:h++:s:S:xrb:xrs:l:o:y:tc
c:cmhg:adb:ads:ali"
(Further down UnixEnv$g++$sfix is set from UnixEnv$gcc$sfix)
But that didn't work, it still didn't recognise #include "something.hpp"
I tried gcc$env$sfix to, but looking in !SharedLibs.libs.libunixlib
"UnixEnv$appname$sfix" is the correct variable name.
Tried reducing it down to just
Set UnixEnv$g++$sfix c:cpp:h:hpp
fatal error: something.hpp: No such file or directory
No luck again :-(
---druck
--
The ARM Club Free Software - http://www.armclub.org.uk/free/
32 bit Conversions Page - http://www.armclub.org.uk/32bit/
Back to comp.sys.acorn.programmer | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
GCC4 directory/extension names druck <news@druck.org.uk> - 2019-03-06 13:14 +0000
Re: GCC4 directory/extension names Theo <theom+news@chiark.greenend.org.uk> - 2019-03-06 16:09 +0000
Re: GCC4 directory/extension names druck <news@druck.org.uk> - 2019-03-10 19:16 +0000
Re: GCC4 directory/extension names Theo <theom+news@chiark.greenend.org.uk> - 2019-03-10 21:10 +0000
Re: GCC4 directory/extension names Ronald <gettingchoppy@gmail.com> - 2019-03-11 11:45 +1300
Re: GCC4 directory/extension names druck <news@druck.org.uk> - 2019-03-11 20:42 +0000
Re: GCC4 directory/extension names druck <news@druck.org.uk> - 2019-03-11 15:44 +0000
csiph-web