From: tiwag on
On 13 Okt., 15:41, "dataj...(a)gmail.com" <dataj...(a)gmail.com> wrote:
>
> I'll document the exact steps for the next update (sometime next
> month).  For now you just need gcc, X11, and GTK.  With some effort
> GTK can be dropped.

thanks for the info,
i managed it to get it running with minimal requirements

additional to the above a library called "pango" was necessary.

thanks,
tiwag
From: tiwag on

another issue with the supplied arm-elf-gcc from your hpgcc.tgz
package

the hpgccenv script sets the HPGCC environment variable to a cygwin-
styled
path, but the arm-elf-gcc doesn't like this path format. it seems,
that it only
works with a DOS styled format in order to find include and library
pathes.


see log from the bash:


~/hpgcc/test $ make clean
rm -f *.o
rm -f *.hp
rm -f *.exe

############################################ dos-style
##########################################

~/hpgcc/test $ echo $HPGCC
I:/cygwin_tiwag/hpgcc/2.0SP2

~/hpgcc/test $ make hello.hp
arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian -fomit-frame-
pointer -m
soft-float -Wall -Os -II:/cygwin_tiwag/hpgcc/2.0SP2/include -LI:/
cygwin_tiwag/hp
gcc/2.0SP2/lib -mthumb-interwork -mthumb -c hello.c
arm-elf-ld -LI:/cygwin_tiwag/hpgcc/2.0SP2/lib -T VCld.script I:/
cygwin_tiwag/hpg
cc/2.0SP2/lib/crt0.o hello.o -lhpg -lhplib -lgcc -o hello.exe
elf2hp hello.exe hello.hp
rm hello.o hello.exe

#############################################################################################
OK

~/hpgcc/test $ make clean
rm -f *.o
rm -f *.hp
rm -f *.exe

~/hpgcc/test $ cd ..
~/hpgcc $ . hpgccenv

~/hpgcc $ cd test

######################################### cygwin-style
##########################################

~/hpgcc/test $ echo $HPGCC
/cygdrive/i/cygwin_tiwag/hpgcc/2.0SP2

~/hpgcc/test $ make hello.hp
arm-elf-gcc -mtune=arm920t -mcpu=arm920t -mlittle-endian -fomit-frame-
pointer -m
soft-float -Wall -Os -I/cygdrive/i/cygwin_tiwag/hpgcc/2.0SP2/include -
L/cygdrive
/i/cygwin_tiwag/hpgcc/2.0SP2/lib -mthumb-interwork -mthumb -c hello.c
hello.c:1:21: error: hpgcc49.h: No such file or directory
hello.c: In function 'main':
hello.c:5: warning: implicit declaration of function 'clear_screen'
hello.c:6: warning: implicit declaration of function 'printf'
hello.c:6: warning: incompatible implicit declaration of built-in
function 'prin
tf'
hello.c:7: error: 'WAIT_CANCEL' undeclared (first use in this
function)
hello.c:7: error: (Each undeclared identifier is reported only once
hello.c:7: error: for each function it appears in.)
make: *** [hello.o] Error 1

###########################################################################################
ERROR




this could be confusing for beginners ...