Hi
I'm running Ubuntu for PPC on an old G4 i-book, bit slow but very light machine. Sun Java is unavailable for this architecture, Open-JDK works good for some apps like Eclipse IDE but does not manage to get Arduino going, soooo,
trying to get Arduino command line working, then i can use text pad and terminal.
I have looked at instructions from http://www.eriksmartt.com/blog/archives/397 which was helpful but what i actually did was too.
created a working directory in my home folder.
copied blink.pde there
copied Makefile there from arduino/hardware/cores/arduino
edited Makefile with correct settings for serial port, arduino install location, and locations for avr-gcc etc which are /usr/bin/
open terminal in working directory and run 'make'
makes fine, creates hex, outputs following ->
Here is the "preprocessing".
It creates a .cpp file based with the same name as the .pde file.
On top of the new .cpp file comes the WProgram.h header.
At the end there is a generic main() function attached.
Then the .cpp file will be compiled. Errors during compile will
the usb settings are correct, confirmed from dev folder
also i am linking against the avrdude and avrdude.conf that are in my arduino install directory
can anyone help please
so i feel the command line is working fine for compiling, havent tried including libraries yet, but one step at a time.
maybe this suggests its avr-dude.
the avr-dude.conf hasn't been touched, neither has the avr-dude, both of these are those as downloaded with the package arduino 11.
maybe i should try linking against the avr-dude in my /usr/bin/ ?
it seems strange to get a 'syntax error' .
i will go to the avr-dude homepage and try and run some standalone tests.
thanks