Compare with GreenHills Compiler

Jonathan Wakely jwakely.gcc@gmail.com
Tue Dec 7 07:21:45 GMT 2021


On Tue, 7 Dec 2021, 02:24 Fujitani, Kenji/藤谷 賢治 wrote:

> Dears,
> I’m working under Ubuntu-PC(18.04LTS), and using gcc(version 7.5.0).
> Recentry, I was trying to compile developed C-Code which worked on Green
> Hills Compiler(GHS) by above environment,
> But this Code’s referenced HeaderFile exists on too complexed branching
> directory.
> Even if I use "-I" option, it couldn’t search any header-files.
> I heard it caused of pragma, but I can't understand in detail.
> Why does It able to compile one by GHS, but it could’t by gcc?
>


You haven't told us anything about what the code does, what the directory
hierarchy is like, or what the error says. So we can't possibly help you.

Could you at least tell us the error message that GCC prints? That will
show the path it is trying to include.


More information about the Gcc-help mailing list