Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Compilateur pour PocketPC

4 réponses
Avatar
Quoi ma gueulle(R) ?
Bonjour,
je recherche un compilateur qui fonctionne directement sur un PocketPC
afin de me faire des EXE.

J'ai entendu parler de GCC, mais j'y connais rien.

avez vous une idee ?

merci d'avance.

4 réponses

Avatar
Quoi ma gueulle(R) ?
On Sat, 16 Apr 2005 18:01:29 +0200, "Quoi ma gueulle(R) ?" wrote:

Bonjour,
je recherche un compilateur qui fonctionne directement sur un PocketPC
afin de me faire des EXE.

J'ai entendu parler de GCC, mais j'y connais rien.

avez vous une idee ?

merci d'avance.





Quand je tape pgcccc1plus tempcalibrageconversion.c
J'ai droit a : Warning Null character(s) ignored a chaque caractere de chaque ligne.

Késako ?
merci d'avance.


PS :
Bon ben ca c'est l'aide en ligne de commande pour CC1PLUS.EXE :
Switches:
-include <file> Include the contents of <file> before other files
-imacros <file> Accept definition of macros in <file>
-iprefix <path> Specify <path> as a prefix for next two options
-iwithprefix <dir> Add <dir> to the end of the system include path
-iwithprefixbefore <dir> Add <dir> to the end of the main include path
-isystem <dir> Add <dir> to the start of the system include path
-idirafter <dir> Add <dir> to the end of the system include path
-I <dir> Add <dir> to the end of the main include path
-I- Fine-grained include path control; see info docs
-nostdinc Do not search system include directories
(dirs specified with -isystem will still be used)
-nostdinc++ Do not search system include directories for C++
-o <file> Put output into <file>
-pedantic Issue all warnings demanded by strict ISO C
-pedantic-errors Issue -pedantic warnings as errors instead
-trigraphs Support ISO C trigraphs
-lang-c Assume that the input sources are in C
-lang-c89 Assume that the input sources are in C89
-lang-c++ Assume that the input sources are in C++
-lang-objc Assume that the input sources are in ObjectiveC
-lang-objc++ Assume that the input sources are in ObjectiveC++
-lang-asm Assume that the input sources are in assembler
-std=<std name> Specify the conformance standard; one of:
gnu89, gnu99, c89, c99, iso9899:1990,
iso9899:199409, iso9899:1999
-+ Allow parsing of C++ style features
-w Inhibit warning messages
-Wtrigraphs Warn if trigraphs are encountered
-Wno-trigraphs Do not warn about trigraphs
-Wcomment{s} Warn if one comment starts inside another
-Wno-comment{s} Do not warn about comments
-Wtraditional Warn about features not present in traditional C
-Wno-traditional Do not warn about traditional C
-Wundef Warn if an undefined macro is used by #if
-Wno-undef Do not warn about testing undefined macros
-Wimport Warn about the use of the #import directive
-Wno-import Do not warn about the use of #import
-Werror Treat all warnings as errors
-Wno-error Do not treat warnings as errors
-Wsystem-headers Do not suppress warnings from system headers
-Wno-system-headers Suppress warnings from system headers
-Wall Enable all preprocessor warnings
-M Generate make dependencies
-MM As -M, but ignore system header files
-MD Generate make dependencies and compile
-MMD As -MD, but ignore system header files
-MF <file> Write dependency output to the given file
-MG Treat missing header file as generated files
-MP Generate phony targets for all headers
-MQ <target> Add a MAKE-quoted target
-MT <target> Add an unquoted target
-D<macro> Define a <macro> with string '1' as its value
-D<macro>=<val> Define a <macro> with <val> as its value
-A<question>=<answer> Assert the <answer> to <question>
-A-<question>=<answer> Disable the <answer> to <question>
-U<macro> Undefine <macro>
-v Display the version number
-H Print the name of header files as they are used
-C Do not discard comments
-dM Display a list of macro definitions active at end
-dD Preserve macro definitions in output
-dN As -dD except that only the names are preserved
-dI Include #include directives in the output
-fpreprocessed Treat the input file as already preprocessed
-ftabstop=<number> Distance between tab stops for column reporting
-P Do not generate #line directives
-$ Do not allow '$' in identifiers
-remap Remap file names when including files
--version Display version information
-h or --help Display this information
-ffixed-<register> Mark <register> as being unavailable to the compiler
-fcall-used-<register> Mark <register> as being corrupted by function calls
-fcall-saved-<register> Mark <register> as being preserved across functions
-finline-limit=<number> Limits the size of inlined functions to <number>
-fmessage-length=<number> Limits diagnostics messages lengths to <number> characters per line. 0 suppresses line-wrapping
-fdiagnostics-show-location=[once | every-line] Indicates how often source location information should be emitted, as prefix, at the beginning of
diagnostics when line-wrapping
-ftrapv Trap for signed overflow in addition / subtraction / multiplication
-fsingle-precision-constant Convert floating point constant to single precision constant
-fbounds-check Generate code to check bounds before dereferencing pointers and arrays
-fbounded-pointers Compile pointers as triples: value, base & end
-funsafe-math-optimizations Allow math optimizations that may violate IEEE or ANSI standards
-ftrapping-math Floating-point operations can trap
-fmath-errno Set errno after built-in math functions
-fguess-branch-probability Enables guessing of branch probabilities
-fpeephole2 Enables an rtl peephole pass run before sched2
-fident Process #ident directives
-fssa-dce Enable aggressive SSA dead code elimination
-fssa-ccp Enable SSA conditional constant propagation
-fssa Enable SSA optimizations
-finstrument-functions Instrument function entry/exit with profiling calls
-fdump-unnumbered Suppress output of instruction numbers and line number notes in debugging dumps
-fmerge-all-constants Attempt to merge identical constants and constant variables
-fmerge-constants Attempt to merge identical constants accross compilation units
-falign-functions Align the start of functions
-falign-labels Align all labels
-falign-jumps Align labels which are only reached by jumping
-falign-loops Align the start of loops
-fstrict-aliasing Assume strict aliasing rules apply
-fargument-noalias-global Assume arguments do not alias each other or globals
-fargument-noalias Assume arguments may alias globals but not each other
-fargument-alias Specify that arguments may alias each other & globals
-fstack-check Insert stack checking code into the program
-fpack-struct Pack structure members together without holes
-foptimize-register-move Do the full regmove optimization pass
-fregmove Enables a register move optimization
-fgnu-linker Output GNU ld formatted global initializers
-fverbose-asm Add extra commentry to assembler output
-fdata-sections place data items into their own section
-ffunction-sections place each function into its own section
-finhibit-size-directive Do not generate .size directives
-fcommon Do not put uninitialized globals in the common section
-fcprop-registers Do the register copy-propagation optimization pass
-frename-registers Do the register renaming optimization pass
-freorder-blocks Reorder basic blocks to improve code placement
-fbranch-probabilities Use profiling information for branch probabilities
-ftest-coverage Create data files needed by gcov
-fprofile-arcs Insert arc based program profiling code
-fnon-call-exceptions Support synchronous non-call exceptions
-fasynchronous-unwind-tables Generate unwind tables exact at each instruction boundary
-funwind-tables Just generate unwind tables for exception handling
-fexceptions Enable exception handling
-fpic Generate position independent code, if possible
-fbranch-count-reg Replace add,compare,branch with branch on count reg
-fsched-spec-load-dangerous Allow speculative motion of more loads
-fsched-spec-load Allow speculative motion of some loads
-fsched-spec Allow speculative motion of non-loads
-fsched-interblock Enable scheduling across basic blocks
-fschedule-insns2 Reschedule instructions after register allocation
-fschedule-insns Reschedule instructions before register allocation
-fpretend-float Pretend that host and target use the same FP format
-fdelete-null-pointer-checks Delete useless null pointer checks
-frerun-loop-opt Run the loop optimizer twice
-frerun-cse-after-loop Run CSE pass after loop optimizations
-fgcse-sm Perform store motion after global subexpression elimination
-fgcse-lm Perform enhanced load motion during global subexpression elimination
-fgcse Perform the global common subexpression elimination
-fdelayed-branch Attempt to fill delay slots of branch instructions
-freg-struct-return Return 'short' aggregates in registers
-fpcc-struct-return Return 'short' aggregates in memory, not registers
-fcaller-saves Enable saving registers around function calls
-fshared-data Mark data as shared rather than private
-fsyntax-only Check for syntax errors, then stop
-fkeep-static-consts Emit static const variables even if they are not used
-finline Pay attention to the 'inline' keyword
-fkeep-inline-functions Generate code for funcs even if they are fully inlined
-finline-functions Integrate simple functions into their callers
-ffunction-cse Allow function addresses to be held in registers
-fforce-addr Copy memory address constants into regs before using
-fforce-mem Copy memory operands into registers before using
-fpeephole Enable machine specific peephole optimizations
-fwritable-strings Store strings in writable data section
-freduce-all-givs Strength reduce all loop general induction variables
-fmove-all-movables Force all loop invariant computations out of loops
-fprefetch-loop-arrays Generate prefetch instructions, if available, for arrays in loops
-funroll-all-loops Perform loop unrolling for all loops
-funroll-loops Perform loop unrolling when iteration count is known
-fstrength-reduce Perform strength reduction optimizations
-fthread-jumps Perform jump threading optimizations
-fexpensive-optimizations Perform a number of minor, expensive optimizations
-fcse-skip-blocks When running CSE, follow conditional jumps
-fcse-follow-jumps When running CSE, follow jumps to their targets
-foptimize-sibling-calls Optimize sibling and tail recursive calls
-fomit-frame-pointer When possible do not generate stack frames
-fdefer-pop Defer popping functions args from stack until later
-fvolatile-static Consider all mem refs to static data to be volatile
-fvolatile-global Consider all mem refs to global data to be volatile
-fvolatile Consider all mem refs through pointers as volatile
-ffloat-store Do not store floats in registers
-feliminate-dwarf2-dups Perform DWARF2 duplicate elimination
-O[number] Set optimization level to [number]
-Os Optimize for space rather than speed
--param max-gcse-passes=<value> The maximum number of passes to make when doing GCSE
--param max-gcse-memory=<value> The maximum amount of memory to be allocated by GCSE
--param max-pending-list-length=<value> The maximum length of scheduling's pending operations list
--param max-delay-slot-live-search=<value> The maximum number of instructions to consider to find accurate live register information
--param max-delay-slot-insn-search=<value> The maximum number of instructions to consider to fill a delay slot
--param max-inline-insns=<value> The maximum number of instructions in a function that is eligible for inlining
-pedantic Issue warnings needed by strict compliance to ISO C
-pedantic-errors Like -pedantic except that errors are produced
-w Suppress warnings
-W Enable extra warnings
-Wmissing-noreturn Warn about functions which might be candidates for attribute noreturn
-Wdeprecated-declarations Warn about uses of __attribute__((deprecated)) declarations
-Wdisabled-optimization Warn when an optimization pass is disabled
-Wpadded Warn when padding is required to align struct members
-Wpacked Warn when the packed attribute has no effect on struct layout
-Winline Warn when an inlined function cannot be inlined
-Wuninitialized Warn about uninitialized automatic variables
-Wunreachable-code Warn about code that will never be executed
-Wcast-align Warn about pointer casts which increase alignment
-Waggregate-return Warn about returning structures, unions or arrays
-Wswitch Warn about enumerated switches missing a specific case
-Wshadow Warn when one local variable shadows another
-Werror Treat all warnings as errors
-Wsystem-headers Do not suppress warnings from system headers
-Wunused-value Warn when an expression value is unused
-Wunused-variable Warn when a variable is unused
-Wunused-parameter Warn when a function parameter is unused
-Wunused-label Warn when a label is unused
-Wunused-function Warn when a function is unused
-Wunused Enable unused warnings
-Wlarger-than-<number> Warn if an object is larger than <number> bytes
-p Enable function profiling
-o <file> Place output into <file>
-G <number> Put global and static data smaller than <number>
bytes into a special section (on some targets)
-gcoff Generate COFF format debug info
-gstabs+ Generate extended STABS format debug info
-gstabs Generate STABS format debug info
-ggdb Generate debugging info in default extended format
-g Generate debugging info in default format
-aux-info <file> Emit declaration info into <file>
-version Display the compiler's version
-d[letters] Enable dumps from specific passes of the compiler
-dumpbase <file> Base name to be used for dumps from specific passes
-fsched-verbose=<number> Set the verbosity level of the scheduler
--help Display this information

Language specific options:
-ansi Compile just for ISO C89
-fallow-single-precisio Do not promote floats to double if using -traditional
-std= Determine language standard
-funsigned-bitfields Make bit-fields by unsigned by default
-fsigned-char Make 'char' be signed by default
-funsigned-char Make 'char' be unsigned by default
-traditional Attempt to support traditional K&R style C
-fno-asm Do not recognize the 'asm' keyword
-fno-builtin Do not recognize any built in functions
-fhosted Assume normal C execution environment
-ffreestanding Assume that standard libraries & main might not exist
-fcond-mismatch Allow different types as args of ? operator
-fdollars-in-identifier Allow the use of $ inside identifiers
-fshort-double Use the same size for double as for float
-fshort-enums Use the smallest fitting integer to hold enums
-fshort-wchar Override the underlying type for wchar_t to `unsigned short'
-Wall Enable most warning messages
-Wbad-function-cast Warn about casting functions to incompatible types
-Wmissing-format-attrib Warn about functions which might be candidates for format attributes
-Wcast-qual Warn about casts which discard qualifiers
-Wchar-subscripts Warn about subscripts whose type is 'char'
-Wcomment Warn if nested comments are detected
-Wcomments Warn if nested comments are detected
-Wconversion Warn about possibly confusing type conversions
-Wformat Warn about printf/scanf/strftime/strfmon format anomalies
-Wno-format-y2k Don't warn about strftime formats yielding 2 digit years
-Wno-format-extra-args Don't warn about too many arguments to format functions
-Wformat-nonliteral Warn about non-string-literal format strings
-Wformat-security Warn about possible security problems with format functions
-Wimplicit-function-dec Warn about implicit function declarations
-Wimplicit-int Warn when a declaration does not specify a type
-Wimport Warn about the use of the #import directive
-Wno-long-long Do not warn about using 'long long' when -pedantic
-Wmain Warn about suspicious declarations of main
-Wmissing-braces Warn about possibly missing braces around initializers
-Wmissing-declarations Warn about global funcs without previous declarations
-Wmissing-prototypes Warn about global funcs without prototypes
-Wmultichar Warn about use of multicharacter literals
-Wnested-externs Warn about externs not at file scope level
-Wparentheses Warn about possible missing parentheses
-Wsequence-point Warn about possible violations of sequence point rules
-Wpointer-arith Warn about function pointer arithmetic
-Wredundant-decls Warn about multiple declarations of the same object
-Wsign-compare Warn about signed/unsigned comparisons
-Wfloat-equal Warn about testing equality of floating point numbers
-Wunknown-pragmas Warn about unrecognized pragmas
-Wstrict-prototypes Warn about non-prototyped function decls
-Wtraditional Warn about constructs whose meaning change in ISO C
-Wtrigraphs Warn when trigraphs are encountered
-Wwrite-strings Mark strings as 'const char *'

Options for C++:
-fno-access-control Do not obey access control semantics
-falt-external-template Change when template instances are emitted
-fcheck-new Check the return value of new
-fconserve-space Reduce size of object files
-fno-const-strings Make string literals `char[]' instead of `const char[]'
-fdump-translation-unit Dump the entire translation unit to a file
-fno-default-inline Do not inline member functions by default
-fno-rtti Do not generate run time type descriptor information
-fno-enforce-eh-specs Do not generate code to check exception specifications
-fno-for-scope Scope of for-init-statement vars extends outside
-fno-gnu-keywords Do not recognize GNU defined keywords
-fhuge-objects Enable support for huge objects
-fno-implement-inlines Export functions even if they can be inlined
-fno-implicit-templates Only emit explicit template instatiations
-fno-implicit-inline-te Only emit explicit instatiations of inline templates
-fms-extensions Don't pedwarn about uses of Microsoft extensions
-foperator-names Recognize and/bitand/bitor/compl/not/or/xor
-fno-optional-diags Disable optional diagnostics
-fpermissive Downgrade conformance errors to warnings
-frepo Enable automatic template instantiation
-fstats Display statistics accumulated during compilation
-ftemplate-depth- Specify maximum template instantiation depth
-fuse-cxa-atexit Use __cxa_atexit to register destructors
-fvtable-gc Discard unused virtual functions
-fvtable-thunks Implement vtables using thunks
-fweak Emit common-like symbols as weak symbols
-fxref Emit cross referencing information
-Wreturn-type Warn about inconsistent return types
-Woverloaded-virtual Warn about overloaded virtual function names
-Wno-ctor-dtor-privacy Don't warn when all ctors/dtors are private
-Wnon-virtual-dtor Warn about non virtual destructors
-Wextern-inline Warn when a function is declared extern, then inline
-Wreorder Warn when the compiler reorders code
-Wsynth Warn when synthesis behavior differs from Cfront
-Wno-pmf-conversions Don't warn when type converting pointers to member functions
-Weffc++ Warn about violations of Effective C++ style rules
-Wsign-promo Warn when overload promotes from unsigned to signed
-Wold-style-cast Warn if a C style cast is used in a program
-Wno-non-template-frien Don't warn when non-templatized friend functions are declared within a template
-Wno-deprecated Don't announce deprecation of compiler features

Target specific options:
-mnop-fun-dllimport Ignore dllimport attribute for functions
-mcaller-super-interworki Thumb: Assume function pointers may go to non-Thumb aware code
-mcallee-super-interworki Thumb: Assume non-static functions may be called from ARM code
-mtpcs-leaf-frame Thumb: Generate (leaf) stack frames even if not needed
-mtpcs-frame Thumb: Generate (non-leaf) stack frames even if not needed
-mthumb Compile for the Thumb not the ARM
-mlong-calls Generate call insns as indirect calls, if necessary
-msingle-pic-base Do not load the PIC register in function prologues
-mno-sched-prolog Do not move instructions into a function's prologue
-mabort-on-noreturn Generate a call to abort if a noreturn function returns
-mthumb-interwork Support calls between Thumb and ARM instruction sets
-mwords-little-endian Assume big endian bytes, little endian words
-mlittle-endian Assume target CPU is configured as little endian
-mbig-endian Assume target CPU is configured as big endian
-mhard-float Use hardware floating point instructions
-msoft-float Use library calls to perform FP operations
-mapcs-reentrant Generate re-entrant, PIC code
-mapcs-float Pass FP arguments in FP registers
-mapcs-26 Use the 26-bit version of the APCS
-mapcs-32 Use the 32-bit version of the APCS
-mpoke-function-name Store function names in object code
-mapcs-frame Generate APCS conformant stack frames
-mpic-register= Specify the register to be used for PIC addressing
-mstructure-size-boundary Specify the minimum bit alignment of structures
-mfp= Specify the version of the floating point emulator
-march= Specify the name of the target architecture
-mcpu= Specify the name of the target CPU


Et j'ai pas encore fait AS.EXE, CCP0.EXE, WINDRES.EXE et LD.EXE

Ca m'aide pas.

Avatar
Quoi ma gueulle(R) ?
On Sat, 16 Apr 2005 18:01:29 +0200, "Quoi ma gueulle(R) ?" wrote:

Bonjour,
je recherche un compilateur qui fonctionne directement sur un PocketPC
afin de me faire des EXE.

J'ai entendu parler de GCC, mais j'y connais rien.

avez vous une idee ?

merci d'avance.





Quand je tape pgcccc1plus tempcalibrageconversion.c
J'ai droit a : Warning Null character(s) ignored a chaque caractere de chaque ligne.

Pourtant quand dans le meme batch je tape :
type tempcalibrageconversion.c
les caractere sont bien visible.

Késako ?
merci d'avance.


PS :
Bon ben ca c'est l'aide en ligne de commande pour CC1PLUS.EXE :
Switches:
-include <file> Include the contents of <file> before other files
-imacros <file> Accept definition of macros in <file>
-iprefix <path> Specify <path> as a prefix for next two options
-iwithprefix <dir> Add <dir> to the end of the system include path
-iwithprefixbefore <dir> Add <dir> to the end of the main include path
-isystem <dir> Add <dir> to the start of the system include path
-idirafter <dir> Add <dir> to the end of the system include path
-I <dir> Add <dir> to the end of the main include path
-I- Fine-grained include path control; see info docs
-nostdinc Do not search system include directories
(dirs specified with -isystem will still be used)
-nostdinc++ Do not search system include directories for C++
-o <file> Put output into <file>
-pedantic Issue all warnings demanded by strict ISO C
-pedantic-errors Issue -pedantic warnings as errors instead
-trigraphs Support ISO C trigraphs
-lang-c Assume that the input sources are in C
-lang-c89 Assume that the input sources are in C89
-lang-c++ Assume that the input sources are in C++
-lang-objc Assume that the input sources are in ObjectiveC
-lang-objc++ Assume that the input sources are in ObjectiveC++
-lang-asm Assume that the input sources are in assembler
-std=<std name> Specify the conformance standard; one of:
gnu89, gnu99, c89, c99, iso9899:1990,
iso9899:199409, iso9899:1999
-+ Allow parsing of C++ style features
-w Inhibit warning messages
-Wtrigraphs Warn if trigraphs are encountered
-Wno-trigraphs Do not warn about trigraphs
-Wcomment{s} Warn if one comment starts inside another
-Wno-comment{s} Do not warn about comments
-Wtraditional Warn about features not present in traditional C
-Wno-traditional Do not warn about traditional C
-Wundef Warn if an undefined macro is used by #if
-Wno-undef Do not warn about testing undefined macros
-Wimport Warn about the use of the #import directive
-Wno-import Do not warn about the use of #import
-Werror Treat all warnings as errors
-Wno-error Do not treat warnings as errors
-Wsystem-headers Do not suppress warnings from system headers
-Wno-system-headers Suppress warnings from system headers
-Wall Enable all preprocessor warnings
-M Generate make dependencies
-MM As -M, but ignore system header files
-MD Generate make dependencies and compile
-MMD As -MD, but ignore system header files
-MF <file> Write dependency output to the given file
-MG Treat missing header file as generated files
-MP Generate phony targets for all headers
-MQ <target> Add a MAKE-quoted target
-MT <target> Add an unquoted target
-D<macro> Define a <macro> with string '1' as its value
-D<macro>=<val> Define a <macro> with <val> as its value
-A<question>=<answer> Assert the <answer> to <question>
-A-<question>=<answer> Disable the <answer> to <question>
-U<macro> Undefine <macro>
-v Display the version number
-H Print the name of header files as they are used
-C Do not discard comments
-dM Display a list of macro definitions active at end
-dD Preserve macro definitions in output
-dN As -dD except that only the names are preserved
-dI Include #include directives in the output
-fpreprocessed Treat the input file as already preprocessed
-ftabstop=<number> Distance between tab stops for column reporting
-P Do not generate #line directives
-$ Do not allow '$' in identifiers
-remap Remap file names when including files
--version Display version information
-h or --help Display this information
-ffixed-<register> Mark <register> as being unavailable to the compiler
-fcall-used-<register> Mark <register> as being corrupted by function calls
-fcall-saved-<register> Mark <register> as being preserved across functions
-finline-limit=<number> Limits the size of inlined functions to <number>
-fmessage-length=<number> Limits diagnostics messages lengths to <number> characters per line. 0 suppresses line-wrapping
-fdiagnostics-show-location=[once | every-line] Indicates how often source location information should be emitted, as prefix, at the beginning of
diagnostics when line-wrapping
-ftrapv Trap for signed overflow in addition / subtraction / multiplication
-fsingle-precision-constant Convert floating point constant to single precision constant
-fbounds-check Generate code to check bounds before dereferencing pointers and arrays
-fbounded-pointers Compile pointers as triples: value, base & end
-funsafe-math-optimizations Allow math optimizations that may violate IEEE or ANSI standards
-ftrapping-math Floating-point operations can trap
-fmath-errno Set errno after built-in math functions
-fguess-branch-probability Enables guessing of branch probabilities
-fpeephole2 Enables an rtl peephole pass run before sched2
-fident Process #ident directives
-fssa-dce Enable aggressive SSA dead code elimination
-fssa-ccp Enable SSA conditional constant propagation
-fssa Enable SSA optimizations
-finstrument-functions Instrument function entry/exit with profiling calls
-fdump-unnumbered Suppress output of instruction numbers and line number notes in debugging dumps
-fmerge-all-constants Attempt to merge identical constants and constant variables
-fmerge-constants Attempt to merge identical constants accross compilation units
-falign-functions Align the start of functions
-falign-labels Align all labels
-falign-jumps Align labels which are only reached by jumping
-falign-loops Align the start of loops
-fstrict-aliasing Assume strict aliasing rules apply
-fargument-noalias-global Assume arguments do not alias each other or globals
-fargument-noalias Assume arguments may alias globals but not each other
-fargument-alias Specify that arguments may alias each other & globals
-fstack-check Insert stack checking code into the program
-fpack-struct Pack structure members together without holes
-foptimize-register-move Do the full regmove optimization pass
-fregmove Enables a register move optimization
-fgnu-linker Output GNU ld formatted global initializers
-fverbose-asm Add extra commentry to assembler output
-fdata-sections place data items into their own section
-ffunction-sections place each function into its own section
-finhibit-size-directive Do not generate .size directives
-fcommon Do not put uninitialized globals in the common section
-fcprop-registers Do the register copy-propagation optimization pass
-frename-registers Do the register renaming optimization pass
-freorder-blocks Reorder basic blocks to improve code placement
-fbranch-probabilities Use profiling information for branch probabilities
-ftest-coverage Create data files needed by gcov
-fprofile-arcs Insert arc based program profiling code
-fnon-call-exceptions Support synchronous non-call exceptions
-fasynchronous-unwind-tables Generate unwind tables exact at each instruction boundary
-funwind-tables Just generate unwind tables for exception handling
-fexceptions Enable exception handling
-fpic Generate position independent code, if possible
-fbranch-count-reg Replace add,compare,branch with branch on count reg
-fsched-spec-load-dangerous Allow speculative motion of more loads
-fsched-spec-load Allow speculative motion of some loads
-fsched-spec Allow speculative motion of non-loads
-fsched-interblock Enable scheduling across basic blocks
-fschedule-insns2 Reschedule instructions after register allocation
-fschedule-insns Reschedule instructions before register allocation
-fpretend-float Pretend that host and target use the same FP format
-fdelete-null-pointer-checks Delete useless null pointer checks
-frerun-loop-opt Run the loop optimizer twice
-frerun-cse-after-loop Run CSE pass after loop optimizations
-fgcse-sm Perform store motion after global subexpression elimination
-fgcse-lm Perform enhanced load motion during global subexpression elimination
-fgcse Perform the global common subexpression elimination
-fdelayed-branch Attempt to fill delay slots of branch instructions
-freg-struct-return Return 'short' aggregates in registers
-fpcc-struct-return Return 'short' aggregates in memory, not registers
-fcaller-saves Enable saving registers around function calls
-fshared-data Mark data as shared rather than private
-fsyntax-only Check for syntax errors, then stop
-fkeep-static-consts Emit static const variables even if they are not used
-finline Pay attention to the 'inline' keyword
-fkeep-inline-functions Generate code for funcs even if they are fully inlined
-finline-functions Integrate simple functions into their callers
-ffunction-cse Allow function addresses to be held in registers
-fforce-addr Copy memory address constants into regs before using
-fforce-mem Copy memory operands into registers before using
-fpeephole Enable machine specific peephole optimizations
-fwritable-strings Store strings in writable data section
-freduce-all-givs Strength reduce all loop general induction variables
-fmove-all-movables Force all loop invariant computations out of loops
-fprefetch-loop-arrays Generate prefetch instructions, if available, for arrays in loops
-funroll-all-loops Perform loop unrolling for all loops
-funroll-loops Perform loop unrolling when iteration count is known
-fstrength-reduce Perform strength reduction optimizations
-fthread-jumps Perform jump threading optimizations
-fexpensive-optimizations Perform a number of minor, expensive optimizations
-fcse-skip-blocks When running CSE, follow conditional jumps
-fcse-follow-jumps When running CSE, follow jumps to their targets
-foptimize-sibling-calls Optimize sibling and tail recursive calls
-fomit-frame-pointer When possible do not generate stack frames
-fdefer-pop Defer popping functions args from stack until later
-fvolatile-static Consider all mem refs to static data to be volatile
-fvolatile-global Consider all mem refs to global data to be volatile
-fvolatile Consider all mem refs through pointers as volatile
-ffloat-store Do not store floats in registers
-feliminate-dwarf2-dups Perform DWARF2 duplicate elimination
-O[number] Set optimization level to [number]
-Os Optimize for space rather than speed
--param max-gcse-passes=<value> The maximum number of passes to make when doing GCSE
--param max-gcse-memory=<value> The maximum amount of memory to be allocated by GCSE
--param max-pending-list-length=<value> The maximum length of scheduling's pending operations list
--param max-delay-slot-live-search=<value> The maximum number of instructions to consider to find accurate live register information
--param max-delay-slot-insn-search=<value> The maximum number of instructions to consider to fill a delay slot
--param max-inline-insns=<value> The maximum number of instructions in a function that is eligible for inlining
-pedantic Issue warnings needed by strict compliance to ISO C
-pedantic-errors Like -pedantic except that errors are produced
-w Suppress warnings
-W Enable extra warnings
-Wmissing-noreturn Warn about functions which might be candidates for attribute noreturn
-Wdeprecated-declarations Warn about uses of __attribute__((deprecated)) declarations
-Wdisabled-optimization Warn when an optimization pass is disabled
-Wpadded Warn when padding is required to align struct members
-Wpacked Warn when the packed attribute has no effect on struct layout
-Winline Warn when an inlined function cannot be inlined
-Wuninitialized Warn about uninitialized automatic variables
-Wunreachable-code Warn about code that will never be executed
-Wcast-align Warn about pointer casts which increase alignment
-Waggregate-return Warn about returning structures, unions or arrays
-Wswitch Warn about enumerated switches missing a specific case
-Wshadow Warn when one local variable shadows another
-Werror Treat all warnings as errors
-Wsystem-headers Do not suppress warnings from system headers
-Wunused-value Warn when an expression value is unused
-Wunused-variable Warn when a variable is unused
-Wunused-parameter Warn when a function parameter is unused
-Wunused-label Warn when a label is unused
-Wunused-function Warn when a function is unused
-Wunused Enable unused warnings
-Wlarger-than-<number> Warn if an object is larger than <number> bytes
-p Enable function profiling
-o <file> Place output into <file>
-G <number> Put global and static data smaller than <number>
bytes into a special section (on some targets)
-gcoff Generate COFF format debug info
-gstabs+ Generate extended STABS format debug info
-gstabs Generate STABS format debug info
-ggdb Generate debugging info in default extended format
-g Generate debugging info in default format
-aux-info <file> Emit declaration info into <file>
-version Display the compiler's version
-d[letters] Enable dumps from specific passes of the compiler
-dumpbase <file> Base name to be used for dumps from specific passes
-fsched-verbose=<number> Set the verbosity level of the scheduler
--help Display this information

Language specific options:
-ansi Compile just for ISO C89
-fallow-single-precisio Do not promote floats to double if using -traditional
-std= Determine language standard
-funsigned-bitfields Make bit-fields by unsigned by default
-fsigned-char Make 'char' be signed by default
-funsigned-char Make 'char' be unsigned by default
-traditional Attempt to support traditional K&R style C
-fno-asm Do not recognize the 'asm' keyword
-fno-builtin Do not recognize any built in functions
-fhosted Assume normal C execution environment
-ffreestanding Assume that standard libraries & main might not exist
-fcond-mismatch Allow different types as args of ? operator
-fdollars-in-identifier Allow the use of $ inside identifiers
-fshort-double Use the same size for double as for float
-fshort-enums Use the smallest fitting integer to hold enums
-fshort-wchar Override the underlying type for wchar_t to `unsigned short'
-Wall Enable most warning messages
-Wbad-function-cast Warn about casting functions to incompatible types
-Wmissing-format-attrib Warn about functions which might be candidates for format attributes
-Wcast-qual Warn about casts which discard qualifiers
-Wchar-subscripts Warn about subscripts whose type is 'char'
-Wcomment Warn if nested comments are detected
-Wcomments Warn if nested comments are detected
-Wconversion Warn about possibly confusing type conversions
-Wformat Warn about printf/scanf/strftime/strfmon format anomalies
-Wno-format-y2k Don't warn about strftime formats yielding 2 digit years
-Wno-format-extra-args Don't warn about too many arguments to format functions
-Wformat-nonliteral Warn about non-string-literal format strings
-Wformat-security Warn about possible security problems with format functions
-Wimplicit-function-dec Warn about implicit function declarations
-Wimplicit-int Warn when a declaration does not specify a type
-Wimport Warn about the use of the #import directive
-Wno-long-long Do not warn about using 'long long' when -pedantic
-Wmain Warn about suspicious declarations of main
-Wmissing-braces Warn about possibly missing braces around initializers
-Wmissing-declarations Warn about global funcs without previous declarations
-Wmissing-prototypes Warn about global funcs without prototypes
-Wmultichar Warn about use of multicharacter literals
-Wnested-externs Warn about externs not at file scope level
-Wparentheses Warn about possible missing parentheses
-Wsequence-point Warn about possible violations of sequence point rules
-Wpointer-arith Warn about function pointer arithmetic
-Wredundant-decls Warn about multiple declarations of the same object
-Wsign-compare Warn about signed/unsigned comparisons
-Wfloat-equal Warn about testing equality of floating point numbers
-Wunknown-pragmas Warn about unrecognized pragmas
-Wstrict-prototypes Warn about non-prototyped function decls
-Wtraditional Warn about constructs whose meaning change in ISO C
-Wtrigraphs Warn when trigraphs are encountered
-Wwrite-strings Mark strings as 'const char *'

Options for C++:
-fno-access-control Do not obey access control semantics
-falt-external-template Change when template instances are emitted
-fcheck-new Check the return value of new
-fconserve-space Reduce size of object files
-fno-const-strings Make string literals `char[]' instead of `const char[]'
-fdump-translation-unit Dump the entire translation unit to a file
-fno-default-inline Do not inline member functions by default
-fno-rtti Do not generate run time type descriptor information
-fno-enforce-eh-specs Do not generate code to check exception specifications
-fno-for-scope Scope of for-init-statement vars extends outside
-fno-gnu-keywords Do not recognize GNU defined keywords
-fhuge-objects Enable support for huge objects
-fno-implement-inlines Export functions even if they can be inlined
-fno-implicit-templates Only emit explicit template instatiations
-fno-implicit-inline-te Only emit explicit instatiations of inline templates
-fms-extensions Don't pedwarn about uses of Microsoft extensions
-foperator-names Recognize and/bitand/bitor/compl/not/or/xor
-fno-optional-diags Disable optional diagnostics
-fpermissive Downgrade conformance errors to warnings
-frepo Enable automatic template instantiation
-fstats Display statistics accumulated during compilation
-ftemplate-depth- Specify maximum template instantiation depth
-fuse-cxa-atexit Use __cxa_atexit to register destructors
-fvtable-gc Discard unused virtual functions
-fvtable-thunks Implement vtables using thunks
-fweak Emit common-like symbols as weak symbols
-fxref Emit cross referencing information
-Wreturn-type Warn about inconsistent return types
-Woverloaded-virtual Warn about overloaded virtual function names
-Wno-ctor-dtor-privacy Don't warn when all ctors/dtors are private
-Wnon-virtual-dtor Warn about non virtual destructors
-Wextern-inline Warn when a function is declared extern, then inline
-Wreorder Warn when the compiler reorders code
-Wsynth Warn when synthesis behavior differs from Cfront
-Wno-pmf-conversions Don't warn when type converting pointers to member functions
-Weffc++ Warn about violations of Effective C++ style rules
-Wsign-promo Warn when overload promotes from unsigned to signed
-Wold-style-cast Warn if a C style cast is used in a program
-Wno-non-template-frien Don't warn when non-templatized friend functions are declared within a template
-Wno-deprecated Don't announce deprecation of compiler features

Target specific options:
-mnop-fun-dllimport Ignore dllimport attribute for functions
-mcaller-super-interworki Thumb: Assume function pointers may go to non-Thumb aware code
-mcallee-super-interworki Thumb: Assume non-static functions may be called from ARM code
-mtpcs-leaf-frame Thumb: Generate (leaf) stack frames even if not needed
-mtpcs-frame Thumb: Generate (non-leaf) stack frames even if not needed
-mthumb Compile for the Thumb not the ARM
-mlong-calls Generate call insns as indirect calls, if necessary
-msingle-pic-base Do not load the PIC register in function prologues
-mno-sched-prolog Do not move instructions into a function's prologue
-mabort-on-noreturn Generate a call to abort if a noreturn function returns
-mthumb-interwork Support calls between Thumb and ARM instruction sets
-mwords-little-endian Assume big endian bytes, little endian words
-mlittle-endian Assume target CPU is configured as little endian
-mbig-endian Assume target CPU is configured as big endian
-mhard-float Use hardware floating point instructions
-msoft-float Use library calls to perform FP operations
-mapcs-reentrant Generate re-entrant, PIC code
-mapcs-float Pass FP arguments in FP registers
-mapcs-26 Use the 26-bit version of the APCS
-mapcs-32 Use the 32-bit version of the APCS
-mpoke-function-name Store function names in object code
-mapcs-frame Generate APCS conformant stack frames
-mpic-register= Specify the register to be used for PIC addressing
-mstructure-size-boundary Specify the minimum bit alignment of structures
-mfp= Specify the version of the floating point emulator
-march= Specify the name of the target architecture
-mcpu= Specify the name of the target CPU


Et j'ai pas encore fait AS.EXE, CCP0.EXE, WINDRES.EXE et LD.EXE

Ca m'aide pas.

Avatar
Mathias Kende
PocketGCC peut-être téléchargé là :
http://www.freewareppc.com/utilities/pocketgcc.shtml
Malheureusement le projet n'est plus supporté par son auteur je pense, car
la dernière version commence déjà à se faire ancienne et le site de l'auteur
n'existe plus.

Si quelqu'un connait une version plus récente, ou un autre compilateur plus
récent tournant sur pocketPC2003, je serais interessé par cette information.
merci.

"Quoi ma gueulle(R) ?" a écrit dans le message de news:

Bonjour,
je recherche un compilateur qui fonctionne directement sur un PocketPC
afin de me faire des EXE.

J'ai entendu parler de GCC, mais j'y connais rien.

avez vous une idee ?

merci d'avance.





Avatar
Quoi ma gueulle(R) ?
On Wed, 20 Apr 2005 18:57:20 +0200, "Mathias Kende"
wrote:

PocketGCC peut-être téléchargé là :
http://www.freewareppc.com/utilities/pocketgcc.shtml
Malheureusement le projet n'est plus supporté par son auteur je pense, car
la dernière version commence déjà à se faire ancienne et le site de l'auteur
n'existe plus.

Si quelqu'un connait une version plus récente, ou un autre compilateur plus
récent tournant sur pocketPC2003, je serais interessé par cette information.
merci.


Je connais merci, mais impossible (a mon niveau) de trouver des info
pour compiler du pocketC. (quel parametre utiliser pour compiler
sachant que c'est pas les meme librairie....