sjcc

package module
v0.0.0-...-911d99b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 6, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

README

sjcc

介绍

use clang for embed develop

todo list
  1. libc /home/wmd/zcross/arm/lib/libc_v7a_le.a(libc2.o):(.tbss.errno_val): 0x403 这个是个 .tbss section, 需要找到是那个 libc 中函数用到了 errno 变量? 争取自己来实现一个 libc 的基础函数集合, 去除 errno 的机制.

  2. float

  1. https://developer.arm.com/documentation/ihi0043/e?lang=en
  2. https://developer.arm.com/docs/ihi0039/latest
  3. https://github.com/ARM-software/abi-aa/
  4. https://github.com/bobbl/libaeabi-cortexm0
  5. build tools https://mesonbuild.com/ https://ninja-build.org/ http://re2c.org/ // lex scanner for go/c

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asmb

type Asmb struct {
	// contains filtered or unexported fields
}

func NewAsmb

func NewAsmb(cpu, src, mid, tar string) (*Asmb, error)

func (*Asmb) AddArgs

func (cmd *Asmb) AddArgs(args []string)

func (*Asmb) AddIncs

func (cmd *Asmb) AddIncs(incs []string)

func (*Asmb) AddMacs

func (cmd *Asmb) AddMacs(macs []string)

func (*Asmb) CreateAssemble

func (cmd *Asmb) CreateAssemble() (*exec.Cmd, error)

func (*Asmb) CreatePreproc

func (cmd *Asmb) CreatePreproc() (*exec.Cmd, error)

type Comp

type Comp struct {
	// contains filtered or unexported fields
}

func NewComp

func NewComp(cpu, src, tar string) (*Comp, error)

func (*Comp) AddArgs

func (cmd *Comp) AddArgs(args []string)

func (*Comp) AddIncs

func (cmd *Comp) AddIncs(incs []string)

func (*Comp) AddMacs

func (cmd *Comp) AddMacs(macs []string)

func (*Comp) CreateExec

func (cmd *Comp) CreateExec() (*exec.Cmd, error)

type SJcmd

type SJcmd struct {
	// contains filtered or unexported fields
}
func NewLink(cpu string, srcs []string, tar string) (*SJcmd, error)

func (*SJcmd) AddArgs

func (cmd *SJcmd) AddArgs(arg []string)

func (*SJcmd) CreateExec

func (cmd *SJcmd) CreateExec() (*exec.Cmd, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL