Shop OBEX P1 Docs P2 Docs Learn Events
IDE and libs — Parallax Forums

IDE and libs

Jack3Jack3 Posts: 55
edited 2014-02-19 09:58 in Propeller 1
Lets assume for example I just totally hate the functionality of the Simple IDE text editor. But I really like a C/C++ IDEtext editor called Visual C++.

I know very little about compilers and any command line stuff to make them work so bear with me please.

No need to assume, I really like the way the VC keeps my tabs, braces, and reminders for same, unlike the Simple IDE.

Do I just need to put the library and header files in the path for that program to be able to compile them? Or, is it not possible to use a Microsoft product with a GCC product? (Which I wouldn't put past MS, but I digress)

Is my only solution to write my code in the one I prefer, then copy and paste to the other so it can be compiled and uploaded?

Thanks for your opinions.

Comments

  • jazzedjazzed Posts: 11,803
    edited 2014-02-16 09:13
    You will have to use the project feature of Visual Studio to add the libraries and manage the compiler. SimpleIDE does all that for you ... it may do some of those other things later, but there are more important issues to tackle first.
  • SRLMSRLM Posts: 5,045
    edited 2014-02-16 10:35
    I've written up a few tutorials on integrating PropGCC into Code::Blocks and Netbeans. They may provide some inspiration:
    https://sites.google.com/site/propellergcc/documentation/tutorials

    Edit: and anyway, you can always use VC++ just as an editor and have an external make file and command line operations.
  • Jack3Jack3 Posts: 55
    edited 2014-02-16 16:43
    I don't know what a make file is. I see them and do not know the purpose either. Ya, I have been just sorta using it to write the first round of code and then put it in the Simple IDE. I am getting used to it's nuances, It isn't bad, just different.
  • DavidZemonDavidZemon Posts: 2,973
    edited 2014-02-18 07:20
    Jack, another option to pile on your plate with the above is using PropWare's build system. I've written the Makefile for you and very detailed instructions with lots of examples on how to use it. It should be very simple - even for someone who is not good with the command line. I've written it for use with Eclipse, but if you follow the "At the Terminal" instructions, you'd be able to use Visual Studio or anything else as your editor. Step 2 is "Create a makefile for your project" but I don't want that to scare you - just copy the contents from any of example projects and make sure you change the "PRJ = project name" to the name of your main file (i.e., if you have just two files, main.c and main.h, your project would be called "main"). If you have more than two files, like main.c, main.h, and MoreFunctions.c/MoreFunctions.h, then add some text to the line that reads "OBJS = $(PRJ).o" for your extra files -> "OBJS = $(PRJ).o MoreFunctions.o"

    Hooking into Simple IDE and its libraries is on my to todo list - I'll see if I can get that figured out tonight and provide an example project or two.
  • Jack3Jack3 Posts: 55
    edited 2014-02-19 09:58
    Okay, thanks. Like I mentioned, give me a few days to complete what I am doing so I can move on into this.
Sign In or Register to comment.