Re: /usr/bin/ld: cannot find [...] when compiling - Mailing list pgsql-general

From Janek Sendrowski
Subject Re: /usr/bin/ld: cannot find [...] when compiling
Date
Msg-id trinity-a571ecf3-dc67-4fba-a2e0-ca7984db5110-1385321008461@3capp-webde-bs52
Whole thread Raw
In response to Re: /usr/bin/ld: cannot find [...] when compiling  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: /usr/bin/ld: cannot find [...] when compiling
List pgsql-general
Now it's working.
My Makefile:

OBJS = test.o
MODULES = test
DATA = test.c

PG_CONFIG = pg_config
PGXS := $(shell $(PG_CONFIG) --pgxs)
include $(PGXS)

Is it possible to execute the code just like this?
I like to do that for Debugging.
I can't execute the .so files, of course and If I just do "gcc filename", I have the issue with the includes.

Janek Sendrowski


pgsql-general by date:

Previous
From: Tom Lane
Date:
Subject: Re: /usr/bin/ld: cannot find [...] when compiling
Next
From: Tom Lane
Date:
Subject: Re: /usr/bin/ld: cannot find [...] when compiling