Barry Jackson wrote:
> 
>>> Can you change
>>>          cC   := iif( hbide_getOS() == "nix", "-c ", "/C " )
>>> to
>>>          cC   := iif( hbide_getOS() == "nix", "-c .", "/C " )
>>>
>>> and try again?
>>
>> Rather to:
>>     cC   := iif( hbide_getOS() == "nix", "", "/C " )
>>
>> An .sh file is not a command, so -c is just not needed
>> there.
> 
> I thought I would go with Viktor's version first!
> 
> :-) :-) :-) :-) :-) :-)
> 
> ----------------------------------------------------------------------------------------------------
> Project [ ash ]    Launch [ No ]    Rebuild [ No ]    Started [ 19:04:46 ]
> ----------------------------------------------------------------------------------------------------
> Batch File Exists => /home/baz/tmp/91uqn7.sh
> Batch File Contents =>
> #!/bin/sh
> export PATH=$PATH:/home/baz/SVN/harbour/bin/linux/gcc
> echo "this ran" > /home/baz/hash/ash_hbide.txt
> 
> hbmk2 /home/baz/hash/ash.hbp -q -trace -info -lang=en
> 
> Command => /bin/bash
> Arguments => /home/baz/tmp/91uqn7.sh
> ----------------------------------------------------------------------------------------------------
> CurDir() => home/baz/hash Starting in => /home/baz/hash/
> 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):
> ...
> ----------------------------------------------------------------------------------------------------
> Exit Code [ 0 ]    Exit Status [ 0 ]    Finished at [ 19:04:57 ]    Done
> in [ 10.30 Secs ]
> ----------------------------------------------------------------------------------------------------
> 
> No apologies for posting the whole output as it's been a long time coming!
> 
> This is a non-GUI app and when built with the "build and launch" button 
> the output adds:-
> 
>   Detected exeutable => ash
> 
> Launching application [ /home/baz/hash/ash ]
> 
> ... but nothing further - I don't know if this is correct in this
> situation.
> 
> Well done everyone !
> 

So we succeeded, at last.

Thanks Viktor for pointing to keep everything in.sh/.bat and above tip.
Thanks Przemek for understanding how bash commands work.




-----
     enjoy hbIDEing...
        Pritpal Bedi 
http://hbide.vouch.info/
-- 
View this message in context: 
http://n2.nabble.com/HBIDE-Project-build-start-folder-problem-tp4861627p4886672.html
Sent from the harbour-devel mailing list archive at Nabble.com.
_______________________________________________
Harbour mailing list (attachment size limit: 40KB)
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to