At 02:23 PM 4/28/2004, you wrote:
Thanks ben,

This is a good piece of information. It would be very
good if PalmOS developer suite will support building
static library too.
Since we need it right now, I would use pacc and palib
tool for that.

It would be very helpful if you can forward the syntax
of using pacc tool also. Stating its usage as well as
the option definitions.

"pacc -help" will give you usage information.

PalmSource C/C++ Compiler for ARM(R) Architecture, Version 1.1.0.5A Debug Build
Jan 28 2004
Copyright (C) 2003, PalmSource Inc. All rights reserved.
Portions Copyright (C) 1995-2003, Apogee Software, Inc.

Usage: pacc [options] files

Options:

 -c            Compile source but don't link.
 -C            Retain comments in C preprocessor output, used with -E.
 -D name[=def] Pre-define "name" to the value 1 (or to value "def").
 -E            Preprocess source to console, but don't compile.
 -P            Preprocess source to .i file, but don't compile.
 -g            Include debug information in compiled code.
 -g0           Like -g, but allow explicit function inlining.
 -Idir         Add a directory to the #include search path.
 -L[dir]       Add a directory to the library search path, or clear
               the default search path (if no dir is given).
 -[no]logo     Display (or don't display) the logo banner.
 -o outfile    Specify that output should go to the file "outfile".
 -O            Set optimization to -O3 (extensive global optimization).
 -O[0-5]       Specify optimization: none (0), block (1),
               intra-procedural (2), global (3), inter-procedural (4),
               or extra inlining (5).  O4 and O5 may optimize across
               files.
 -S            Produce assembly files from C source, but don't compile.
 -strict       Use strict ANSI rules for compilation, and emit errors
               for non-standard behavior.
 -U name       Un-define "name".
 -V            Display the version number, and exit immediately.
 -v            Display verbose output, showing all invoked processes.
 -w            Suppress all warning messages.
 -wall         Enable all warning messages.
 -w[e|d|o]#    Message number "#" should be treated as an error (e),
               disabled (d), or emitted only once (o).
 -W[0-4]       Suppress warnings and discretionary errors (0),
               suppress remarks (1, 2), or don't suppress (3, 4).
 -Werror       Treat all compiler warnings as errors.
 -Wstrict      Use strict ANSI rules for compilation, and emit warnings
               for non-standard behavior.

-- Ben Combee, DTS technical lead, PalmSource, Inc.
   Read "Combee on Palm OS" at http://palmos.combee.net/



--
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to