Closed PropGit closed 7 years ago
I believe that the only dependency is on openspin. It needs to be installed and in your path.
I updated README.md to indicate the dependency on OpenSpin.
I also need to add instructions for building the Windows version. I do this under Linux using the MinGW cross-development tools. I've never tried building under native Windows but it should also be possible if you install the MinGW toolchain.
Looks like there are more dependencies, though I know not why.
On a relatively fresh Mac VM, I cloned PropLoader and OpenSpin, built OpenSpin, added it's build folder to my path and verified. That works.
I tried again to build PropLoader and now get what looks like an error due to PropGCC being needed:
.
.
.
g++ -o /Users/jmartin/Projects/proploader-macosx-build/bin/proploader /Users/jmartin/Projects/proploader-macosx-build/obj/main.o /Users/jmartin/Projects/proploader-macosx-build/obj/loader.o /Users/jmartin/Projects/proploader-macosx-build/obj/fastloader.o /Users/jmartin/Projects/proploader-macosx-build/obj/propimage.o /Users/jmartin/Projects/proploader-macosx-build/obj/packet.o /Users/jmartin/Projects/proploader-macosx-build/obj/serialpropconnection.o /Users/jmartin/Projects/proploader-macosx-build/obj/serialloader.o /Users/jmartin/Projects/proploader-macosx-build/obj/wifipropconnection.o /Users/jmartin/Projects/proploader-macosx-build/obj/loadelf.o /Users/jmartin/Projects/proploader-macosx-build/obj/sd_helper.o /Users/jmartin/Projects/proploader-macosx-build/obj/config.o /Users/jmartin/Projects/proploader-macosx-build/obj/expr.o /Users/jmartin/Projects/proploader-macosx-build/obj/system.o /Users/jmartin/Projects/proploader-macosx-build/obj/messages.o /Users/jmartin/Projects/proploader-macosx-build/obj/serial_posix.o /Users/jmartin/Projects/proploader-macosx-build/obj/sock_posix.o -lstdc++
openspin -o /Users/jmartin/Projects/proploader-macosx-build/blink-fast.binary blink.spin
Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.80 Compiled on Apr 20 2017 11:31:17
Compiling...
blink.spin
Done.
Program size is 56 bytes
openspin -DSLOW -o /Users/jmartin/Projects/proploader-macosx-build/blink-slow.binary blink.spin
Propeller Spin/PASM Compiler 'OpenSpin' (c)2012-2016 Parallax Inc. DBA Parallax Semiconductor.
Version 1.00.80 Compiled on Apr 20 2017 11:31:17
Compiling...
blink.spin
Done.
Program size is 56 bytes
propeller-elf-gcc -Os -mlmm -o /Users/jmartin/Projects/proploader-macosx-build/toggle.elf toggle.c
make: propeller-elf-gcc: No such file or directory
make: *** [/Users/jmartin/Projects/proploader-macosx-build/toggle.elf] Error 1
rm /Users/jmartin/Projects/proploader-macosx-build/obj/sd_helper.c /Users/jmartin/Projects/proploader-macosx-build/bin/bin2c /Users/jmartin/Projects/proploader-macosx-build/obj/sd_helper.binary
What is the error? It's not supposed to need PropGCC.
See previous post... Mac froze up before I could paste it in the first time.
Okay, that's a bug in the Makefile. I build the toggle program for testing. The loader should have built okay. I'll move that to another Makefile target called 'tests' so it won't be built with the loader itself.
The newest commit works. Was able to build properly on Mac OSX.
Closing.
@dbetz - Can you help me by documenting or linking all the build dependencies for this repository and anything else I may need to configure to build (besides just using
make OS=linux
)? If I try to clone and build PropLoader on Ubuntu, I get failures that for most I don't know where the resources are.I don't have a path/file:
/home/jmartin/Development/proploader-linux-build/obj tools/split.c
or the object/home/jmartin/Development/proploader-linux-build/bin/split
.Is your local PropLoader repository "proploader-linux-build" or is that something outside of your local PropLoader repository?