I installed the Cygwin version of prc-tools (using
setup.exe), along with Eclipse, the Palm OS 5 SDK (R3),
and other related items. I have a simple test app that
includes some ARM code as well as 68K code. If I build
the project with [arm|m68k]-palmos-gcc, everything
works. I can replace m68k-palmos-gcc with
m68k-palmos-g++ and still get a working binary. When I
replace arm-palmos-gcc with arm-palmos-g++, though, the
ARM code doesn't build:
arm-palmos-g++ -palmos5r3 -O2 -fomit-frame-pointer
-fno-exceptions -fno-rtti -nostartfiles -o ARMTest
ARMTest.c
/usr/lib/gcc-lib/arm-palmos/3.3.1/../../../../arm-palmos/bin/ld:
cannot find -lm
It's complaining that libm.a is missing. It's present
(as a symlink) in /usr/m68k-palmos/lib, but it's not in
/usr/arm-palmos/lib. In fact, the only libraries in
/usr/arm-palmos/lib are libc.a and libstdc++.a.
I've pulled the CVS tree and will try building from
that to see if I can get the ARM libraries that
way...are these files simply missing from the Cygwin
install packages, or are they not available at all at
this time?
Logged In: YES
user_id=145671
Rebuilding from source didn't fix the problem. For some
reason, though, it doesn't pop up if arm-palmos-g++ is used
only to generate object files...combining the object files
into an executable with arm-palmos-gcc will work.
Now, though, I'm running into a problem with a missing
libnoexcept.a, which is needed for any code that uses new
and delete (which is nearly any non-trivial piece of C++).
Why are these getting built for 68K, but not ARM?