This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [Pilot-Unix] gcc for Palm Pilot (fwd)


General rule about cross compiling: -I/usr/include is *always* wrong :-)
Actually, that's a general rule about gcc, even native (since it
subverts anything fixincludes might have done...) but for cross tools,
it is certainly wrong, because once you're using them, /usr/include is
headers for the HOST (ppc-linux) and you need headers for the target
(m68k-palmos-coff.) 

You probably want to get the header files from the palmos devkit.
Actually, to stay sane, you may wish to grab the redhat or debian
prebuilt pilot cross tools and pull the header file set out of
that...   
			_Mark_ <eichin@thok.org>
			The Herd Of Kittens

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]