Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] gcc installation problem

Sorry, i solved the problem, but here is another (cdt related):

I failed to import an object file with CDT tool settings->gcc c
linker->libraries option. Here is the message:

mingw32-make -k all
Building target: LearnC.exe
Invoking: GCC C Linker
gcc -L"C:\mingw-runtime-3.9\lib" -o"LearnC.exe"  ./Hello.o
C:\binutils-2.16.91-20060119-1\bin\ld.exe: crt2.o: No such file: No
such file or directory
collect2: ld returned 1 exit status
mingw32-make: *** [LearnC.exe] Error 1
mingw32-make: Target `all' not remade because of errors.
Build complete for project LearnC

When i add the folder containing the object file, to the search path,
i still getting that output.

2007/4/27, Sascha Radike <sradike@xxxxxxxxxxxx>:
Hi,

please ask such questions in the cdt newsgroups:
http://www.eclipse.org/newsgroups/ .

The problem is not CDT related. Your MinGW installation is missing "as.exe"
- either because you did not install MinGW correctly or because your
environment PATH is not set correctly.

Sascha


-----Ursprüngliche Nachricht-----
Von: cdt-dev-bounces@xxxxxxxxxxx [mailto:cdt-dev-bounces@xxxxxxxxxxx] Im
Auftrag von Gabox
Gesendet: Freitag, 27. April 2007 13:12
An: cdt-dev@xxxxxxxxxxx
Betreff: [cdt-dev] gcc installation problem


**** Build of configuration Debug for project LearnC ****
Hi!

I get the following output, compiling a simple HelloWord.c file, by a
managed CDT C project.

mingw32-make -k all
Building file: ../Hello.c
Invoking: GCC C Compiler
gcc -I"C:\mingw-runtime-3.9\include" -O0 -g3 -Wall -c -fmessage-length=0
-MMD -MP -MF"Hello.d" -MT"Hello.d" -o"Hello.o" "../Hello.c"
../Hello.c:8:2: warning: no newline at end of file
gcc.exe: installation problem, cannot exec `as': No such file or directory
mingw32-make: *** [Hello.o] Error 1
mingw32-make: Target `all' not remade because of errors.
Build complete for project FirstTry

Whats the problem here? Thanks.
--
View this message in context:
http://www.nabble.com/gcc-installation-problem-tf3657077.html#a10217212
Sent from the Eclipse CDT - Development mailing list archive at Nabble.com.

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/cdt-dev



Back to the top