A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-December/030644.html below:

[Python-Dev] extension module .o files wind up in the wrong place

[Python-Dev] extension module .o files wind up in the wrong place [Python-Dev] extension module .o files wind up in the wrong placeSkip Montanaro skip@pobox.com
Mon, 2 Dec 2002 22:29:09 -0600
I notice that when building Python in a subdirectory of the src dir that the
.o files for extension modules are written in the wrong directory.
Graphically, if my source tree looks like

    head/dist/src
        Makefile.pre.in
        /Modules
        /Python
        ...
        build
            Makefile
            /Modules
            /Python
            ...

If I run 

    cd build
    ../configure --prefix=/Users/skip/local
    make

extension module .o files wind up in .../src/Modules instead of
.../src/build/Modules.

I don't have time to look into this right now.  I only just noticed it while
I was trying to do parallel builds in build.dbg and build.opt directories.
The debug .o files got written first, so when the optimized make came along,
there were already .o files, which had been compiled with --with-pydebug,
got linked improperly.

Skip




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4