Re: [Dev-C++] [Help] Unable to link lots of object files
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: <or...@vp...> - 2003-05-28 06:09:05
|
Tom Craig wrote: > So, for example, the first command below fails with "Bad command or file > name", while the second works. I need all my object files, though, so that's > no good. > > g++.exe [~60 .o files here] -o"prog.exe" [some -L and -l tags] > g++.exe [~40 .o files here] -o"prog.exe" [some -L and -l tags] This is odd. wxWindows compiled perfectly for me for example, and it has 104 object files... You may try increasing the environment space of the command prompt. There are several ways to do that. I think it is the easiest to start a command prompt, select Properties->Memory tab, then increase the "Initial environment". You may need to restart for it to work for all command prompts. If that doesn't help, you can still try compiling from msys. Download and install MSYS from http://www.mingw.org then start it. It will give you a bash shell. Try executing make from there. Only try this, if the above does not work! This is all I can think of. -- Greetings, Balázs |