make help



Hi,

I would like to know a bit about building linux projects and how do
make path variables work.

Please excuse me if this is not an appropriate forum to ask such a
question.

Heres the problem

I built some application and want to just use the obj files to compile
the source code next time irrespective of the cpp files.I would like to
release these obj files to a 3rd person so that they can compile their
application using my source base.

But it seems like its not so simple, after creating the obj files and
setting the correct path for the tool etc .

1.If i run make it gives the following error:
ERROR: Trying to shadow hop but PWD is outside the source tree.
OUTPATH='/home/OrignalSource/sdk/example'
DIR='/root/sdk/example'
PWD='/root/dsk/example/src'

It seems like when i compiled the source code the first time , the make
files have the orignal path linked to them , so when i install the obj
files in a new directory i cannot simply make and compile the program

So what is the solution for this kind of problem

Q) Do i need to change the path manually at the places for the new
path.
Q) Should the qmake procedure be used again , but that requires .cpp
files.

Please advice what am i missing or where to look at to learn about this
issue.

Thanks a ton for any help

.



Relevant Pages

  • Re: binanry comparison mismatch
    ... Please can anyone advise how the projects can be fixed or a compile option ... conversion of VB source code to compiled native code. ... tokenized C code (called .obj files but they are not what a C programmer ... IDE, then select "Make ... ...
    (microsoft.public.vb.general.discussion)
  • Make Help
    ... I built some application and want to just use the obj files to compile ... It seems like when i compiled the source code the first time, ... Q) Should the qmake procedure be used again, but that requires .cpp ...
    (comp.os.linux.development.system)
  • Re: binanry comparison mismatch
    ... I have tried to compile the project via the make to no great difference. ... conversion of VB source code to compiled native code. ... tokenized C code (called .obj files but they are not what a C programmer ... IDE, then select "Make ... ...
    (microsoft.public.vb.general.discussion)
  • Re: FastZlib 1.2.2
    ... it's quite obvious why it doesn't compile. ... The author has commented out the references to linking in the .obj files ... "Nick Rollas" wrote in message ... >> Regards, ...
    (borland.public.delphi.thirdpartytools.general)
  • Re: C++/TCL Need Solution to Compile Error c2784
    ... There's always the "Platform SDK" from MSDN if you need the window.h stuff, ... Since I'm using the Command Prompt rather than the GUI to compile the ... I then tried to compile your source code and I kept getting the same ...
    (comp.lang.tcl)