Commit Graph

96 Commits

Author SHA1 Message Date
Kevin Lange
e2a6ce072d Fix call to external malloc from klrealloc 2014-04-24 22:38:12 -07:00
Kevin Lange
265542402a Welcome back, klmalloc. 2014-04-23 22:43:23 -07:00
Kevin Lange
e8bbfd3221 Add an ioctl to query available pex data 2014-04-16 18:29:49 -07:00
Kevin Lange
ac849d806f Move and update build.sh, add make toolchain 2014-04-11 00:14:48 -07:00
Kevin Lange
14009e4198 Make newlib build PIC for future shared builds 2014-03-25 14:04:55 -07:00
Kevin Lange
ad2f2fc937 fix some silliness 2014-03-24 21:59:27 -07:00
Kevin Lange
03964e3ba7 fix gcc startfiles for shared builds 2014-03-23 21:23:18 -07:00
Ivailo Monev
72d9199b65 Correct newlib autotools files for new automake
On automake>=1.13.x --cygnus has been removed and
causes failures during autoreconf. In addition
create various files (NEWS, README, etc.) to
prevent errors, again, during autoreconf.
2014-01-11 01:47:48 +00:00
Kevin Lange
279eca8b17 Some random cleanup
Get rid of travis support files, move some other things around, trying
to clean up the root directory a bit.
2013-11-28 18:51:10 -08:00
Kevin Lange
6d1ea12ad7 Automatic installer for automake-1.11
This is the last version of automake without a warning for Cygnus-style
trees, and is the recommended version for building newlib. An older
autoconf is not necessary to make things work. Just run this, it should
install correctly to your local build directory.
2013-11-27 21:17:55 -08:00
Kevin Lange
974beaa017 This build of mesa has been deprecated, but we still use it 2013-08-22 00:46:13 -07:00
Kevin Lange
9b130b916d Fix up signals, add SIGTTOU 2013-08-19 19:37:55 -07:00
Kevin Lange
7351fa308b Various fixes to help get bash working 2013-08-04 00:04:22 -07:00
Kevin Lange
40f0c41932 Preliminary termios support
This is some initial work on support real PTYs.
Canonical mode is not supported at the moment.
2013-07-27 00:18:29 -07:00
Kevin Lange
2f8a38b062 Force-disable Xlib in cairo builds
On some host environments, this can incorrectly be detected as available
during a cross build, so let's force-disable it.
2013-07-21 18:22:35 -07:00
Kevin Lange
8c9cce2520 Update GCC to 4.6.4 2013-06-08 19:44:28 -07:00
Kevin Lange
ac414f005c Fix up some build stuff 2013-05-30 00:57:17 -07:00
Kevin Lange
5f03b05f46 kill vim from core install, add new toaru-vga.tic 2013-05-22 22:19:25 -07:00
Kevin Lange
6ae6861a04 fix cross-gcc 2013-05-15 18:33:30 -07:00
Kevin Lange
c962757835 Fix up newlib cflags at the right time 2013-05-15 18:14:42 -07:00
Kevin Lange
4868960364 Build ALL the things! 2013-05-12 00:38:56 -07:00
Kevin Lange
416d483fd6 Box drawing and new wcwidth
Currently a brute-force method, going
to replace this with a Markus Khun-esque interval
search shortly.
2013-05-11 13:20:20 -07:00
Kevin Lange
295ec5f08a Cross GCC compiler. 2013-05-08 00:50:11 -07:00
Kevin Lange
f4c68573aa execvp 2013-05-08 00:45:00 -07:00
Kevin Lange
355d4b4dbe Merge pull request #35 from srjek/zlib1.2.8
Upgrade zlib from 1.2.7 to 1.2.8, or provide an alt url
2013-05-06 14:12:11 -07:00
Kevin Lange
a4a117cf0c Fix some build derps 2013-05-05 15:54:01 -07:00
Kevin Lange
1e664bef2b Integrate signals into libc 2013-05-05 15:00:24 -07:00
Josh Kilmer
892ae803d3 Upgrade zlib from 1.2.7 to 1.2.8 2013-04-30 03:20:48 -05:00
Kevin Lange
d78f5233d7 remove unused CYGWIN garbage from newlib header 2013-04-27 22:03:47 -07:00
Kevin Lange
fde9c6d652 New ioctl commands and userspace improvements 2013-04-27 01:16:36 -07:00
Kevin Lange
a2a890e1a8 Fresh new VFS syscalls: unlink, chmod, umask 2013-04-23 01:14:33 -07:00
Kevin Lange
ae1d555a13 Syscall bindings 2013-04-22 22:36:56 -07:00
Kevin Lange
ade59a11bc XXX ABI BREAKING CHANGE - New load/heap/stack/shm
Address for program loading, kernel heap, userspace SHM regions, and
stacks have been changed.

Delete:
  toolchain/build
  toolchain/local
  .userspace_check

Run:
  python userspace/build.py clean
  make clean-disk
  make clean
  ./build.sh
2013-04-21 17:35:03 -07:00
Kevin Lange
9b5e3ed2cf Script to get (but not build) GCC extras
(gmp, mpc, mpfr)
2013-04-21 11:24:52 -07:00
Kevin Lange
c98ba11128 -1 is a much better thing to return 2013-04-21 11:23:06 -07:00
Kevin Lange
42e70f6c79 Only libstdc++ for second pass of gcc 2013-04-20 15:43:19 -07:00
Kevin Lange
a7cd255546 Various C library adjustments
Fix weird linking issues with newlib:
- Get rid of dlmalloc
- Also get rid of klmalloc

Adjust crt0 operation:
- Kill the dead loop at the end
- Pass main to pre_main as a function pointer to move `main` reference
  into crt0.o

- Fix a build script derp with trying to remove build and local
  directories (gets rid of some warnings)
2013-04-17 22:23:38 -07:00
Kevin Lange
7a6e193b6a Remove stale directories for those, too 2013-04-13 00:23:02 -07:00
Kevin Lange
84938d1258 Install vim to /bin/vim not /bin/vim.xxx 2013-04-13 00:10:29 -07:00
Kevin Lange
0f3f85a981 Ncurses and vim 2013-04-12 23:53:21 -07:00
Kevin Lange
96b1d7e23a Mesa 7.5.2 in toolchain 2013-04-12 21:20:08 -07:00
Kevin Lange
4fa39ba510 Also do that in the main build scripts 2013-04-09 01:31:11 -07:00
Kevin Lange
4fed4d96ea Nuke malign.c when building newlib 2013-04-09 00:16:42 -07:00
Kevin Lange
4fc6fe741a Add usleep to newlib, silence some warnings 2013-03-26 23:30:09 -07:00
Kevin Lange
bc2e4741c7 Random bits and pieces 2013-03-22 15:11:19 -07:00
Kevin Lange
ce4c6bea52 Better debug output, using serial, for userspace 2013-03-22 12:39:05 -07:00
Kevin Lange
674f047bde fix stat for missing file 2013-03-22 12:14:04 -07:00
Kevin Lange
fa79c89e54 Some fixes and cleanup 2013-03-22 11:58:22 -07:00
Kevin Lange
ef459bdaad More rough stubs and fixes 2013-03-20 21:24:55 -07:00
Kevin Lange
21aeb34ea4 Rough ioctl with support for winsize 2013-03-18 23:57:40 -07:00