+ always enable smartlinking on i8086 in the default fpc.cfg

git-svn-id: trunk@29325 -
This commit is contained in:
nickysn 2014-12-25 18:09:53 +00:00
parent ba61a9f95c
commit 1f5fb65bcb
2 changed files with 28 additions and 14 deletions

View File

@ -216,6 +216,13 @@
# Always strip debuginfo from the executable # Always strip debuginfo from the executable
-Xs -Xs
# Always use smartlinking on i8086, because the system unit exceeds the 64kb
# code limit
#ifdef cpui8086
-CX
-XX
#endif
# ------------- # -------------
# Miscellaneous # Miscellaneous

View File

@ -1,7 +1,7 @@
{$ifdef Delphi} {$ifdef Delphi}
const DefaultConfig : array[0..28] of string[240]=( const DefaultConfig : array[0..29] of string[240]=(
{$else Delphi} {$else Delphi}
const DefaultConfig : array[0..28,1..240] of char=( const DefaultConfig : array[0..29,1..240] of char=(
{$endif Delphi} {$endif Delphi}
'#'#013#010+ '#'#013#010+
'# Config file generated by fpcmkcfg on %BUILDDATE% - %BUILDTIME%'#013#010+ '# Config file generated by fpcmkcfg on %BUILDDATE% - %BUILDTIME%'#013#010+
@ -239,8 +239,16 @@ const DefaultConfig : array[0..28,1..240] of char=(
'# Always strip debuginfo from the executable'#013#010+ '# Always strip debuginfo from the executable'#013#010+
'-Xs'#013#010+ '-Xs'#013#010+
#013#010+ #013#010+
'# Always use ','smartlinking on i8086, because the system unit exceeds '+
'the 64kb'#013#010+
'# code limit'#013#010+
'#ifdef cpui8086'#013#010+
'-CX'#013#010+
'-XX'#013#010+
'#endif'#013#010+
#013#010+ #013#010+
'# ---------','----'#013#010+ #013#010+
'# -------------'#013#010+
'# Miscellaneous'#013#010+ '# Miscellaneous'#013#010+
'# -------------'#013#010+ '# -------------'#013#010+
#013#010+ #013#010+
@ -248,24 +256,23 @@ const DefaultConfig : array[0..28,1..240] of char=(
'-l'#013#010+ '-l'#013#010+
#013#010+ #013#010+
'# Verbosity'#013#010+ '# Verbosity'#013#010+
'# e : Show errors (default) d : Show debug info'#013#010+ '# e : Show',' errors (default) d : Show debug info'#013#010+
'# w : Show warnings u : Show unit info'#013#010+ '# w : Show warnings u : Show unit info'#013#010+
'# n : Show notes ',' t : Show tried/used files'#013+ '# n : Show notes t : Show tried/used files'#013#010+
#010+
'# h : Show hints s : Show time stamps'#013#010+ '# h : Show hints s : Show time stamps'#013#010+
'# i : Show general info q : Show message numbers'#013#010+ '# i ',': Show general info q : Show message numbers'#013#010+
'# l : Show linenumbers c : Show conditionals'#013#010+ '# l : Show linenumbers c : Show conditionals'#013#010+
'# a : ','Show everything 0 : Show nothing (except erro'+ '# a : Show everything 0 : Show nothing (except errors'+
'rs)'#013#010+ ')'#013#010+
'# b : Write file names messages r : Rhide/GCC compatibility mod'+ '# b : Write file names messages r : Rhide/','GCC compatibility m'+
'e'#013#010+ 'ode'#013#010+
'# with full path x : Executable info (Win32 only'+ '# with full path x : Executable info (Win32 only'+
')'#013#010+ ')'#013#010+
'# v : write fpcdebug.txt wi','th p : Write tree.log with parse'+ '# v : write fpcdebug.txt with p : Write tree.log with parse t'+
' tree'#013#010+ 'ree'#013#010+
'# lots of debugging info'#013#010+ '# lots of debugging info'#013#010+
'#'#013#010+ '#'#013#010+
'# Display Info, Warnings and Notes'#013#010+ '# Display Info, Warnings and N','otes'#013#010+
'-viwn'#013#010+ '-viwn'#013#010+
'# If you don'#039't want so much verbosity use'#013#010+ '# If you don'#039't want so much verbosity use'#013#010+
'#-vw'#013#010 '#-vw'#013#010