[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with Compiler Option -fobject-path=

From: Michael Riedl
Subject: Re: Problem with Compiler Option -fobject-path=
Date: Wed, 26 Apr 2023 22:57:49 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:102.0) Gecko/20100101 Thunderbird/102.10.0


I can confirm that -fobject-path does work with my (outdated 10 & 11 version) compilers but seems to be no longer supported.

Just searched for that on the official GCC project side and could not find it any longer.


Am 23.04.23 um 03:13 schrieb john o goyo:
Greetings, Derek.

On 2023-04-22 19:22, Derek Wyss wrote:

I'm attempting to compile using some build/ninja scripts that were previously working:

tez@cibolo:~/Desktop/zona/lib/List$ ninja
[1/1] gm2 -g -Wall -fsoft-check-all -I.:/home/tez/prog/def/ -fobject-path=.:/home/tez/prog/lib/ -c List.mod
FAILED: List.o
gm2 -g -Wall -fsoft-check-all -I.:/home/tez/prog/def/ -fobject-path=.:/home/tez/prog/lib/ -c List.mod gm2: error: unrecognized command-line option ‘-fobject-path=.:/home/tez/prog/lib/’

That option does not appear to be in the current gm2 ( Perhaps '-flibs=.:/home/tez/prog/lib' may be the equivalent. Sorry that I cannot be definitive here but I have never used the previous option.


ninja: build stopped: subcommand failed.

I was previously using the Debian gm2 package that came from floppsie. My current version info:

tez@cibolo:~/Desktop/zona/lib/List$ gm2 --version
gm2 (GCC) 13.0.0 20221214 (experimental)

Any suggestions?

Best regards,


reply via email to

[Prev in Thread] Current Thread [Next in Thread]