Command line limit for Make

Nogradi, Chris cnogradi@movaz.com
Fri Sep 14 09:05:00 GMT 2001


Hello,

I am having the following problem when running long command lines (4560
characters) from inside of make (using cmd.exe to run make in dos mode):

The following character string is too long:
 -c -Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/movaz_ospf
-Ie:/views/work/excsp/src/components
-Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/aticsys/gen
-Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/aticsys/os
-Ie:/views/work/excsp/smmon/MPLS/routing/ospf/aticl3/ipstack -I
e:/views/work/excsp/src/sp/common/MPLS/routing/ospf/aticl3/ipstack/ip
-Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/aticl3/ipstack/igm
p -Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/aticmibs
-Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/aticospf/mibospf
-Ie:/views/work/excsp/
src/sp/common/MPLS/routing/ospf/aticpol
-Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/tedb
-Ie:/views/work/excsp/src/sp/common/MPLS/platform
-Ie:/views/work/excsp/src/sp/common/MPLS/utils
-Ie:/views/work/excsp/src/sp/480SP/h
-Ie:/views/work/excsp/src/sp/common/IPifCfg -Ie:/views/work/excsp/s
rc/common/h -Ie:/views/work/excsp/src/sp/common/MPLS/signaling/octpdb
-Ie:/views/work/excsp/src/sp/common/MPLS/pce
-Ie:/views/work/excsp/src/sp/common/MPLS/pce/constraints
-Ie:/views/work/excsp/src/sp/common/MPLS/pce/constraints/local
-Ie:/views/work/excsp/src/sp/common/MPLS/pce/constraints/path -Ie
:/views/work/excsp/src/sp/common/MPLS/pce/constraints/group
-Ie:/views/work/excsp/src/sp/common/MPLS/pce/core
-Ie:/views/work/excsp/src/sp/common/MPLS/pce/topology
-Ie:/views/work/excsp/src/sp/common/MPLS/pce/utilities
-Ie:/views/work/excsp/src/common/h -Ie:/views/work/excsp/src/sp/common/h
-Ie:/vie
ws/work/excsp/src/sp/excsp/h
-Ie:/views/work/excsp/src/sp/excsp/SubShelfMgr
-Ie:/views/work/excsp/src/sp/excsp/ConnMgr
-Ie:/views/work/excsp/src/sp/excsp/shelfStartUp
-Ie:/views/work/excsp/src/sp/excsp/comms
-Ie:/views/work/excsp/src/sp/excsp/topology
-Ie:/views/work/excsp/src/sp/common/MPLS -Ie:/vi
ews/work/excsp/src/sp/common/MPLS/utils
-Ie:/views/work/excsp/src/sp/common/MPLS/platform/vxworks
-Ie:/views/work/excsp/src/sp/common/SNMP
-Ie:/views/work/excsp/src/common/MonitorPoint
-Ie:/views/work/excsp/src/bsps/SBC8260/EXC_SP_vx
-Ie:/views/work/excsp/src/bsps/SBC8260 -Ie:/views/work/excsp/src/c
ommon/comms -Ie:/views/work/excsp/src/sp/common/comms
-Ie:/views/work/excsp/src/common/Drivers/hdlcBase
-Ie:/views/work/excsp/src/common/Drivers/spi/sbc
-Ie:/views/work/excsp/src/common/DnLd_Agt
-Ie:/views/work/excsp/src/common/FileSys_Mgr
-Ie:/views/work/excsp/src/common/Utilities -Ie:/views/work/e
xcsp/src/components
-Ie:/views/work/excsp/src/sp/common/MPLS/routing/ospf/aticconf
-Ie:/views/work/excsp/src/sp/common/alarm2
-Ie:/views/work/excsp/src/sp/common/alarm2/h
-Ie:/views/work/excsp/src/sp/common
-Ie:/views/work/excsp/src/sp/common/ci/project/include
-IC:\\views\\tools\\toolbox\\WRS\\torn
ado/target/config/comps/src -Ie:/views/work/excsp/src/common
-Ie:/views/work/excsp/src/sp/common/Drivers
-Ie:/views/work/excsp/src/common/Drivers/spi
-Ie:/views/work/excsp/src/common/Drivers/spi/sp
-Ie:/views/work/excsp/src/sp/common/MPLS/signaling/rsvp
-Ie:/views/work/excsp/src/sp/common/networking
/vxworks/h -Ie:/views/work/excsp/src/sp/excsp/sonet_sync_star/h  -MD
-Ie:/views/work/excsp/src/sp/common/SNMP/common/agent/emanate/snmp15.2.1
.1/src/include -IC:/views/tools/toolbox/WRS/tornado/target/h
-BC:/views/tools/toolbox/WRS/tornado/host/x86-win32/lib/gcc-lib/
-BC:/views/tools/toolbox/WRS/torn
ado/host/x86-win32/bin/
-BC:/views/tools/toolbox/WRS/tornado/host/x86-win32/powerpc-wrs-vxworks/
bin/ -fno-builtin -Wall -DCPU=PPC603 -fvolatile -fno-for-scope -ansi
-nostdinc -DRW_MULTI_THREAD -D_REENTRANT -O0 -DPCE_ON -DRSVP_ON
-DRSVP_STANDALONE_TEST -DRSVP_OCTDB_ON -DLSM_LOCAL_DB -DRSVP_VXWORKS_ST
ACK_WORKAROUND -DLSM_ON -DLSM_STANDALONE_TEST -DRSVP_INCLUDE_LSM
-DRSVP_VXWORKS_STACK_WORKAROUND -DDO_BIND -DRSVP_INCLUDE_PROV
-DPROV_CLI_ON -DBIG_ENDIAN=1 -DATIC_CORE_CPU=0
-D__PROJECT_ENABLE_CONSOLE__ -DCOMMON_MEM_TRACK_ALLOCS -DCOMMO
make: *** [routing/ospf/movaz_ospf/movaz_ospf.o] Error 1

This is using cygwin release 1.3.2:

    Cygwin DLL version info:
        dll major: 1003
        dll minor: 2
        dll epoch: 19
        dll bad signal mask: 19005
        dll old termios: 5
        dll malloc env: 28
        api major: 0
        api minor: 39
        shared data: 3
        dll identifier: cygwin1
        mount registry: 2
        cygnus registry name: Cygnus Solutions
        cygwin registry name: Cygwin
        program options name: Program Options
        cygwin mount registry name: mounts v2
        cygdrive flags: cygdrive flags
        cygdrive prefix: cygdrive prefix
        cygdrive default prefix:
        build date: Wed Jun 20 11:07:38 2001
        shared id: cygwin1S3

The previous version of cygwin that I was using does not have this
problem:

 Cygwin DLL version info:
     dll major: 1001
     dll minor: 8
     dll epoch: 19
     dll bad signal mask: 19005
     dll old termios: 5
     dll malloc env: 28
     api major: 0
     api minor: 34
     shared data: 3
     dll identifier: cygwin1
     mount registry: 2
     cygnus registry name: Cygnus Solutions
     cygwin registry name: Cygwin
     program options name: Program Options
     cygwin mount registry name: mounts v2
     cygdrive flags: cygdrive flags
     cygdrive prefix: cygdrive prefix
     cygdrive default prefix:
     build date: Wed Jan 31 10:08:38 EST 2001
     shared id: cygwin1S3

Is there a command line limit?

Thanks,

Chris

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list