Re: Failure to build GPC under Linux
Waldek Hebisch <[email protected]> Sun, 17 May 2020 00:00:02 +0200
| Newsgroups | gmane.comp.compilers.gpc |
|---|---|
| Message-ID | <[email protected]> |
On Sat, May 16, 2020 at 02:49:47PM -0700, John Ries wrote:
> Well. that didn't work. I get:
>
> gpc-4.3.5 -c queues.p
> gpc-4.3.5 -c ranklist.p
> gpc-4.3.5 -o sav sav.p
> /usr/bin/ld: cannot find -lgpc
> collect2: ld returned 1 exit status
>
> The only libgpc.a I see is from the GPC I built in 2014, so something is
> definitely wrong. I'll work in this some more later; but in the mean time,
> any ideas?
You should see 'libgpc.a' in the 'x86_64-unknown-linux-gnu/libgpc/p/rts'
subdirectory of the build tree.
On my machine (from build directory):
ls x86_64-unknown-linux-gnu/libgpc/p/rts/
Makefile fname.gpi gpc_ep.gpi random.gpi string1.gpi
config.cache fname.o heap.gpi random.o string1.o
config.log getopt.gpi heap.o rts-config.h string2.gpi
config.status getopt.o init.gpi rts-config.inc string2.o
endian.gpi gpc-all.gpi init.o rts.o time.gpi
endian.o gpc.gpi libgpc.a rtsc.gpi time.o
error.gpi gpc.o math.gpi rtsc.o
error.o gpc_bp.gpi math.o sets.gpi
files.gpi gpc_cp.gpi move.gpi sets.o
files.o gpc_delphi.gpi move.o stamp-error-gpi
--
Waldek Hebisch