Help with hpgcc tutorial - Hewlett Packard

This is a discussion on Help with hpgcc tutorial - Hewlett Packard ; On Oct 15, 9:26*am, tiwag wrote: > here is a modified hpgccenv which works with all my different > source locations and cygwin installed somewhere. > > ############################################### > ## > ## hpgccenv > ## > > export PATH=$PATH:$PWD/2.0SP2/bin > ...

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 21 to 24 of 24

Thread: Help with hpgcc tutorial

  1. Re: Help with hpgcc tutorial

    On Oct 15, 9:26*am, tiwag wrote:
    > here is a modified hpgccenv which works with all my different
    > source locations and cygwin installed somewhere.
    >
    > ###############################################
    > ##
    > ## hpgccenv
    > ##
    >
    > export PATH=$PATH:$PWD/2.0SP2/bin
    >
    > HPGCCBASEPATH=$(cygpath -m $PWD)
    >
    > export HPGCC=$HPGCCBASEPATH/2.0SP2
    > export HPAPINEROOT=$HPGCCBASEPATH/2.0SP2-hpapine
    >
    > ## debug
    > #echo HPGCCBASEPATH=$HPGCCBASEPATH
    > #echo HPGCC=$HPGCC
    > #echo HPAPINEROOT=$HPAPINEROOT
    >
    > ##
    > ###############################################
    >
    > --
    > tiwag


    Thanks, you just saved me some time. I'll update the tarball today.

  2. Re: Help with hpgcc tutorial

    On Oct 15, 9:26*am, tiwag wrote:
    > here is a modified hpgccenv which works with all my different
    > source locations and cygwin installed somewhere.
    >
    > ###############################################
    > ##
    > ## hpgccenv
    > ##
    >
    > export PATH=$PATH:$PWD/2.0SP2/bin
    >
    > HPGCCBASEPATH=$(cygpath -m $PWD)
    >
    > export HPGCC=$HPGCCBASEPATH/2.0SP2
    > export HPAPINEROOT=$HPGCCBASEPATH/2.0SP2-hpapine
    >
    > ## debug
    > #echo HPGCCBASEPATH=$HPGCCBASEPATH
    > #echo HPGCC=$HPGCC
    > #echo HPAPINEROOT=$HPAPINEROOT
    >
    > ##
    > ###############################################
    >
    > --
    > tiwag


    Thanks. I've added to hpgcc.tgz and uploaded to sense.net.

  3. Re: Help with hpgcc tutorial

    On Oct 14, 3:10*pm, "Paul F. Sehorne" wrote:
    > dataj...@gmail.com wrote:
    > > I need to know:

    >
    > > 1. *OS version
    > > 2. *When did you download hpgcc.tgz
    > > 3. *What does your hpgccenv look like
    > > 4. *The output of the following commands:

    >
    > > cd ~/hpgcc
    > > . hpgccenv (thats DOT SPACE hpgccenv)
    > > echo $HPGCC
    > > echo $PWD

    >
    > OS Version: W2K SP4 5.00.2195
    > Downloaded hpcgcc.tgz 08/31/2008
    > hpgccenv NOW looks like the following:
    > ===== begin hpgccenv =============
    > # PFS: I reversed the order of the PATH in the following line
    > export PATH=$PWD/2.0SP2/bin:$PATH
    > if pwd | grep cygdrive >/dev/null 2>&1
    > then
    > * * * * export HPGCC=$PWD/2.0SP2
    > * * * * export HPGCC=\"${HPGCC##/cygdrive/c}\"
    > else
    > * * * * export HPGCC=$PWD/2.0SP2
    > fi
    >
    > # PFS: Had to provide the complete path from the root of C:
    > # PFS: The compiler did not work with only the path from
    > # PFS: virtual root of the Unix like environment
    > # PFS: /Programming is at C:\Programming
    > export HPGCC=/Programming/cygwin$PWD/2.0SP2
    > export HPAPINEROOT=$PWD/2.0SP2-hpapine
    > ====== end of hpgccenv ============
    >
    > echo $PWD = /home/Paul/hpgcc
    > Output of . hpgccenv *= no ouput at all
    > echo $HPGCC before running hpgccenv *= C:\Programming\HPGCC
    > echo $HPGCC after running hpgccenv =
    > /Programming/cygwin/home/Paul/hpgcc/2.0SP2
    >
    > Paul


    Will you download hpgcc.tgz again and try? I've just updated it.

  4. Re: Help with hpgcc tutorial

    datajerk@gmail.com wrote:
    > Will you download hpgcc.tgz again and try? I've just updated it.



    I downloaded the new hpgcc.tgz earlier when I saw your post announcing
    that you had upgraded the hpgccenv file. However, I had already replaced
    my hpgccenv with the text provided by tiwag. I then changed to
    ~hpgcc/test and issued 'make clean' followed by 'make hello.hp' and
    everything went well. No errors and I have an (untested) hello.hp.

    At this point I assumed there was nothing else in the new tgz that I
    needed. Let me know if there is reason why I should reinstall hpgcc.tgz

    Paul

+ Reply to Thread
Page 2 of 2 FirstFirst 1 2