mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mingw-cross-env-list] "crt2.o: No such file" when compiling gcc


From: Josh Faust
Subject: [Mingw-cross-env-list] "crt2.o: No such file" when compiling gcc
Date: Mon, 27 Sep 2010 18:54:07 -0700

Hey all,

I'm trying to get mingw-cross-env setup, and have run into a problem that I can't seem to find a solution for.  I've downloaded version 2.15, and building gcc consistently fails.  The initial error isn't very useful, but if I go into tmp-gcc/gcc-4.5.0.build and do a "make" I get:

gcc  -g -O2 -DIN_GCC -DCROSS_DIRECTORY_STRUCTURE  -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat   -DHAVE_CONFIG_H  -o cc1-dummy c-lang.o stub-objc.o attribs.o c-errors.o c-lex.o c-pragma.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-common.o c-opts.o c-format.o c-semantics.o c-ppoutput.o c-cppbuiltin.o c-objc-common.o c-dump.o c-pch.o c-parser.o i386-c.o msformat-c.o c-gimplify.o tree-mudflap.o c-pretty-print.o c-omp.o \
 dummy-checksum.o main.o  libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a ../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a    -L/wg/stor6_home3/jfaust/packages/mingw-cross-env-2.15/tmp-gcc/gcc-4.5.0.build/./gmp/.libs -L/wg/stor6_home3/jfaust/packages/mingw-cross-env-2.15/tmp-gcc/gcc-4.5.0.build/./mpfr/.libs -L/wg/stor6_home3/jfaust/packages/mingw-cross-env-2.15/tmp-gcc/gcc-4.5.0.build/./mpc/src/.libs -lmpc -lmpfr -lgmp -ldl  -L../zlib -lz 
/usr/bin/ld: crt2.o: No such file: No such file or directory

I've search around on google for a while and it seems like everyone else who has hit this is running mingw on windows, not trying to cross compile, and even then the answer seems to be "you haven't installed it correctly".

This is on Ubuntu 10.04 64-bit, building in my home directory.

Any idea what I can do to fix this?

Josh

reply via email to

[Prev in Thread] Current Thread [Next in Thread]