This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Try to use python-config to get python include and lib parameters.


On Thu, May 20, 2010 at 4:04 PM, Doug Evans <dje@google.com> wrote:
> Hi.
>
> Building with a private copy of python, or even the system copy,
> sometimes requires linking with extra libraries.
> These libraries are listed with `python-config --ldflags'.
> [or --libs, but --ldflags also includes any needed -L's]
>
> I will check this in in a few days if there are no objections.
>
> 2010-05-20 ?Doug Evans ?<dje@google.com>
>
> ? ? ? ?* configure.ac: Try to use python-config to get python include and lib
> ? ? ? ?parameters.
> ? ? ? ?* configure: Regenerate.

python-config is a python script so it won't work when build != host.

2010-05-20  Doug Evans  <dje@google.com>

        * configure.ac: For non-canadian-cross builds (build == host),
        try to use python-config to get python include and lib parameters.
        * configure: Regenerate.

Tested with
build=host=target=amd64-linux [with/without python]
build=host=amd64-linux target=arm-eabi [with/without python]
build=amd64-linux host=i386-linux target=arm-eabi [without python]

Attachment: gdb-100520-python-config-2.patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]