mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-22 06:49:27 +02:00
+ msg2inc now executed, utils is compiled
This commit is contained in:
parent
28ea4a8fd4
commit
a9e90b796f
@ -1 +1 @@
|
||||
# Make file for MPW make.
# To run it, use:
# Make <target> -f MPWMake > Makeout ; Makeout
# where <target> should be replaced with actual make target.
#############################################
# TIPS (TODO move to Wiki or something
#
# Defined variables: No quoting
# Command lines: quote paths, dont quote option strings, since
# they might contain several options, which must be separated.
# Recursive call to Make:
# - give options as -d XXX="{XXX}"
# - in same dir, remember to ensure to have different Makeout files,
# e g Makeout2.
#
# NOTE Currently only the compiler is built. msg is not converted, and utils
# are not built. Also cycle is stopped after three rounds, no diff is checked.
# TODO Change to build in :powerpc:units:powerpc-macos
FPC = {FPCDIR}bin:ppcppc
compiler Ä
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
-dpowerpc -dGDB -dBROWSERLOG -dNOOPT -WT -FE: pp.pas
Rename -y pp ppcppc
only the compiler is built. msg is not converted, and utils
clean Ä
only the compiler is built. msg is not converted, and utils
# are not built. Also cycle is stopped after three rounds, no diff is checked.
only the compiler is built. msg is not converted, and utils
only the compiler is built. msg is not converted, and utils
# TODO Change to build in :powerpc:units:powerpc-macos
only the compiler is built. msg is not converted, and utils
FPC = {FPCDIR}bin:ppcppc
only the compiler is built. msg is not converted, and utils
compiler Ä
only the compiler is built. msg is not converted, and utils
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
only the compiler is built. msg is not converted, and utils
-dpowerpc -dGDB -dBROWSERLOG -dNOOPT -WT -FE: pp.pas
Set Exit 1
install Ä
If {FPCDIR} == ''
Set -e FPCDIR `GetFileName -wd -m 'Select where to install the FreePascal folder'`FreePascal:
Set -e Commands "{Commands},{FPCDIR}bin:"
Echo "Set -e FPCDIR ¶'{FPCDIR}¶'" > "{MPW}Startup Items:FPC Startup"
Echo 'Set -e Commands "{Commands},{FPCDIR}bin:"' >> "{MPW}Startup Items:FPC Startup"
End
Set Exit 0
NewFolder "{FPCDIR}" ³ Dev:Null
NewFolder "{FPCDIR}bin:" ³ Dev:Null
Set Exit 1
only the compiler is built. msg is not converted, and utils
Echo "# Configuration file for Free Pascal for MPW" > "{FPCDIR}bin:fpc.cfg"
Echo "-Fu¶'{FPCDIR}units:rtl:¶'" >> "{FPCDIR}bin:fpc.cfg"
Echo "-l" >> "{FPCDIR}bin:fpc.cfg"
Echo "-vi" >> "{FPCDIR}bin:fpc.cfg"
cycle Ä
Directory ::rtl:macos
Make clean -f MPWMake > Makeout ; Makeout
Make all -d FPC="{FPC}" -d OPT="{OPT}" -f MPWMake > Makeout ; Makeout
Directory :::compiler
Make clean -f MPWMake > Makeout2 ; Makeout2
# TODO Change to build in :powerpc:units:powerpc-macos
# are not built. Also cycle is stopped after three rounds, no diff is checked.
#
Echo '******************** SECOND ROUND *********************'
Rename -y ppcppc oldfpc
Directory ::rtl:macos
Make clean -f MPWMake > Makeout ; Makeout
Make all -d FPC=:::compiler:oldfpc -d OPT="{OPT}" -f MPWMake > Makeout ; Makeout
Directory :::compiler
Make clean -f MPWMake > Makeout2 ; Makeout2
# TODO Change to build in :powerpc:units:powerpc-macos
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
#
Echo '********************* THIRD ROUND *********************'
Rename -y ppcppc oldfpc
Directory ::rtl:macos
Make clean -f MPWMake > Makeout ; Makeout
Make all -d FPC=:::compiler:oldfpc -d OPT="{OPT}" -f MPWMake > Makeout ; Makeout
Directory :::compiler
# TODO Change to build in :powerpc:units:powerpc-macos
only the compiler is built. msg is not converted, and utils
FPC = {FPCDIR}bin:ppcppc
|
||||
# Make file for MPW make.
# To run it, use:
# Make <target> -f MPWMake > Makeout ; Makeout
# where <target> should be replaced with actual make target.
#############################################
# TIPS (TODO move to Wiki or something
#
# Defined variables: No quoting
# Command lines: quote paths, dont quote option strings, since
# they might contain several options, which must be separated.
# Recursive call to Make:
# - give options as -d XXX="{XXX}"
# - in same dir, remember to ensure to have different Makeout files,
# e g Makeout2.
#
# NOTE Currently FPC = {FPCDIR}bin:ppcppc
only the compiler is built. msg is not converted, and utils
FPC = {FPCDIR}bin:ppcppc
# Default language for the compiler (english):
FPCLANG = e
FPC = {FPCDIR}bin:ppcppc
# TODO Change to build in :powerpc:units:powerpc-macos
msg2inc Ä :utils:msg2inc.pp
FPC = {FPCDIR}bin:ppcppc
compiler Ä
FPC = {FPCDIR}bin:ppcppc
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
FPC = {FPCDIR}bin:ppcppc
-dpowerpc -dGDB -dBROWSERLOG -dNOOPT -WT -FE: pp.pas
FPC = {FPCDIR}bin:ppcppc
Rename -y pp ppcppc
Make msg2inc -f MPWMake > Makeout3 ; Makeout3
compiler Ä
only the compiler is built. msg is not converted, and utils
compiler Ä
# are not built. Also cycle is stopped after three rounds, no diff is checked.
compiler Ä
only the compiler is built. msg is not converted, and utils
# are not built. Also cycle is stopped after three rounds, no diff is checked.
compiler Ä
# TODO Change to build in :powerpc:units:powerpc-macos
compiler Ä
FPC = {FPCDIR}bin:ppcppc
Set Exit 1
"{FPC}" {OPT} "-Fu{RTLDIR}" -Fu:systems: -Fu:powerpc: -dGDB -dBROWSERLOG -dNOOPT ¶
-dpowerpc -WT -FE: -FU:powerpc:units:powerpc-macos: pp.pas
Rename -y pp ppcppc
clean Ä utils_clean
only the compiler is built. msg is not converted, and utils
# are not built. Also cycle is stopped after three rounds, no diff is checked.
compiler Ä
Rename -y pp ppcppc
Delete -y ppcppc oldfpc msg2inc
only the compiler is built. msg is not converted, and utils
-dpowerpc -dGDB -dBROWSERLOG -dNOOPT -WT -FE: pp.pas
Set Exit 1
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
only the compiler is built. msg is not converted, and utils
only the compiler is built. msg is not converted, and utils
# are not built. Also cycle is stopped after three rounds, no diff is checked.
Delete -y :powerpc:units:powerpc-macos
Set Exit 1
install Ä
If {FPCDIR} == ''
Set -e FPCDIR `GetFileName -wd -m 'Select where to install the FreePascal folder'`FreePascal:
Set -e Commands "{Commands},{FPCDIR}bin:"
Echo "Set -e FPCDIR ¶'{FPCDIR}¶'" > "{MPW}Startup Items:FPC Startup"
Echo 'Set -e Commands "{Commands},{FPCDIR}bin:"' >> "{MPW}Startup Items:FPC Startup"
End
Set Exit 0
NewFolder "{FPCDIR}" ³ Dev:Null
NewFolder "{FPCDIR}bin:" ³ Dev:Null
Set Exit 1
Duplicate -y :ppcppc :utils:ppudump :utils:ppufiles :utils:ppumove ¶
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
Echo "# Configuration file for Free Pascal for MPW" > "{FPCDIR}bin:fpc.cfg"
Echo "-Fu¶'{FPCDIR}units:rtl:¶'" >> "{FPCDIR}bin:fpc.cfg"
Echo "-l" >> "{FPCDIR}bin:fpc.cfg"
Echo "-vi" >> "{FPCDIR}bin:fpc.cfg"
cycle Ä
Directory ::rtl:macos
Make clean -f MPWMake > Makeout ; Makeout
Make all -d FPC="{FPC}" -d OPT="{OPT}" -f MPWMake > Makeout ; Makeout
Directory :::compiler
Make clean -f MPWMake > Makeout2 ; Makeout2
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
# TODO Change to build in :powerpc:units:powerpc-macos
#
Echo '******************** SECOND ROUND *********************'
Rename -y ppcppc oldfpc
Directory ::rtl:macos
Make clean -f MPWMake > Makeout ; Makeout
Make all -d FPC=:::compiler:oldfpc -d OPT="{OPT}" -f MPWMake > Makeout ; Makeout
Directory :::compiler
Make cycleclean -f MPWMake > Makeout2 ; Makeout2
"{FPC}" {OPT} "{RTLDIR}" -Fu:systems: -Fu:powerpc: ¶
compiler Ä
#
Echo '********************* THIRD ROUND *********************'
Rename -y ppcppc oldfpc
Directory ::rtl:macos
Make clean -f MPWMake > Makeout ; Makeout
Make all -d FPC=:::compiler:oldfpc -d OPT="{OPT}" -f MPWMake > Makeout ; Makeout
Directory :::compiler
Make cycleclean -f MPWMake > Makeout2 ; Makeout2
Make compiler -d FPC=oldfpc -d OPT="{OPT}" -d RTLDIR=::rtl:units:powerpc-macos -f MPWMake > Makeout2 ; Makeout2
# TODO Change to build in :powerpc:units:powerpc-macos
-dpowerpc -dGDB -dBROWSERLOG -dNOOPT -WT -FE: pp.pas
Make utils_all -d RTLDIR=:::rtl:units:powerpc-macos -f MPWMake > Makeout2 ; Makeout2
utils_all Ä
Directory :utils
Set Exit 0
NewFolder :units: ³ Dev:Null
-dpowerpc -dGDB -dBROWSERLOG -dNOOPT -WT -FE: pp.pas
only the compiler is built. msg is not converted, and utils
Set Exit 1
"{FPC}" {OPT} "-Fu{RTLDIR}" -FE: -FU:units:powerpc-macos -Fu:: -WT ppudump.pp
"{FPC}" {OPT} "-Fu{RTLDIR}" -FE: -FU:units:powerpc-macos -Fu:: -WT ppufiles.pp
"{FPC}" {OPT} "-Fu{RTLDIR}" -FE: -FU:units:powerpc-macos -Fu:: -WT ppumove.pp
-dpowerpc -dGDB -dBROWSERLOG -dNOOPT -WT -FE: pp.pas
FPC = {FPCDIR}bin:ppcppc
Directory ::
utils_clean Ä
Directory :utils
Set Exit 0
Delete -y :units:powerpc-macos
Delete -y fpc ppudump ppufiles ppumove msg2inc
Delete -y Å.xcoff
Set Exit 1
Rename -y pp ppcppc
|
Loading…
Reference in New Issue
Block a user