This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Hi,


"Dominique Phaneuf" <dphaneuf@osiris.com> writes:
> 
>    I just install the gnu c++ win 32 all the 5 zip files in the c:\mingw32.=
>  I write the pgm hello.c, but when i try to compile the pgm with gcc =
> hello.c -o hello.exe then system always respond to me with this "gcc: =
> installation problem, cannot exec `ld': Invalid argument", and i redoo the =
> installation twice to make sure that everythings is ok.
> 
> 

You have either a bad environment variable (ie., DOS variable) defined
that is causing GCC to look in the wrong places; or, you have used a
unzip program that cannot handle long filenames, or does not maintain
directory hierarchy; or, you have a registry entry left from another
installation, such as GNAT, that is telling GCC to look in the wrong
place; the list goes on.

Please provide minimal information to help us track it down:

1. What version of OS? Win95, Win98, NT, W2k?
2. What program did you use to unzip the files?
3. The output of the following commands:

  C:\> set
  C:\> gcc -v

and we'll take it from there.

Regards,
Mumit


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]