I've recently installed cygwin with gcc and g++ support but when I try
and compile a file nothing gets output.
The file I am trying to compile is extremely simple...
#include
int main(int argc, char **argv)
{
std::cout << "Test!\n";
return 0;
}
I try and compile it via "g++ test
I tried changing the line from std::cout << "Test!\n" to cout <<
"Test!" << std::endl but it didn't make a difference.
I've attached the output from cygcheck -svr.
Thanks,
Darrell
On 5/2/07, Hugh McMaster <[EMAIL PROTECTED]> wrote:
Hi Eric,
On 02/05/07, Eric Lilja wrote:
> The command synta
I've removed the gnude and mingw directories from my path and now I'm
no longer getting the error message stating that there are multiple
dlls in my path. This hasn't fixed the problem, though. g++ (and gcc)
still don't work. I've even tried uninstalling and reinstalling
cygwin, to no avail.
I've
Darrell, are you running any of these apps (that have been shown to cause
problems with cygwin in the past)?
Nope, I'm not running any of those.
Just in case I deleted the cygnus registry key folder and reinstalled
cygwin to see if it would make a different but it didn't.
I've attached a new
On 5/3/07, Dave Korn <[EMAIL PROTECTED]> wrote:
What happens if you add the "-v" option to your compiler commandline?
Already tried that. Nothing immediately obvious seemed apparent.
Here's the ouput:
$ g++ test.cpp -v -o test
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Config
On 5/3/07, Dave Korn <[EMAIL PROTECTED]> wrote:
What does
cygcheck /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
show?
It shows this:
$ cygcheck /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
C:/cygwin/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe
C:\cygwin\bin\cygwin1.dll
C:\WINDOWS\system32
If you're going to keep doing that, you're on your own.
Oh, crap. Sorry =o( I didn't realise I'd left it on.
Darrell
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FA
On 5/3/07, Dave Korn <[EMAIL PROTECTED]).com> wrote:
There definitely shouldn't be any cygwin dlls in the windows\system32 subdir
(or indeed anywhere else except under your cygwin tree). Try moving them out
of the way and see if that helps.
Brilliant, that's sorted it.
Cheers,
Darrell
--
8 matches
Mail list logo