Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.acorn.programmer > #5716

Re: GCC4 directory/extension names

From druck <news@druck.org.uk>
Newsgroups comp.sys.acorn.programmer
Subject Re: GCC4 directory/extension names
Date 2019-03-11 20:42 +0000
Organization A noiseless patient Spider
Message-ID <q66h8d$8ig$1@dont-email.me> (permalink)
References <q5oh39$1h7$1@dont-email.me> <27o*PW-hx@news.chiark.greenend.org.uk> <3feab39257.druck@druck.org.uk> <U+y*u9vix@news.chiark.greenend.org.uk> <6b13c79257.beeb@-.->

Show all headers | View raw


On 10/03/2019 22:45, Ronald wrote:

[Getting GCC4 to recognise #include "file.hpp"]

> You may also get through it with the ? wild card as long as there is no
> similar .h files.

Much strangeness tonight. I had a good play with setting wildcards, but 
didn't have any luck. I noticed that the g++ command I was using was of 
the form "g++ <opts> cpp.file", as it had come from a makefile processed 
by amu (the project was formerly using Acorn C++, but went off to Linux 
and came back needing c++11 and hence g++), so I used gnu make instead 
which generated a command with "g++ <opts> file.cpp" - this managed to 
find the .hpp and compiled. Even more strangely, the original cpp.file 
command line then worked. It was ok with both a simplified sfix, and the 
full version I put in a previous post.

I'll have to do a reboot, and see the exact sequence of actions which 
caused it to start working. But at least its going now, thanks for 
everyone's help.

> Lastly, I have a !GCC built without riscosification so norcroft source
> code has to be flattened to resemble linux files, or standard source
> files just work.
> That usually fixes any naming problems. I could upload it to my
> GoogleDrive I guess.

That would be useful, as I have to mess around with scripts to unflatten 
the files when copying them from a where they've been checked out on a 
shared drive to RISC OS, and flatten and copy then back again after.

---druck

Back to comp.sys.acorn.programmer | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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