This is the mail archive of the
cygwin@sources.redhat.com
mailing list for the Cygwin project.
Re: Long command lines
- To: Lothan <lothan at newsguy dot com>
- Subject: Re: Long command lines
- From: "Charles S. Wilson" <cwilson at ece dot gatech dot edu>
- Date: Mon, 29 Jan 2001 02:19:35 -0500
- CC: Cygwin <cygwin at cygwin dot com>
- References: <EJEMICJMAGCJAPFPGPLGAEAOCHAA.lothan@newsguy.com>
I don't think there's any easy way. You'll have to edit the make file,
and split the gcc command into three (or more) parts:
ar rc tmp1.a "some of the .o files"
ar rc tmp2.a "more of the .o files"
....
....
gcc -O4 -o lcint tmp1.a tmp2.a ... -ll
--Chuck
Lothan wrote:
>
> Does anyone know a way around long command lines generated from make? I was
> trying to compile the lclint source package and the link line got chopped
> off. As you can see, it is extremely long.
>
> gcc -O4 -o lclint cppmain.o cpplib.o cppexp.o cpphash.o cpperror.o uentry.o
> cpri m.o macrocache.o qual.o qtype.o specialClauses.o ctype.o cvar.o
> clabstract.o idD ecl.o clause.o structNames.o aliasChecks.o varKinds.o
> nameChecks.o cstring.o fileloc.o message.o source.o fileTable.o hashTable.o
> llerror.o messageLog.o flagMarker.o aliasTable.o ynm.o sRefTable.o ekind.o
> usymtab.o multiVal.o lltok.o sRef.o lcllib.o context.o globals.o flags.o
> general.o osd.o clauseStack.o filelocStack.o cstringList.o cstringSList.o
> sRefSetList.o ctypeList.o enumNameList.o enumNameSList.o exprNodeList.o
> exprNodeSList.o uentryList.o fileIdList.o filelocList.o qualList.o
> flagMarkerList.o idDeclList.o globSet.o intSet.o typeIdSet.o guardSet.o
> usymIdSet.o sRefSet.o lsymbolSet.o sigNodeSet.o lslOpSet.o sortSet.o
> initDeclNodeList.o sortList.o declaratorInvNodeList.o interfaceNodeList.o
> sortSetList.o declaratorNodeList.o letDeclNodeList.o stDeclNodeList.o
> lslOpList.o storeRefNodeList.o lsymbolList.o termNodeList.o ltokenList.o
> traitRefNodeList.o pairNodeList.o typeNameNodeList.o fcnNodeList.o
> paramNodeList.o programNodeList.o varDeclarationNodeList.o varNodeList.o
> quantifierNodeList.o replaceNodeList.o importNodeList.o tokentable.o scan.o
> scanline.o lslparse.o lh.o checking.o lclctypes.o imports.o lslinit.o
> syntable.o usymtab_interface.o abstract.o ltoken.o lclscanline.o
> lclsyntable.o lcltokentable.o sort.o symtable.o lclinit.o shift.o lclscan.o
> lsymbol.o mapping.o llgrammar.o signature.o exprNode.o exprChecks.o
> llmain.o cgrammar.o cscanner.o -ll
>
> --
> Want to unsubscribe from this list?
> Check out: http://cygwin.com/ml/#unsubscribe-simple
--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple