This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
openwrt_coding [2009/06/11 03:49] eric |
openwrt_coding [2013/05/21 16:12] (current) eric |
||
---|---|---|---|
Line 3: | Line 3: | ||
//Written by Eric Bishop < | //Written by Eric Bishop < | ||
- | Part I: A Simple Program In C added 8/23/2007 | + | [[openwrt_coding# |
- | Part II: C++ and the Standard Template Library (STL) added 10/10/2007 | + | [[openwrt_coding# |
- | Part III: Building and Using the Kamikaze SDK added 12/9/2007 | + | [[openwrt_coding# |
=====Tutorial Moved To New Location -- 7/ | =====Tutorial Moved To New Location -- 7/ | ||
- | I haven' | + | I haven' |
- | This tutorial now makes use of external stylesheets to fit in with the Gargoyle website theme. I realize this may make it more difficult to download and easily reference on your local computer, so I will continue to make the old version of this tutorial available. This version can be found here. | + | This tutorial now makes use of external stylesheets to fit in with the Gargoyle website theme. I realize this may make it more difficult to download and easily reference on your local computer, so I will continue to make the old version of this tutorial available. This version can be found [[http:// |
Line 51: | Line 51: | ||
helloworld: helloworld.o | helloworld: helloworld.o | ||
- | $(CC) $(LDFLAGS) helloworld.o -o helloworld helloworld.o: | + | $(CC) $(LDFLAGS) helloworld.o -o helloworld |
- | helloworld.c $(CC) $(CFLAGS) -c helloworld.c | + | |
+ | helloworld.o: | ||
+ | $(CC) $(CFLAGS) -c helloworld.c | ||
# remove object files and executable when user executes "make clean" | # remove object files and executable when user executes "make clean" | ||
Line 286: | Line 288: | ||
</ | </ | ||
- | Now, ssh into the router. We just copied the package to root's home directory so we are finally ready to install our program. In root's home directory, (where we end up immediately after connecting to the router via ssh) type "ipkg install helloworld_1_mipsel.ipk" | + | Now, ssh into the router. We just copied the package to root's home directory so we are finally ready to install our program. In root's home directory, (where we end up immediately after connecting to the router via ssh) type "ipkg install helloworld_1_mipsel.ipk" |
< | < |