On 07/04/10 17:50, Pritpal Bedi wrote:

Can you try this:

        [ COMMON ]
PLATFORM  =  linux
COMPILER  =  gcc

        [ GCC ]
{hb_comp} gcc
export HB_COMPILER=gcc

export PATH=$PATH:/home/baz/SVN/harbour/bin/linux/gcc
export PATH=$PATH:/home/baz/SVN/harbour/lib/linux/gcc
export PATH=$PATH:/home/baz/SVN/harbour/include

export PATH=$PATH:/home/_your_gcc_installation_root


      [ COMMON ]
PLATFORM  =  linux
COMPILER  =  gcc

      [GCC]
{hb_comp} gcc
export HB_COMPILER=gcc

export PATH=$PATH:/home/baz/SVN/harbour/bin/linux/gcc
export PATH=$PATH:/home/baz/SVN/harbour/lib/linux/gcc
export PATH=$PATH:/home/baz/SVN/harbour/include
export PATH=$PATH:/usr/bin/gcc:/usr/lib/gcc


Then:

Right-click on project name node
Point to "Select an Environmen..." and then select "GCC" the only option
available
You must be able to see "Env: GCC" in the status-bar panel

Yes - done

Then rebuild.

Infact I do not know how files are managed in .nixes so please make some
experiments in ideprojmanager.prg line#1232
    ::cBatch   := ::oEV:prepareBatch( ::cWrkEnvironment )

Sorry but I can't figure how to debug this.


I have added some more log entries to know exactly what is
happening at the lower levels. Please do all above after r14286.


----------------------------------------------------------------------------------------------------
Project [ ash ]    Launch [ No ]    Rebuild [ No ]    Started [ 21:28:43 ]
----------------------------------------------------------------------------------------------------




                                           : Do Not Exists
hbmk2 /home/baz/hash/ash.hbp -q -trace -info -lang=en
----------------------------------------------------------------------------------------------------
Starting in: home/baz/hash : /home/baz/hash/
/bin/bash: hbmk2 /home/baz/hash/ash.hbp -q -trace -info -lang=en : No such file or directory

----------------------------------------------------------------------------------------------------
Exit Code [ 127 ] Exit Status [ 0 ] Finished at [ 21:28:44 ] Done in [ 0.03 Secs ]
----------------------------------------------------------------------------------------------------

If I build from command line :-

[...@jackodesktop hash]$ hbmk2 /home/baz/hash/ash.hbp -q -trace -info -lang=en hbmk2: Autodetected platform: linux hbmk2: Autodetected C compiler: gcc hbmk2: Using Harbour: /home/baz/SVN/harbour/bin /home/baz/SVN/harbour/include /home/baz/SVN/harbour/lib/linux/gcc /home/baz/SVN/harbour/lib/linux/gcc hbmk2: Harbour compiler command (embedded): (/home/baz/SVN/harbour/bin/linux/gcc/harbour) -n2 /home/baz/hash/ash.prg /home/baz/hash/f_amax.prg /home/baz/hash/b_bget.prg /home/baz/hash/f_getini.prg /home/baz/hash/products.prg
----------------------------snip------------------------------
Builds OK.


_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to