gnupic: compiling gpal
Subject:
compiling gpal
From:
Geoff Horn ####@####.####
Date:
16 Dec 2004 12:33:58 +0000
Message-Id: <200412161234.57812.geoff@gwh.uklinux.net>
I'm having trouble with compiling gpal programs. Specifically I've tried the
example from David McNab (2004-10-24) and using the command line he gave
"gpal -c helloleds.pal p16f873a.pub"
I get the error:
"helloleds.pub: No such file or directory".
Creating an empty helloleds.pub (apart from public/end public statements) got
me past that point only to get:
"error: processor not selected".
Adding -p 16f873a to the command line gets me
"p16f873a.pub:6: warning: processor superseded by command line"
"helloleds.pal:5: warning: processor superseded by command line"
If the processor has been superseded, why on earth is it complaining of it not
being selected? How is it selected?
Does someone have a definitive method for compiling such a simple program? I
find the requirement to specify the processor so many times in so many ways
offputting and confusing! Cannot it just be specified once? After all if I
have a statement in my pal file: "with p16f873a", my intentions are clear.
Please put me out of my misery!
Alternatively can someone point me where to look in the available
documentation for a clear explanation?
Yup, I'm not a programmer and I would like to move away from Jal and use gpal.
Geoff