attempting to port to DFBSD
[Thread Prev] | [Thread Next]
- Subject: attempting to port to DFBSD
- From: Duck Deux <duck2@xxxxxxxxxxxxxx>
- Reply-to: Duck Deux <duck2@xxxxxxxxxxxxxx>
- Date: Mon, 15 May 2017 12:38:13 -0400
- To: "myrddin-dev@xxxxxxxxxxxxxx" <myrddin-dev@xxxxxxxxxxxxxx>
hello.
I am on DragonFly 4.8 https://www.dragonflybsd.org/
would like to port mc to this posixy system.
DFly forked from FBSD only 14 years ago, so I thought I could copy start-freebsd.s and abort-freebsd.s as start-dragonfly and abort-dragonfly.
I also copied over {ifreq, sys, syscall, syserrno}+freebsd-x64.myr, made new syscall table for sys+dragonfly. should probably do signals and errno too.
currently mbld dies with sigsegv. checked with GDB, looks like the mmap in getmem() does not really get the memory.
questions:
- how should I print without std? syscall(Syswrite... ?
- how to debug without gdb print command?
- any common pitfalls when porting to new system? so I don't reinvent multiple wheels
thx in advance.
| Re: attempting to port to DFBSD | Ori Bernstein <ori@xxxxxxxxxxxxxx> |
- Prev by Date: Libhttp: Not done, but good enough to post about.
- Next by Date: Re: attempting to port to DFBSD
- Previous by thread: Libhttp: Not done, but good enough to post about.
- Next by thread: Re: attempting to port to DFBSD
- Index(es):