gnupic: Re: [gnupic] COD file
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