mirror of
https://github.com/CamHenlin/MessagesForMacintosh.git
synced 2024-11-25 13:31:00 +00:00
code clean up, code review, styling tweaks
This commit is contained in:
parent
9d338480c0
commit
5d9ffc1b6f
43
Sample.c
43
Sample.c
@ -76,23 +76,16 @@ void AlertUser( void );
|
||||
#define TopLeft(aRect) (* (Point *) &(aRect).top)
|
||||
#define BotRight(aRect) (* (Point *) &(aRect).bottom)
|
||||
|
||||
// TODO:
|
||||
// - IN PROGRESS new message window -- needs to blank out messages, then needs fixes on new mac end
|
||||
// - chat during the day for a few minutes and figure out small issues
|
||||
// - start writing blog posts
|
||||
// - get new messages in other chats and display some sort of alert
|
||||
// - need timeout on serial messages in case the computer at the other end dies (prevent hard reset)
|
||||
// - delete doesnt work right (leaves characters at end of string)
|
||||
// - move app-specific code to distinct file
|
||||
|
||||
// this function, EventLoop, and DoEvent contain all of the business logic necessary
|
||||
// for our application to run
|
||||
#pragma segment Main
|
||||
void main()
|
||||
{
|
||||
Initialize(); /* initialize the program */
|
||||
UnloadSeg((Ptr) Initialize); /* note that Initialize must not be in Main! */
|
||||
|
||||
// run our nuklear app one time to render the window telling us to be patient for the coprocessor
|
||||
// app to load up
|
||||
// run our nuklear app one time to render the window telling us to be patient for the coprocessor
|
||||
// app to load up
|
||||
struct nk_context *ctx = initializeNuklearApp();
|
||||
|
||||
SysBeep(1);
|
||||
@ -108,7 +101,6 @@ void main()
|
||||
EventLoop(ctx); /* call the main event loop */
|
||||
}
|
||||
|
||||
|
||||
#pragma segment Main
|
||||
void EventLoop(struct nk_context *ctx)
|
||||
{
|
||||
@ -143,16 +135,6 @@ void EventLoop(struct nk_context *ctx)
|
||||
|
||||
Boolean beganInput = false;
|
||||
|
||||
#ifdef MAC_APP_DEBUGGING
|
||||
|
||||
writeSerialPortDebug(boutRefNum, "nk_input_begin");
|
||||
#endif
|
||||
|
||||
#ifdef MAC_APP_DEBUGGING
|
||||
|
||||
writeSerialPortDebug(boutRefNum, "nk_input_begin complete");
|
||||
#endif
|
||||
|
||||
GetGlobalMouse(&mouse);
|
||||
|
||||
// as far as i can tell, there is no way to event on mouse movement with mac libraries,
|
||||
@ -164,16 +146,16 @@ void EventLoop(struct nk_context *ctx)
|
||||
|
||||
#ifdef MAC_APP_DEBUGGING
|
||||
|
||||
// writeSerialPortDebug(boutRefNum, "nk_input_motion!");
|
||||
writeSerialPortDebug(boutRefNum, "nk_input_motion!");
|
||||
#endif
|
||||
|
||||
firstOrMouseMove = true;
|
||||
beganInput = true;
|
||||
|
||||
Point tempPoint;
|
||||
SetPt(&tempPoint, mouse.h, mouse.v);
|
||||
GlobalToLocal(&tempPoint);
|
||||
|
||||
beganInput = true;
|
||||
nk_input_begin(ctx);
|
||||
nk_input_motion(ctx, tempPoint.h, tempPoint.v);
|
||||
|
||||
@ -224,7 +206,7 @@ void EventLoop(struct nk_context *ctx)
|
||||
|
||||
SystemTask();
|
||||
|
||||
// only re-render if there is an event, prevents screen flickering
|
||||
// only re-render if there is an event, prevents screen flickering, speeds up app
|
||||
if (beganInput || firstOrMouseMove) {
|
||||
|
||||
nk_input_end(ctx);
|
||||
@ -243,10 +225,9 @@ void EventLoop(struct nk_context *ctx)
|
||||
nk_clear(ctx);
|
||||
}
|
||||
|
||||
|
||||
#ifdef MAC_APP_DEBUGGING
|
||||
|
||||
// writeSerialPortDebug(boutRefNum, "nk_input_render complete");
|
||||
writeSerialPortDebug(boutRefNum, "nk_input_render complete");
|
||||
#endif
|
||||
} while ( true ); /* loop forever; we quit via ExitToShell */
|
||||
} /*EventLoop*/
|
||||
@ -272,7 +253,7 @@ void DoEvent(EventRecord *event, struct nk_context *ctx) {
|
||||
gotMouseEvent = true;
|
||||
|
||||
#ifdef MAC_APP_DEBUGGING
|
||||
// writeSerialPortDebug(boutRefNum, "mouseup");
|
||||
writeSerialPortDebug(boutRefNum, "mouseup");
|
||||
#endif
|
||||
|
||||
part = FindWindow(event->where, &window);
|
||||
@ -306,7 +287,6 @@ void DoEvent(EventRecord *event, struct nk_context *ctx) {
|
||||
case inContent:
|
||||
if ( window != FrontWindow() ) {
|
||||
SelectWindow(window);
|
||||
|
||||
}
|
||||
nk_quickdraw_handle_event(event, ctx);
|
||||
break;
|
||||
@ -329,7 +309,6 @@ void DoEvent(EventRecord *event, struct nk_context *ctx) {
|
||||
break;
|
||||
case keyDown:
|
||||
case autoKey: /* check for menukey equivalents */
|
||||
|
||||
|
||||
#ifdef MAC_APP_DEBUGGING
|
||||
writeSerialPortDebug(boutRefNum, "key");
|
||||
@ -485,7 +464,7 @@ void AdjustMenus()
|
||||
EnableItem(menu, iCopy);
|
||||
EnableItem(menu, iClear);
|
||||
EnableItem(menu, iPaste);
|
||||
} else { /* Ébut we donÕt use it */
|
||||
} else { /* but we dont use it */
|
||||
DisableItem(menu, iUndo);
|
||||
DisableItem(menu, iCut);
|
||||
DisableItem(menu, iCopy);
|
||||
@ -553,6 +532,8 @@ void DoMenuCommand(menuResult)
|
||||
handledByDA = SystemEdit(menuItem-1); /* since we donÕt do any Editing */
|
||||
break;
|
||||
case mLight:
|
||||
// note this was co-opted to send new chats instead of the demo functionality. do the
|
||||
// same thing for other menu items as necessary
|
||||
sendNewChat = 1;
|
||||
break;
|
||||
|
||||
|
Binary file not shown.
Binary file not shown.
Before Width: | Height: | Size: 325 KiB After Width: | Height: | Size: 324 KiB |
@ -33,13 +33,13 @@ The CXX compiler identification is GNU, found in "/home/camh/Documents/Retro68kA
|
||||
Determining if the C compiler works passed with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_918b7/fast && /usr/bin/make -f CMakeFiles/cmTC_918b7.dir/build.make CMakeFiles/cmTC_918b7.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_1cb57/fast && /usr/bin/make -f CMakeFiles/cmTC_1cb57.dir/build.make CMakeFiles/cmTC_1cb57.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_918b7.dir/testCCompiler.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -o CMakeFiles/cmTC_918b7.dir/testCCompiler.c.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_918b7
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_918b7.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc CMakeFiles/cmTC_918b7.dir/testCCompiler.c.obj -o cmTC_918b7
|
||||
Building C object CMakeFiles/cmTC_1cb57.dir/testCCompiler.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -o CMakeFiles/cmTC_1cb57.dir/testCCompiler.c.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCCompiler.c
|
||||
Linking C executable cmTC_1cb57
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_1cb57.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc CMakeFiles/cmTC_1cb57.dir/testCCompiler.c.obj -o cmTC_1cb57
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
@ -47,18 +47,18 @@ make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/b
|
||||
Detecting C compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_e11fa/fast && /usr/bin/make -f CMakeFiles/cmTC_e11fa.dir/build.make CMakeFiles/cmTC_e11fa.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_46844/fast && /usr/bin/make -f CMakeFiles/cmTC_46844.dir/build.make CMakeFiles/cmTC_46844.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building C object CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
|
||||
Building C object CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc
|
||||
Target: m68k-apple-macos
|
||||
Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c,c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing
|
||||
Thread model: single
|
||||
gcc version 9.1.0 (GCC)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -version -o /tmp/ccSTTGFz.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj -version -o /tmp/ccpERgLV.s
|
||||
GNU C17 (GCC) version 9.1.0 (m68k-apple-macos)
|
||||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
@ -73,14 +73,14 @@ GNU C17 (GCC) version 9.1.0 (m68k-apple-macos)
|
||||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 68baab70957df643ffb4605a09112146
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj /tmp/ccSTTGFz.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj /tmp/ccpERgLV.s
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
Linking C executable cmTC_e11fa
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e11fa.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -o cmTC_e11fa
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000'
|
||||
Linking C executable cmTC_46844
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_46844.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj -o cmTC_46844
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc
|
||||
COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper
|
||||
@ -90,9 +90,9 @@ Thread model: single
|
||||
gcc version 9.1.0 (GCC)
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e11fa' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8x2spZ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_e11fa -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e11fa' '-mcpu=68000'
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_46844' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccExJbHq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_46844 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_46844' '-mcpu=68000'
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
@ -114,18 +114,18 @@ Parsed C implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(m68k-apple-macos-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_e11fa/fast && /usr/bin/make -f CMakeFiles/cmTC_e11fa.dir/build.make CMakeFiles/cmTC_e11fa.dir/build]
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_46844/fast && /usr/bin/make -f CMakeFiles/cmTC_46844.dir/build.make CMakeFiles/cmTC_46844.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building C object CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Building C object CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v -o CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj -c /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc]
|
||||
ignore line: [Target: m68k-apple-macos]
|
||||
ignore line: [Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing]
|
||||
ignore line: [Thread model: single]
|
||||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -version -o /tmp/ccSTTGFz.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1 -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCCompilerABI.c -quiet -dumpbase CMakeCCompilerABI.c -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj -version -o /tmp/ccpERgLV.s]
|
||||
ignore line: [GNU C17 (GCC) version 9.1.0 (m68k-apple-macos)]
|
||||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
@ -140,14 +140,14 @@ Parsed C implicit link information from above output:
|
||||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 68baab70957df643ffb4605a09112146]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj /tmp/ccSTTGFz.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj /tmp/ccpERgLV.s]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking C executable cmTC_e11fa]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_e11fa.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj -o cmTC_e11fa ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking C executable cmTC_46844]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_46844.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc -v CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj -o cmTC_46844 ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-gcc]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper]
|
||||
@ -157,13 +157,13 @@ Parsed C implicit link information from above output:
|
||||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_e11fa' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc8x2spZ.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_e11fa -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_46844' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccExJbHq.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_46844 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/cc8x2spZ.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccExJbHq.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lretrocrt] ==> ignore
|
||||
@ -172,10 +172,10 @@ Parsed C implicit link information from above output:
|
||||
arg [-q] ==> ignore
|
||||
arg [-undefined=_consolewrite] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_e11fa] ==> ignore
|
||||
arg [cmTC_46844] ==> ignore
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0]
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib]
|
||||
arg [CMakeFiles/cmTC_e11fa.dir/CMakeCCompilerABI.c.obj] ==> ignore
|
||||
arg [CMakeFiles/cmTC_46844.dir/CMakeCCompilerABI.c.obj] ==> ignore
|
||||
arg [--start-group] ==> ignore
|
||||
arg [-lgcc] ==> lib [gcc]
|
||||
arg [-lc] ==> lib [c]
|
||||
@ -192,13 +192,13 @@ Parsed C implicit link information from above output:
|
||||
Determining if the CXX compiler works passed with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_f76ee/fast && /usr/bin/make -f CMakeFiles/cmTC_f76ee.dir/build.make CMakeFiles/cmTC_f76ee.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_5884e/fast && /usr/bin/make -f CMakeFiles/cmTC_5884e.dir/build.make CMakeFiles/cmTC_5884e.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_f76ee.dir/testCXXCompiler.cxx.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -o CMakeFiles/cmTC_f76ee.dir/testCXXCompiler.cxx.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_f76ee
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_f76ee.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ CMakeFiles/cmTC_f76ee.dir/testCXXCompiler.cxx.obj -o cmTC_f76ee
|
||||
Building CXX object CMakeFiles/cmTC_5884e.dir/testCXXCompiler.cxx.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -o CMakeFiles/cmTC_5884e.dir/testCXXCompiler.cxx.obj -c /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp/testCXXCompiler.cxx
|
||||
Linking CXX executable cmTC_5884e
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_5884e.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ CMakeFiles/cmTC_5884e.dir/testCXXCompiler.cxx.obj -o cmTC_5884e
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
@ -206,18 +206,18 @@ make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/b
|
||||
Detecting CXX compiler ABI info compiled with the following output:
|
||||
Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp
|
||||
|
||||
Run Build Command(s):/usr/bin/make cmTC_cda93/fast && /usr/bin/make -f CMakeFiles/cmTC_cda93.dir/build.make CMakeFiles/cmTC_cda93.dir/build
|
||||
Run Build Command(s):/usr/bin/make cmTC_b936c/fast && /usr/bin/make -f CMakeFiles/cmTC_b936c.dir/build.make CMakeFiles/cmTC_b936c.dir/build
|
||||
make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
Building CXX object CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
|
||||
Building CXX object CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++
|
||||
Target: m68k-apple-macos
|
||||
Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c,c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing
|
||||
Thread model: single
|
||||
gcc version 9.1.0 (GCC)
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccF02m1E.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccVxJrO2.s
|
||||
GNU C++14 (GCC) version 9.1.0 (m68k-apple-macos)
|
||||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
@ -235,14 +235,14 @@ GNU C++14 (GCC) version 9.1.0 (m68k-apple-macos)
|
||||
compiled by GNU C version 9.3.0, GMP version 6.2.0, MPFR version 4.0.2, MPC version 1.1.0, isl version none
|
||||
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
|
||||
Compiler executable checksum: 5b31867a30cfa7e65d4bce12c39f8a21
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccF02m1E.s
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccVxJrO2.s
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
Linking CXX executable cmTC_cda93
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cda93.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_cda93
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000'
|
||||
Linking CXX executable cmTC_b936c
|
||||
/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b936c.dir/link.txt --verbose=1
|
||||
/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_b936c
|
||||
Using built-in specs.
|
||||
COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++
|
||||
COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper
|
||||
@ -252,9 +252,9 @@ Thread model: single
|
||||
gcc version 9.1.0 (GCC)
|
||||
COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/
|
||||
LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cda93' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFpWhb8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_cda93 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cda93' '-mcpu=68000'
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b936c' '-mcpu=68000'
|
||||
/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7wz44u.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_b936c -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group
|
||||
COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b936c' '-mcpu=68000'
|
||||
make[1]: Leaving directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp'
|
||||
|
||||
|
||||
@ -282,18 +282,18 @@ Parsed CXX implicit link information from above output:
|
||||
link line regex: [^( *|.*[/\])(m68k-apple-macos-ld|CMAKE_LINK_STARTFILE-NOTFOUND|([^/\]+-)?ld|collect2)[^/\]*( |$)]
|
||||
ignore line: [Change Dir: /home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp]
|
||||
ignore line: []
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_cda93/fast && /usr/bin/make -f CMakeFiles/cmTC_cda93.dir/build.make CMakeFiles/cmTC_cda93.dir/build]
|
||||
ignore line: [Run Build Command(s):/usr/bin/make cmTC_b936c/fast && /usr/bin/make -f CMakeFiles/cmTC_b936c.dir/build.make CMakeFiles/cmTC_b936c.dir/build]
|
||||
ignore line: [make[1]: Entering directory '/home/camh/Documents/Retro68kApps/NuklearQuickDraw/build/CMakeFiles/CMakeTmp']
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Building CXX object CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v -o CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -c /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++]
|
||||
ignore line: [Target: m68k-apple-macos]
|
||||
ignore line: [Configured with: /home/camh/Retro68/gcc/configure --target=m68k-apple-macos --prefix=/home/camh/Retro68-build/toolchain/ --enable-languages=c c++ --with-arch=m68k --with-cpu=m68000 --disable-libssp MAKEINFO=missing]
|
||||
ignore line: [Thread model: single]
|
||||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccF02m1E.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/cc1plus -quiet -v -Wno-trigraphs /usr/share/cmake-3.16/Modules/CMakeCXXCompilerABI.cpp -quiet -dumpbase CMakeCXXCompilerABI.cpp -mcpu=68000 -auxbase-strip CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -version -o /tmp/ccVxJrO2.s]
|
||||
ignore line: [GNU C++14 (GCC) version 9.1.0 (m68k-apple-macos)]
|
||||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
@ -311,14 +311,14 @@ Parsed CXX implicit link information from above output:
|
||||
ignore line: [ compiled by GNU C version 9.3.0 GMP version 6.2.0 MPFR version 4.0.2 MPC version 1.1.0 isl version none]
|
||||
ignore line: [GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072]
|
||||
ignore line: [Compiler executable checksum: 5b31867a30cfa7e65d4bce12c39f8a21]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccF02m1E.s]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [ /home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/as -mcpu=68000 -o CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj /tmp/ccVxJrO2.s]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking CXX executable cmTC_cda93]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_cda93.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_cda93 ]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj' '-c' '-mcpu=68000']
|
||||
ignore line: [Linking CXX executable cmTC_b936c]
|
||||
ignore line: [/usr/bin/cmake -E cmake_link_script CMakeFiles/cmTC_b936c.dir/link.txt --verbose=1]
|
||||
ignore line: [/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++ -v CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -o cmTC_b936c ]
|
||||
ignore line: [Using built-in specs.]
|
||||
ignore line: [COLLECT_GCC=/home/camh/Retro68-build/toolchain/bin/m68k-apple-macos-g++]
|
||||
ignore line: [COLLECT_LTO_WRAPPER=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper]
|
||||
@ -328,13 +328,13 @@ Parsed CXX implicit link information from above output:
|
||||
ignore line: [gcc version 9.1.0 (GCC) ]
|
||||
ignore line: [COMPILER_PATH=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/bin/]
|
||||
ignore line: [LIBRARY_PATH=/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/:/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib/]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_cda93' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/ccFpWhb8.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_cda93 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
ignore line: [COLLECT_GCC_OPTIONS='-v' '-o' 'cmTC_b936c' '-mcpu=68000']
|
||||
link line: [ /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2 -plugin /home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so -plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper -plugin-opt=-fresolution=/tmp/cc7wz44u.res -plugin-opt=-pass-through=-lgcc -plugin-opt=-pass-through=-lc -plugin-opt=-pass-through=-lretrocrt -plugin-opt=-pass-through=-lInterface -elf2mac -q -undefined=_consolewrite -o cmTC_b936c -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0 -L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj -lstdc++ -lm --start-group -lgcc -lc -lretrocrt -lInterface --end-group]
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/collect2] ==> ignore
|
||||
arg [-plugin] ==> ignore
|
||||
arg [/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/liblto_plugin.so] ==> ignore
|
||||
arg [-plugin-opt=/home/camh/Retro68-build/toolchain/libexec/gcc/m68k-apple-macos/9.1.0/lto-wrapper] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/ccFpWhb8.res] ==> ignore
|
||||
arg [-plugin-opt=-fresolution=/tmp/cc7wz44u.res] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lgcc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lc] ==> ignore
|
||||
arg [-plugin-opt=-pass-through=-lretrocrt] ==> ignore
|
||||
@ -343,10 +343,10 @@ Parsed CXX implicit link information from above output:
|
||||
arg [-q] ==> ignore
|
||||
arg [-undefined=_consolewrite] ==> ignore
|
||||
arg [-o] ==> ignore
|
||||
arg [cmTC_cda93] ==> ignore
|
||||
arg [cmTC_b936c] ==> ignore
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0]
|
||||
arg [-L/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib] ==> dir [/home/camh/Retro68-build/toolchain/lib/gcc/m68k-apple-macos/9.1.0/../../../../m68k-apple-macos/lib]
|
||||
arg [CMakeFiles/cmTC_cda93.dir/CMakeCXXCompilerABI.cpp.obj] ==> ignore
|
||||
arg [CMakeFiles/cmTC_b936c.dir/CMakeCXXCompilerABI.cpp.obj] ==> ignore
|
||||
arg [-lstdc++] ==> lib [stdc++]
|
||||
arg [-lm] ==> lib [m]
|
||||
arg [--start-group] ==> ignore
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -516,9 +516,9 @@ char* getReturnValueFromResponse(char *response, char *operation, char *output)
|
||||
// TODO: this is a function we would want to expose in a library
|
||||
// TODO: these should all bubble up and return legible errors
|
||||
void sendProgramToCoprocessor(char* program, char *output) {
|
||||
|
||||
|
||||
if (DEBUGGING) {
|
||||
|
||||
|
||||
printf("sendProgramToCoprocessor\n");
|
||||
}
|
||||
|
||||
|
@ -1,4 +1,11 @@
|
||||
|
||||
// TODO:
|
||||
// - IN PROGRESS new message window -- needs to blank out messages, then needs fixes on new mac end
|
||||
// - chat during the day for a few minutes and figure out small issues
|
||||
// - start writing blog posts
|
||||
// - get new messages in other chats and display some sort of alert
|
||||
// - need timeout on serial messages in case the computer at the other end dies (prevent hard reset)
|
||||
// - delete doesnt work right (leaves characters at end of string)
|
||||
// - move app-specific code to distinct file
|
||||
|
||||
void aFailed(char *file, int line) {
|
||||
|
||||
@ -198,9 +205,9 @@ Boolean checkCollision(struct nk_rect window) {
|
||||
window.x + window.w > mouse_x &&
|
||||
window.y < mouse_y &&
|
||||
window.y + window.h > mouse_y);
|
||||
|
||||
}
|
||||
|
||||
// UI setup and event handling goes here
|
||||
static void nuklearApp(struct nk_context *ctx) {
|
||||
|
||||
// prompt the user for the graphql instance
|
||||
@ -271,7 +278,6 @@ static void nuklearApp(struct nk_context *ctx) {
|
||||
|
||||
sendNewChat = 0;
|
||||
forceRedraw = 2;
|
||||
// sendIPAddressToCoprocessor();
|
||||
|
||||
sprintf(activeChat, new_message_input_buffer);
|
||||
}
|
||||
@ -344,12 +350,10 @@ static void nuklearApp(struct nk_context *ctx) {
|
||||
|
||||
nk_layout_row_begin(ctx, NK_STATIC, 12, 1);
|
||||
{
|
||||
|
||||
for (int i = 0; i < activeMessageCounter; i++) {
|
||||
|
||||
|
||||
nk_layout_row_push(ctx, 305);
|
||||
// message label
|
||||
// writeSerialPortDebug(boutRefNum, "create label!");
|
||||
// writeSerialPortDebug(boutRefNum, activeChatMessages[i]);
|
||||
|
||||
nk_label(ctx, activeChatMessages[i], NK_TEXT_ALIGN_LEFT);
|
||||
}
|
||||
@ -373,19 +377,20 @@ static void nuklearApp(struct nk_context *ctx) {
|
||||
struct nk_context* initializeNuklearApp() {
|
||||
|
||||
sprintf(activeChat, "no active chat");
|
||||
struct nk_context *ctx;
|
||||
|
||||
graphql_input_window_size = nk_rect(WINDOW_WIDTH / 4, WINDOW_HEIGHT / 4, WINDOW_WIDTH / 2, 120);
|
||||
chats_window_size = nk_rect(0, 0, 180, WINDOW_HEIGHT);
|
||||
messages_window_size = nk_rect(180, 0, 330, WINDOW_HEIGHT - 36);
|
||||
message_input_window_size = nk_rect(180, WINDOW_HEIGHT - 36, 330, 36);
|
||||
ctx = nk_quickdraw_init(WINDOW_WIDTH, WINDOW_HEIGHT);
|
||||
|
||||
struct nk_context *ctx = nk_quickdraw_init(WINDOW_WIDTH, WINDOW_HEIGHT);
|
||||
|
||||
nk_input_begin(ctx);
|
||||
nk_input_end(ctx);
|
||||
nuklearApp(ctx);
|
||||
nk_quickdraw_render(FrontWindow(), ctx);
|
||||
nk_clear(ctx);
|
||||
sprintf(ip_input_buffer, "http://"); // doesn't work due to bug
|
||||
sprintf(ip_input_buffer, "http://"); // doesn't work due to bug, see variable definition
|
||||
|
||||
return ctx;
|
||||
}
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user