🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.sys.palmtops.pilot
Article #264

Re: HELP! gcc for palm problem

#264
From: J.F. Vercueil
Date: Mon, 02 Apr 2001 07:10
88 lines
6166 bytes
--------------4264BF90E23F3D57EB08BF5C
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

Li Ma wrote:

> Hi there,
>
> I want to learn Palm programming, so downloaded gcc, PRC-tools from
> Palm.com. I also bought a book called "Palm Programming Bible". I installed
> Cygwin, PRC-Tools and Palm SDK. Then try to compile the Hello World example
> from CD come with the book. But I received this error:
>
>     m68k-palmos-gcc -O2 -c hello.c -o hello.o
>     cpp: unrecognized option `-remap'
>     In file included from hello.c:14:
>     /PalmDev/include/PalmOS.h:25: SystemPublic.h: No such file or directory
>     /PalmDev/include/PalmOS.h:26: UIPublic.h: No such file or directory

As you can see these two files could not be found. You firstly have to make
sure you have them and secondly make sure they are in your
path..."/etc/resolve.conf".
Otherwise use the -I switch ( I think that is it but check it.) to tell gcc
where to get the header files.

>
>     make: *** [hello.o] Error 1
>
> This is the first time I use all those tools mentioned above. Anyone had
> similiar experience? And anyone can give me some help?
>
> Thanks a lot!
>
> Li

--
                               You see a city in the desert lies
                               The vanity of an ancient king
                               The city lies in broken pieces
                               Where the wind howls and the vultures sing

                                          Sting  - Mad About You  (Soul Cages)



--------------4264BF90E23F3D57EB08BF5C
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Li Ma wrote:
<blockquote TYPE=CITE>Hi there,
<p>I want to learn Palm programming, so downloaded gcc, PRC-tools from
<br>Palm.com. I also bought a book called "Palm Programming Bible". I installed
<br>Cygwin, PRC-Tools and Palm SDK. Then try to compile the Hello World
example
<br>from CD come with the book. But I received this error:
<p>&nbsp;&nbsp;&nbsp; m68k-palmos-gcc -O2 -c hello.c -o hello.o
<br>&nbsp;&nbsp;&nbsp; cpp: unrecognized option `-remap'
<br>&nbsp;&nbsp;&nbsp; In file included from hello.c:14:
<br>&nbsp;&nbsp;&nbsp; /PalmDev/include/PalmOS.h:25: SystemPublic.h: No
such file or directory
<br>&nbsp;&nbsp;&nbsp; /PalmDev/include/PalmOS.h:26: UIPublic.h: No such
file or directory</blockquote>
As you can see these two files could not be found. You firstly have to
make sure you have them and secondly make sure they are in your path..."/etc/resolve.conf".
<br>Otherwise use the -I switch ( I think that is it but check it.) to
tell gcc where to get the header files.
<blockquote TYPE=CITE>&nbsp;
<br>&nbsp;&nbsp;&nbsp; make: *** [hello.o] Error 1
<p>This is the first time I use all those tools mentioned above. Anyone
had
<br>similiar experience? And anyone can give me some help?
<p>Thanks a lot!
<p>Li</blockquote>

<pre>--&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; You see a city in the desert lies&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The vanity of an ancient king&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The city lies in broken pieces&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Where the wind howls and the vultures sing&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Sting&nbsp; - Mad About You&nbsp; (Soul Cages)</pre>
&nbsp;</html>

--------------4264BF90E23F3D57EB08BF5C--
Technical Details
Message-ID: <3AC825D4.B083A01B@iafrica.com>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!iafrica.com!news1.mweb.co.za!nld-dial-196-7-202-57.mweb.co.za
References: <TvSx6.463054$w35.71537328@news1.rdc1.nj.home.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,3ff9c224163e690e
X-Google-Attributes: gid11318c,public
X-Google-Thread: 109e18,3ff9c224163e690e
X-Google-Attributes: gid109e18,public
X-Google-Thread: 10baa0,3ff9c224163e690e
X-Google-Attributes: gid10baa0,public
X-Google-Thread: 112073,3ff9c224163e690e
X-Google-Attributes: gid112073,public
X-Google-Thread: 11219a,3ff9c224163e690e
X-Google-Attributes: gid11219a,public
X-Google-Thread: 111acd,3ff9c224163e690e
X-Google-Attributes: gid111acd,public
X-Google-ArrivalTime: 2001-04-02 00:12:03 PST
Message-ID: <3AC825D4.B083A01B@iafrica.com>
Date: Mon, 02 Apr 2001 09:10:12 +0200
From: "J.F. Vercueil" <vercueil@iafrica.com>
X-Mailer: Mozilla 4.7 [en] (X11; I; Linux 2.4.2 i586)
X-Accept-Language: en
MIME-Version: 1.0
Newsgroups: alt.comp.sys.palmtops.pilot,codewarrior.palm,comp.sys.handhelds,comp.sys.palmtops,comp.sys.palmtops.pilot,gnu.gcc.help
Subject: Re: HELP! gcc for palm problem
References: <TvSx6.463054$w35.71537328@news1.rdc1.nj.home.com>
Content-Type: multipart/alternative;
 boundary="------------4264BF90E23F3D57EB08BF5C"
NNTP-Posting-Host: nld-dial-196-7-202-57.mweb.co.za
X-Trace: 2 Apr 2001 09:08:47 +0200, nld-dial-196-7-202-57.mweb.co.za
Lines: 89
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-03!supernews.com!freenix!news-hog.berkeley.edu!ucberkeley!enews.sgi.com!iafrica.com!news1.mweb.co.za!nld-dial-196-7-202-57.mweb.co.za