hello
i have one application. when i compile it on linux using prc tools 2.2.1 it
compiles without any problem. but when i try to compile it on windows (with
prctools 2.3 (according to what cygwin installer shows)) it complains that .bss
segment is too big and i can't link app together.
how do
i have one application. when i compile it on linux using prc tools 2.2.1 it
compiles without any problem. but when i try to compile it on windows (with
prctools 2.3 (according to what cygwin installer shows)) it complains that
.bss
segment is too big and i can't link app together.
the
Aaron Ardiri wrote:
the .bss section is for zero initialized globals - do you have anything like
this declared in your code:
unsigned char buffer[0x1];
that kind of stuff ends up in the .bss section - which, is allocated on
startup and memset to 0 :)
no, i don't, most of my globals
Weeks' vacation = long delay in replying, sorry 'bout that.
John Marshall wrote:
*Read* that error message. Your samples' makefiles contain -palmos
options for some SDK that you do not have installed.
Of course you're right, though I'm sure you know there's this pesky gap
between reading and
Aaron Ardiri wrote:
did you actually unzip the sdk's to /PalmDev and then run palmdev-prep?
ie:
The sdks came in RPM form too, so I just installed them as such. However
after reading your reply I did run palmdev-prep and got this:
# palmdev-prep
Checking SDKs in
This is probably a setup rather than programming issue, and if I'm
asking in the wrong place, I'd appreciate a redirection.
Having downloaded and installed prc-tools RPMs from
http://www.palmos.com/dev/tools/gcc/, which installed without errors,
I'm unable to compile a hello.c. Actually, when
/usr/share/prc-tools/include/PalmOS.h:12: #error No genuine PalmOS.h found
/usr/share/prc-tools/include/PalmOS.h:15: warning: #warning use Pilot.h
if you really mean to use the 3.1 SDK or earlier; you may need to run
palmdev-prep or use a suitable -palmosX option -- see
On Fri, 08 Aug 2003 08:04:29 -0500, Mark Slagell [EMAIL PROTECTED]
wrote:
# palmdev-prep
Checking SDKs in /opt/palmdev
sdk-4 headers in 'include', libraries in 'lib'
[...]
When GCC is given no -palmos options, SDK '4' will be used by default
[...]
Next 'make' had the same no genuine