Hello, I have a problem windows shell input line can be up to 125 characters, but I have to link more object files and their names together are more than 125 characters, how can I link all object files with make program?
Thanks bye
make.exe and makefile
Re:make.exe and makefile
With difficulty. The best way is to upgrade to Windows 2000 or XP and use a 32-bit make.exe, thereby removing the command-line length restriction.
If you can't do that, then you should link groups of object files into libraries using the ar command, then pass each library name on the linker command line.
If you can't do that, then you should link groups of object files into libraries using the ar command, then pass each library name on the linker command line.
Re:make.exe and makefile
Cygwin
I should have said "set of 32-bit tools", because it's no use trying to pass a long command line from a 32-bit program to a 16-bit one.
If you're using DJGPP, I'd advise you to replace all your tools with the Cygwin equivalents.
I should have said "set of 32-bit tools", because it's no use trying to pass a long command line from a 32-bit program to a 16-bit one.
If you're using DJGPP, I'd advise you to replace all your tools with the Cygwin equivalents.
Re:make.exe and makefile
? I used mingw with win95 and I didn't have any troubles compiling nagi in make.
- Nick
- Nick
Re:make.exe and makefile
I could have said mingw instead of Cygwin. They're both 32-bit native Windows applications -- unlike DJGPP, which is a 32-bit app inside a 16-bit app inside a 32-bit OS.