added mipsel cross file, tested on a dm800se

AuthorKonata <konata@posteo.jp>
Date
Commita12f15d32f2dbb3af7e39f2b9d982335b80d0dec
Parentf9407df
3 files changed, 18 insertions(+)
Across_mipsel.txt
@@ -0,0 +1,16 @@
1+[binaries]
2+c = '/usr/bin/mipsel-linux-gnu-gcc'
3+ar = '/usr/bin/mipsel-linux-gnu-gcc-ar'
4+
5+[properties]
6+
7+c_args = ['-std=c89', '-Wall', '-Wextra', '-Wpedantic']
8+c_link_args = []
9+needs_exe_wrapper = true
10+default_library='static'
11+
12+[host_machine]
13+system = 'linux'
14+cpu_family = 'mipsel'
15+cpu = 'mipsel'
16+endian = 'little'
Rcross_win.txt← cross_file.txt
No textual changes.
Minclude/cutils/dyn_string.h
@@ -29,6 +29,8 @@ void string_remove(String* string, size_t index);
2929 void string_remove_range(String* string, size_t index, size_t length);
3030
3131 bool string_adjust_size(String* string, size_t size);
32+/* TODO: rework find functions to take extra argument of result count
33+ * and then find that many and return them in a vector/linked list */
3234 size_t* string_find_char(const String* haystack, const char needle);
3335 size_t* string_find_str(const String* haystack, const String* needle);
3436