mirror of
https://github.com/vishapoberon/compiler.git
synced 2026-04-06 11:02:24 +00:00
gnuc -> gcc, more abstraction in makefiles and extTools
This commit is contained in:
parent
cd69786833
commit
01664df2ee
79 changed files with 96 additions and 96 deletions
4
hints
4
hints
|
|
@ -2,7 +2,7 @@
|
|||
0) generate voc.par file for the target platform(if it's not exist in src/par).
|
||||
you can do it by compiling vocparam, and running it as "./vocparam > voc.par"
|
||||
1) generate voc, ocat, showdef source for target platform by running
|
||||
make -f makefile.gnuc.<arch> port0
|
||||
make -f makefile.gcc.<arch> port0
|
||||
(or copy corresponding voc.par to the source directory yourself, remove stage2 from port0 section of the makefile, and run make port0)
|
||||
2) transfer source to a target platform and write
|
||||
make port1
|
||||
|
|
@ -13,7 +13,7 @@
|
|||
that's how I've done x86 port.
|
||||
voc was originally run on x86_64.
|
||||
|
||||
notes** in practice everything is not always simple, because you may need to edit Unix.Mod, Args.Mod and SYSTEM.h, and put them to src/lib/system/gnuc/<yourtarget>, and create new makefile for your target.
|
||||
notes** in practice everything is not always simple, because you may need to edit Unix.Mod, Args.Mod and SYSTEM.h, and put them to src/lib/system/gcc/<yourtarget>, and create new makefile for your target.
|
||||
|
||||
|
||||
==how to add a new option==
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue