Dev-C++ as an IDE?

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
blackfireize
Posts: 16
Joined: Sun Mar 20, 2011 8:19 pm

Dev-C++ as an IDE?

Post by blackfireize »

First, let me say I know Dev-C++ is no longer in development. I know its a "dead project", but I still like it :oops: and want to use it as an IDE for kernel development.
(I am using a cross compiler with Cygwin on Windows 7 (x64) BTW)

Anyway, I looked at the Dev-C++ article and before I attempted what was listed, I already had some problems..
After I changed some permissions to allow me to access the compiler from the terminal, I attempted to compile a dummy file
which had the following code:

Code: Select all

int main ()
{
    return 0;
}
It gave me the following error: (I am NOT running this from the Cygwin terminal -- I am running from the Windows CMD)

Code: Select all

i586-elf-gcc: error: spawn: No such file or directory
Anyone have any ideas on whats going wrong? Thanks.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Re: Dev-C++ as an IDE?

Post by Brynet-Inc »

It can't find the compiler.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Creature
Member
Member
Posts: 548
Joined: Sat Dec 27, 2008 2:34 pm
Location: Belgium

Re: Dev-C++ as an IDE?

Post by Creature »

Perhaps off-topic, but there is a guy that's building on the original Dev-C++ source code, trying to update it to newer standards.
When the chance of succeeding is 99%, there is still a 50% chance of that success happening.
blackfireize
Posts: 16
Joined: Sun Mar 20, 2011 8:19 pm

Re: Dev-C++ as an IDE?

Post by blackfireize »

Gah, im still fighting with permission issues (thats what I get for working on windows right? =D> ) I think they are the crux of my issue.
I might end up just using the Cygwin terminal instead. Still if anyone has any other suggestions..
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Dev-C++ as an IDE?

Post by Solar »

None better than that. A Windows without Cygwin is crippled, IMHO. (And that's coming from someone who was Amigan first, Windows user a distant second, and came to Unix land late.)
Every good solution is obvious once you've found it.
User avatar
AJ
Member
Member
Posts: 2646
Joined: Sun Oct 22, 2006 7:01 am
Location: Devon, UK
Contact:

Re: Dev-C++ as an IDE?

Post by AJ »

Hi,

I think the most likely thing is that you haven't added your cross-compiler binary to the Windows PATH environment variable. It's not enough to just export the path in Cygwin (that works for compiling from the Cygwin Bash Shell, but not by calling the compiler from anywhere else). On Windows 7, you need to Start->"advanced" and select "View Advanced System Settings". From there, you can set the environment variables (you can add a PATH variable per-user if you don't want to mess with the system instance...).

Once you have correctly done this, you should be able to Start->cmd.exe and at the command prompt, you should be able to start your cross compiler directly. If you get that sorted and Dev-C++ still gives you the error, I don't know what the problem is.

Cheers,
Adam
blackfireize
Posts: 16
Joined: Sun Mar 20, 2011 8:19 pm

Re: Dev-C++ as an IDE?

Post by blackfireize »

AJ wrote:Hi,

I think the most likely thing is that you haven't added your cross-compiler binary to the Windows PATH environment variable. It's not enough to just export the path in Cygwin (that works for compiling from the Cygwin Bash Shell, but not by calling the compiler from anywhere else). On Windows 7, you need to Start->"advanced" and select "View Advanced System Settings". From there, you can set the environment variables (you can add a PATH variable per-user if you don't want to mess with the system instance...).

Once you have correctly done this, you should be able to Start->cmd.exe and at the command prompt, you should be able to start your cross compiler directly. If you get that sorted and Dev-C++ still gives you the error, I don't know what the problem is.

Cheers,
Adam
Unfortunately I already had done that to no avail...still the same error message as in my first post. :(
Post Reply