gnupic: Thread: Re: [gnupic] COD file


[<<] [<] Page 1 of 1 [>] [>>]
Subject: Re: [gnupic] COD file
From: "Xiaofan Chen" ####@####.####
Date: 11 Dec 2007 11:35:41 +0000
Message-Id: <a276da400712102143l188b42v89ae1e0d61d543ef@mail.gmail.com>

On 12/10/07, Julen Gutierrez ####@####.#### wrote:
> I´m using the gpasm and i have got a problem if the file path lenght
> excededd form 62. I have read that it is because of the COD file. Is there
> any manner to block the output of this file (I don't need it) or avoid the
> problem? >>Thanks a lot,
>

Are you using Windows or Linux?

mplink has an option "/w" to suppress COD file generation
but I do not think gplink has this option.

$ mplink
MPLINK 4.12, Linker
Copyright (c) 2007 Microchip Technology Inc.
Syntax:   mplink { cmdfile | [objfile] | [libfile] | [option] } ...
  'cmdfile' is the name of a linker command file.
       All linker command files must have the extension '.lkr'
  'objfile' is the name of an assembler or compiler generated object file.
       All object files must have the extension '.o'.
  'libfile' is the name of a librarian created library file.
       All library files must have the extension '.lib'.
  'option'  is a linker command line option described below.

Linker command line options:
   /o <filename>   : specify output file 'filename', default is 'a.out'
   /m <filename>   : create map file 'filename'
   /l <pathlist>   : list of directories to search for library/object files
   /k <pathlist>   : list of directories to search for linker command files
   /n <length>     : number of lines per listing page (0 = no pagination)
   /h, /?          : show this help screen
   /a <hexformat>  : specify format of hex programming file
                     valid formats are INHX8M, INHX8S, INHX32
   /d              : do not create listing file
   /w              : do not invoke MP2COD (no .COD or .LST file)
   /x              : do not invoke MP2HEX (no .HEX, .HXL, or .HXH file)
   /q              : quiet mode operation (display no warnings or errors)
   /v              : verbose mode operation (display all warnings and errors)

$ gplink
Usage: gplink [options] [objects] [libraries]
Options: [defaults in brackets after descriptions]
  -a FMT, --hex-format FMT       Select hex file format.
  -c, --object                   Output executable object file.
  -d, --debug                    Output debug messages.
  -f VALUE, --fill VALUE         Fill unused program memory with value.
  -h, --help                     Show this usage message.
  -I DIR, --include DIR          Specify include directory.
  -l, --no-list                  Disable list file output.
  -m, --map                      Output a map file.
  -o FILE, --output FILE         Alternate name of output file.
  -O OPT, --optimize OPT         Optimization level [1].
  -q, --quiet                    Quiet.
  -r, --use-shared               Use shared memory if necessary.
  -s FILE, --script FILE         Linker script.
  -t SIZE, --stack SIZE          Create a stack section.
  -v, --version                  Show version.
  -w, --processor-mismatch       Disable "processor mismatch" warning.

Default linker script path /usr/local/share/gputils/lkr
Default library path /usr/local/share/gputils/lib

Report bugs to:
<URL:http://gputils.sourceforge.net/>

Xiaofan
Subject: RE: [gnupic] COD file
From: "Julen Gutierrez" ####@####.####
Date: 11 Dec 2007 11:49:36 +0000
Message-Id: <000001c83beb$e1667240$2401a8c0@BIZINTEKCAD2>

Hi,

Thanks for reply. Im using Windows and we only want to use open source
application as Gpasm.  

Julen 

-----Mensaje original-----
De: Xiaofan Chen ####@####.#### 
Enviado el: martes, 11 de diciembre de 2007 6:43
Para: ####@####.####
Asunto: Re: [gnupic] COD file

On 12/10/07, Julen Gutierrez ####@####.#### wrote:
> I´m using the gpasm and i have got a problem if the file path lenght
> excededd form 62. I have read that it is because of the COD file. Is there
> any manner to block the output of this file (I don't need it) or avoid the
> problem? >>Thanks a lot,
>

Are you using Windows or Linux?

mplink has an option "/w" to suppress COD file generation
but I do not think gplink has this option.

$ mplink
MPLINK 4.12, Linker
Copyright (c) 2007 Microchip Technology Inc.
Syntax:   mplink { cmdfile | [objfile] | [libfile] | [option] } ...
  'cmdfile' is the name of a linker command file.
       All linker command files must have the extension '.lkr'
  'objfile' is the name of an assembler or compiler generated object file.
       All object files must have the extension '.o'.
  'libfile' is the name of a librarian created library file.
       All library files must have the extension '.lib'.
  'option'  is a linker command line option described below.

Linker command line options:
   /o <filename>   : specify output file 'filename', default is 'a.out'
   /m <filename>   : create map file 'filename'
   /l <pathlist>   : list of directories to search for library/object files
   /k <pathlist>   : list of directories to search for linker command files
   /n <length>     : number of lines per listing page (0 = no pagination)
   /h, /?          : show this help screen
   /a <hexformat>  : specify format of hex programming file
                     valid formats are INHX8M, INHX8S, INHX32
   /d              : do not create listing file
   /w              : do not invoke MP2COD (no .COD or .LST file)
   /x              : do not invoke MP2HEX (no .HEX, .HXL, or .HXH file)
   /q              : quiet mode operation (display no warnings or errors)
   /v              : verbose mode operation (display all warnings and
errors)

$ gplink
Usage: gplink [options] [objects] [libraries]
Options: [defaults in brackets after descriptions]
  -a FMT, --hex-format FMT       Select hex file format.
  -c, --object                   Output executable object file.
  -d, --debug                    Output debug messages.
  -f VALUE, --fill VALUE         Fill unused program memory with value.
  -h, --help                     Show this usage message.
  -I DIR, --include DIR          Specify include directory.
  -l, --no-list                  Disable list file output.
  -m, --map                      Output a map file.
  -o FILE, --output FILE         Alternate name of output file.
  -O OPT, --optimize OPT         Optimization level [1].
  -q, --quiet                    Quiet.
  -r, --use-shared               Use shared memory if necessary.
  -s FILE, --script FILE         Linker script.
  -t SIZE, --stack SIZE          Create a stack section.
  -v, --version                  Show version.
  -w, --processor-mismatch       Disable "processor mismatch" warning.

Default linker script path /usr/local/share/gputils/lkr
Default library path /usr/local/share/gputils/lib

Report bugs to:
<URL:http://gputils.sourceforge.net/>

Xiaofan

---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####

Subject: Re: [gnupic] COD file
From: Walter Banks ####@####.####
Date: 11 Dec 2007 12:47:35 +0000
Message-Id: <475E8640.5B73005F@bytecraft.com>

One way that will extend the effective file length is to pass the 8.3 short form of the file.

How most of the compilers deal with the 63 character name limit is to embed the file name as a path from the base path of the project.

Regards


Walter Banks

Julen Gutierrez wrote:

> Hi,
>
>
>
> I´m using the gpasm and i have got a problem if the file path lenght
> excededd form 62. I have read that it is because of the COD file. Is there
> any manner to block the output of this file (I don’t need it) or avoid the
> problem? >>Thanks a lot,
>
>
>
> Julen

[<<] [<] Page 1 of 1 [>] [>>]


Powered by ezmlm-browse 0.20.