arduino / listSerialPortsC

Simple multiplatform program to list serial ports with vid/pid/iserial fields
GNU Lesser General Public License v3.0
10 stars 10 forks source link

FreeBSD Compilation #6

Closed kevans91 closed 8 years ago

kevans91 commented 8 years ago

Hello!

I'm interested in getting an up-to-date build of the arduino suite running on FreeBSD natively, and I'd like to start here.

Cross-compiling for FreeBSD is going to be a little bit more of a bear -- would it be okay/wise if I make a PR to include a compile_freebsd.sh script that explicitly does not get invoked in pack_and_release.sh?

My goal at this point is to modify the Arduino build system so that its dependencies can/will get built rather than downloaded on systems that are not currently being cross-compiled for.

facchinm commented 8 years ago

Hi Kyle! Sure, feel free to post the PR, not including it in the pack_and_release is the best thing to do! The IDE build system was borrowed from Processing, so Java was the main target, but is evolving towards a collection of standalone utilities which must be prebuilt... So a complete (from scratch) build system would be awesome! Keep us posted about your progress! Thx

kevans91 commented 8 years ago

That's an interesting thought...any particular ideas you would entertain for a new build system? I would naturally lean towards CMake, myself, but I know that's not generally the most friendly system, either.

facchinm commented 8 years ago

I'd personally go for gradle, so you could compile both the java codebase and the c/c++ projects. I don't know if it supports golang but existing makefiles/build scripts could be executed "out of build"

kevans91 commented 8 years ago

Alright- thanks!