/contrib/other/uarm/console_obj.h |
---|
File deleted |
Property changes: |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/contrib/other/uarm/main_pc.c |
---|
11,7 → 11,7 |
//#include <sys/select.h> |
#include <signal.h> |
//#include <termios.h> |
#include "console_obj.h" |
#include <sys/kos_LoadConsole.h> |
#define getch2 con_getch |
#define cprintf printf |
/contrib/other/udcli/console_obj.h |
---|
File deleted |
Property changes: |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/contrib/other/udcli/udcli.c |
---|
6,7 → 6,7 |
* See (LICENSE) |
* ----------------------------------------------------------------------------- |
*/ |
#include "console_obj.h" |
#include <sys/kos_LoadConsole.h> |
#include <stdlib.h> |
#include <stdio.h> |
#include <string.h> |
/contrib/sdk/samples/cpp_hello/console_obj.h |
---|
File deleted |
Property changes: |
Deleted: svn:executable |
-* |
\ No newline at end of property |
/contrib/sdk/samples/cpp_hello/Makefile |
---|
3,7 → 3,7 |
SDK_DIR = $(abspath ../..) |
LDFLAGS = -call_shared -nostdlib -T $(SDK_DIR)/sources/newlib/app-dynamic.lds --image-base 0 |
LDFLAGS = -static -nostdlib -T $(SDK_DIR)/sources/newlib/app.lds --image-base 0 |
CFLAGS = -c -fno-ident -O2 -fomit-frame-pointer -fno-ident -U__WIN32__ -U_Win32 -U_WIN32 -U__MINGW32__ -UWIN32 -Wno-pointer-arith |
18,7 → 18,7 |
default: hello |
hello: $(OBJECTS) Makefile |
$(LD) $(LDFLAGS) $(LIBPATH) --subsystem console -o hello.kex $(OBJECTS) -lstdc++ -lsupc++ -lgcc -lc |
$(LD) $(LDFLAGS) $(LIBPATH) --subsystem console -o hello.kex $(OBJECTS) -lstdc++ -lsupc++ -lgcc -lc.dll |
strip -s hello.kex -o hello.kex |
objcopy hello.kex -O binary |
rm *.o |
/contrib/sdk/samples/cpp_hello/hello.cpp |
---|
2,7 → 2,7 |
#include <iostream> |
// for 'console.obj' functions |
#include "console_obj.h" |
#include <sys/kos_LoadConsole.h> |
using namespace std; |