From: Heiko G. <hg...@te...> - 2003-11-04 12:19:53
|
Hi, you could use linker scripts and include a single file instead of all the objects and libs. You would do something like this: begin my_ld_scriptfile---------------------------------------- INPUT( myobj1.o myobj2.o ... myobjn.o ); GROUP( -lmylib1 -lmylib2 ... -lmylibk ); end my_ld_scriptfile---------------------------------------- see ld manual for linker scripts -> file comands Greetings Heiko On Tuesday 04 November 2003 11:58, vladimir glazounov wrote: > Hi, > unfortunately, I should pick up some of the object > files in directory, so this scenario won't work. > Regards, > > Vladimir > > --- Zodiaq <zo...@as...> wrote: > > Hello vladimir and All MinGW users, > > > > Tuesday, November 4, 2003, 11:12:04 AM, wrote: > > > > vg> Hi, > > vg> I'm trying to use MinGW in 4NT shell. > > Unfortunately, > > vg> there is a limit of 2,047 characters and no > > vg> possibility to pass a file with completion for > > the > > vg> command line. My command line is too long, and I > > found > > vg> no possibility to pass to the linker all my > > vg> object-files. Could anyone give me a hint, how > > it > > vg> could be done? > > > > Rather then passing all object files by their name > > i.e. foo.o, try *.o > > (under winxp this works perfectly) |