Re: Compilation succeeded, but uses GPC don't work

Waldek Hebisch <[email protected]> Sat, 6 Mar 2021 22:10:34 +0100
Newsgroups gmane.comp.compilers.gpc
Message-ID <[email protected]>
On Sat, Mar 06, 2021 at 02:57:37PM -0500, Paul Dufresne wrote:
> paul@jacko:~/gpc$ LANG=C gpc --automake -o readdir ../gpc2/gcc-3.4.6/gcc/p/demos/readdirdemo.pas 
> 
> /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units/gpc.pas:1959: rts-config.inc: No such file or directory
> 
> gpc1: gpc exited with status 1
>

Oops, sorry, there seem to be problem with installation rules.
Easy workaround is to copy needed file by hand, something
like (assuming that you are in gpc build directory):

cp gcc/p/rts/rts-config.inc /usr/local/lib/gcc/x86_64-unknown-linux-gnu/3.4.6/units

Recently I just tested build.  When I installed (long ago) I probably
copied the file as above.

-- 
                              Waldek Hebisch