Difference between revisions of "SDK Compatibility"

From WikiPrizm
Jump to navigationJump to search
(Remove old miniSDK compatability information)
 
(One intermediate revision by one other user not shown)
Line 2: Line 2:
 
The original fx-9860-derived "miniSDK" contains some strange design decisions.  Some of these have been improved in libfxcg, mostly by moving header files around and renaming some functions.  The full list of renamed functions is given in [[:Category:Renamed Syscalls]].
 
The original fx-9860-derived "miniSDK" contains some strange design decisions.  Some of these have been improved in libfxcg, mostly by moving header files around and renaming some functions.  The full list of renamed functions is given in [[:Category:Renamed Syscalls]].
  
Many older programs will not compile successfully with the new libfxcg.  If the symbol <tt>_FXCG_MINICOMPAT</tt> is defined at compile-time, the legacy symbols will be provided and mapped to the new names, and the legacy headers will become available.  It is strongly recommended that all new development use the new names exclusively.
+
Many older programs will not compile successfully with the new libfxcg.  It used to be the case that defining the symbol <tt>_FXCG_MINICOMPAT</tt> mapped old names to the new headers, but this has been removed.
 
 
In most cases, this should involve simply adding a command-line argument to the compiler invocation to define the symbol.  For example, in the typical Makefile:
 
CFLAGS=-m4a-nofpu -mb -Os -mhitachi -Wall -nostdlib -I../include -lfxcg -lgcc -L../lib -D_FXCG_MINICOMPAT
 
 
 
If you use the minicompat mode and find something that doesn't work as expected, consider it a bug and please report it.
 

Latest revision as of 16:25, 7 October 2021

This page has not been completed. Parts may be missing or reorganized before completed. Information is provided as-is and may have errors.

The original fx-9860-derived "miniSDK" contains some strange design decisions. Some of these have been improved in libfxcg, mostly by moving header files around and renaming some functions. The full list of renamed functions is given in Category:Renamed Syscalls.

Many older programs will not compile successfully with the new libfxcg. It used to be the case that defining the symbol _FXCG_MINICOMPAT mapped old names to the new headers, but this has been removed.