Page 1 of 1
Dev-C++ as an IDE?
Posted: Sun Jan 15, 2012 6:01 pm
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
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:
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.
Re: Dev-C++ as an IDE?
Posted: Sun Jan 15, 2012 7:03 pm
by Brynet-Inc
It can't find the compiler.
Re: Dev-C++ as an IDE?
Posted: Mon Jan 16, 2012 3:22 am
by Creature
Re: Dev-C++ as an IDE?
Posted: Mon Jan 16, 2012 7:55 am
by blackfireize
Gah, im still fighting with permission issues (thats what I get for working on windows right?
) 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..
Re: Dev-C++ as an IDE?
Posted: Mon Jan 16, 2012 9:14 am
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.)
Re: Dev-C++ as an IDE?
Posted: Mon Jan 16, 2012 12:58 pm
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
Re: Dev-C++ as an IDE?
Posted: Mon Jan 16, 2012 7:57 pm
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.