View unanswered posts | View active topics It is currently Mon Sep 21, 2020 12:28 am






Reply to topic  [ 11 posts ] 
Linux command-line compiler? 
Author Message
Rookie
User avatar

Joined: Sat May 24, 2014 3:32 pm
Posts: 14
Post Linux command-line compiler?
Are there any plans for a command-line Linux compiler for RobotC (with or without ability to deploy to a brick)? I understand that the UI would be very difficult to port, but at least being able to verify that a given piece of code compiles (and generate an RXE to go along with it) would go a very long way for myself and my FTC team. As the sole programmer, I am a Linux user. I do not own a Windows license, and have no way of obtaining one (e.g. through my school).


Sat Oct 25, 2014 10:35 am
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Linux command-line compiler?
Unfortunately, the compiler, debugger and IDE are very tightly integrated and all written in Visual C++. There currently no way to split the compiler from the rest of the IDE.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Oct 31, 2014 5:03 am
Profile WWW
Rookie

Joined: Tue Oct 28, 2014 9:17 am
Posts: 7
Post Re: Linux command-line compiler?
I would really like a Linux command-line version, too...


Fri Oct 31, 2014 6:33 am
Profile
Rookie
User avatar

Joined: Sat May 24, 2014 3:32 pm
Posts: 14
Post Re: Linux command-line compiler?
mightor wrote:
Unfortunately, the compiler, debugger and IDE are very tightly integrated and all written in Visual C++. There currently no way to split the compiler from the rest of the IDE.
= Xander


Any chance of getting it working on Wine to at least compile code without deploying it to a robot? I'd prefer to continue working with emacs, so I'm hoping there's some sort of message-passing to the IDE to recompile a file (or for it to watch the filesystem for modifications)


Fri Oct 31, 2014 6:35 am
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Linux command-line compiler?
I think it s safe to say that getting it to work with Wine is not very high on the priority list. There is, as far as I am ware of, no messaging system to instruct the IDE to compile something, from an outside program.

I am a Linux user myself, and I do most of the EV3 Linux firmware development in Eclipse. However, I use a Windows 8.1 VM to do the actual ROBOTC VM and IDE development. You're welcome to try and make it work on Wine, but considering the amount of work that is going to take, you may as well just use a Windows VM and do your ROBOTC'ing from there :)

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Oct 31, 2014 7:05 am
Profile WWW
Rookie

Joined: Tue Oct 28, 2014 9:17 am
Posts: 7
Post Re: Linux command-line compiler?
Xander, as hexafraction do not own a Windows license, a Windows VM is probably out of the question. It would be interesting to run RobotC under Wine though, I think I will give it i try...


Fri Oct 31, 2014 8:00 am
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Linux command-line compiler?
Keep us posted of your progress! I am sure others would benefit from it :)

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Fri Oct 31, 2014 8:52 am
Profile WWW
Rookie
User avatar

Joined: Sat May 24, 2014 3:32 pm
Posts: 14
Post Re: Linux command-line compiler?
It's really disenheartening to have to be stuck with a conglomeration of virtualization, binary compatibility layers, and patchy reverse-engineered DLLs to use RobotC (and hence compete in the FTC competition). The Microsoft libraries used for the IDE are a perfect way for them to force developers such as RoboMatter/ROBOTC to perform vendor lock-in for Microsoft's benefit. :evil: :x

As for Wine, it currently looks bleak. The GUI libraries are not playing well with Wine at all for me.


Fri Oct 31, 2014 8:17 pm
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Linux command-line compiler?
There's a new version of Wine out: https://www.winehq.org/announce/1.7.30

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Nov 02, 2014 4:27 am
Profile WWW
Rookie
User avatar

Joined: Sat May 24, 2014 3:32 pm
Posts: 14
Post Re: Linux command-line compiler?
mightor wrote:
There's a new version of Wine out: https://www.winehq.org/announce/1.7.30

= Xander


I'll try the Wine 1.7 series later today. I'll also keep digging for an XP license somewhere, possibly via the OEM sales loophole if it is still open.


Sun Nov 02, 2014 7:52 am
Profile
Site Admin
Site Admin
User avatar

Joined: Wed Mar 05, 2008 8:14 am
Posts: 3654
Location: Rotterdam, The Netherlands
Post Re: Linux command-line compiler?
If you're a student, you can make use of the Microsoft Dreamspark program, which gives you access to really cheap Microsoft licenses.

= Xander

_________________
| Professional Conduit of Reasonableness
| (Title bestowed upon on the 8th day of November, 2013)
| My Blog: I'd Rather Be Building Robots
| ROBOTC 3rd Party Driver Suite: [Project Page]


Sun Nov 02, 2014 8:08 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 11 posts ] 

Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron



Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software for PTF.