![]() |
Re: LINUX Users: Requesting beta testers
For someone who has just come across the linux/FIRST/IFI stuff, could someone give me an overview of all of the programs/patches/etc out there for FIRST and linux. Also, I assume that you do not use MPLAB, instead writing in your favourite linux application and then using C18 to compile?? At any rate, I would like to lose windows this year so, a brief runthrough?
|
Re: LINUX Users: Requesting beta testers
You need 4 things:
WINE - http://www.winehq.org/ - This is needed to run the mcc18 compiler. Try to get it to run solitaire before trying MCC18. MCC18 compiler - A link to d/l this can be found on the FIRST website. IFI-Picloader - http://sourceforge.net/projects/ifi-picloader/ - Not to be confused with IFI's loader, this allows you to use linux to upload the code compiled by MCC18. Makefile - Grab the makefile that was linked to earlier in this thread. Edit it to taste. This is needed to automatically compile and link everything together. |
Re: LINUX Users: Requesting beta testers
Quote:
|
Re: LINUX Users: Requesting beta testers
Ive been waiting for this for a long time. I didnt like the idea of wipeing gentoo of my laptop for windows :( Now all i got to do is convince my team to trust linux.
|
Re: LINUX Users: Requesting beta testers
Ok,
I tried the .rpm, and it says: error: Failed dependencies root@slax:/mnt/disc0part1# rpm -ivh ifi-pictools.rpm error: Failed dependencies: ld-linux.so.2 is needed by ifi-pictools-0.4.97-2 libc.so.6 is needed by ifi-pictools-0.4.97-2 libdl.so.2 is needed by ifi-pictools-0.4.97-2 libgcc_s.so.1 is needed by ifi-pictools-0.4.97-2 libm.so.6 is needed by ifi-pictools-0.4.97-2 libstdc++.so.5 is needed by ifi-pictools-0.4.97-2 libc.so.6(GLIBC_2.0) is needed by ifi-pictools-0.4.97-2 libc.so.6(GLIBC_2.1.3) is needed by ifi-pictools-0.4.97-2 libgcc_s.so.1(GCC_3.0) is needed by ifi-pictools-0.4.97-2 libstdc++.so.5(GLIBCPP_3.2) is needed by ifi-pictools-0.4.97-2 What all packages are required for the ifi-picloader By the way, wine worked for me for C18, but it took three tries. |
Re: LINUX Users: Requesting beta testers
I'd just like to thank you for creating this project - I personally like being able to finally use Linux for programming my robot. The makefiles especially make using wine with mcc bearable. By the way, might I know you (jdong) from elsewhere? Specifically, from NYLF? It seems like an interesting coincidence... :p
|
Re: LINUX Users: Requesting beta testers
Quote:
|
Re: LINUX Users: Requesting beta testers
Very cool. Small world... :D
|
Re: LINUX Users: Requesting beta testers
I've confirmed that the patch to wine completely eliminates the need to symlink or use the native msvcrt, on my system at least. I'll be submitting it upstream soon. The next release of wine will work with mcc18 out of the box should the patch be accepted..
|
Re: LINUX Users: Requesting beta testers
This isn't exactly what you were asking for beta testing for, but I downloaded the EDU code and copied in the Makefile. It compiled successfully, but after downloading it nothing will happen except a red flashing PROGRAM STATE. I can download EDU_default.hex and it will go back to working, but anything compiled here crashes immediately. What would be helpful for debugging this? The .o/.hex files, or what?
|
Re: LINUX Users: Requesting beta testers
One problem with the makefile and CVS - you have a line import .conf/* to grab a bunch of stuff from inside of the directory. CVS likes to have a directory inside of all the subdirectories which wreaks havoc -
Quote:
|
Re: LINUX Users: Requesting beta testers
Well, I fixed it myself by changing .deps/* to .deps/[^C]* and so on.
It's a hack, but it seems to work... |
Re: LINUX Users: Requesting beta testers
Hopefully we can get the source, ebuild and rpm package into a white paper so people can understand a simple way to get started.
|
Re: LINUX Users: Requesting beta testers
Yeah, Steve, it's a hack :)
If you think about it, the whole Makefile was a hack from the beginning. I'm working on a more intelligent, Python-based ./configure script that generates intelligent Makefiles. Between radio failures and dying programming laptops, I think it's not gonna get done until summer starts. |
Re: LINUX Users: Requesting beta testers
I'm on Debian so i have to use alien to convert it to an RPM. I'l post how it works.
|
| All times are GMT -5. The time now is 22:27. |
Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi