Searching \ for '[PIC] Case sensitivity in MPLAB' in subject line. ()
Make payments with PayPal - it's fast, free and secure! Help us get a faster server
FAQ page: www.piclist.com/techref/microchip/languages.htm?key=mplab
Search entire site for: 'Case sensitivity in MPLAB'.

Exact match. Not showing close matches.
PICList Thread
'[PIC] Case sensitivity in MPLAB'
2004\12\27@110002 by Midgley John

flavicon
face
Hi

MPLAB IDE v7.00 seems to default to case-sensitive for symbol names, which
thows up loads of 'symbol not previously defined errors with my old code -
the .inc file has them all in SHOUTY UPPER CASE while my code uses nice
pascal-like lower case.

The build window shows:

Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q /p16F84
"pulse.asm" /l"pulse.lst" /e"pulse.err"

I think if I could find the right place, I could add /c to that commnd line,
but I've run out of places to look. Of course I can use mpasm directly and
tick (or is it untick?) the box, but that doesn't help here.

Where have they hidden the option?

Cheers
John


2004\12\27@111354 by Bob Barr

flavicon
face
On Mon, 27 Dec 2004 15:59:54 -0000, Midgley John wrote:

>MPLAB IDE v7.00 seems to default to case-sensitive for symbol names, which
>thows up loads of 'symbol not previously defined errors with my old code -
>the .inc file has them all in SHOUTY UPPER CASE while my code uses nice
>pascal-like lower case.


Under the 'Project' tab, click on 'Build Options'. You'll see a list
of the project's files and a final entry labeled 'Project'. Click on
the file name or 'Project' to set the options.

AFAIK, by default, the 'Project' settings apply to all files unless
they're overridden by changes in the individual file settings. You
should be able to turn off case sensitivity on a file-by-file basis or
for the entire project globally.


Regards, Bob

2004\12\27@123716 by Midgley John

flavicon
face


Aha. That'll teach me to go for the 'instant gratification' option of
quickbuild. When there's no project, there's no Build Options.

I imported the code into a new project and it worked.

Thanks

John

Under the 'Project' tab, click on 'Build Options'. You'll see a list
of the project's files and a final entry labeled 'Project'. Click on
the file name or 'Project' to set the options.

Regards, Bob

2004\12\27@133053 by olin_piclist

face picon face
Midgley John wrote:
> MPLAB IDE v7.00 seems to default to case-sensitive for symbol names,
> which thows up loads of 'symbol not previously defined errors with my
> old code - the .inc file has them all in SHOUTY UPPER CASE while my
> code uses nice pascal-like lower case.
>
> The build window shows:
>
> Executing: "C:\Program Files\Microchip\MPASM Suite\MPAsmWin.exe" /q
> /p16F84 "pulse.asm" /l"pulse.lst" /e"pulse.err"
>
> I think if I could find the right place, I could add /c to that commnd
> line, but I've run out of places to look.

Huh?  What is there to "look for"?  The /c- switch is well documented, all
you have to do is use it.  My build scripts always specify /c- /o+ before
any other command line parameters and it works fine.  I don't understand the
problem.


*****************************************************************
Embed Inc, embedded system specialists in Littleton Massachusetts
(978) 742-9014, http://www.embedinc.com

2004\12\27@133541 by Bob Axtell

face picon face
Its in the build options "project" tab. Rummage through the tabs for
"general"
options. Itsjust like the options for the output, exceptthese are defaults.

Happy New Year.

--Bob

Midgley John wrote:

{Quote hidden}

--
Note: Attachments must be sent to
spam_OUTattachTakeThisOuTspamengineer.cotse.net, and
MAY delay replies to this message.
       520-219-2363

2004\12\27@173528 by Midgley John

flavicon
face
Your reply is fine if I'm actually running mpasamwin.exe at a command line,
but I'm looking at the results in the 'ouput' window of MPLAB which was
frustratingly showing me the command it had just run which had produced all
the errors. Running mpasmwin.exe on its own also allowed me to deselect
case-sensitivity. It was just how to alter the mplab-generated command line
that was eluding me, but which other correspondents have revealed.

Cheers
John

{Original Message removed}

More... (looser matching)
- Last day of these posts
- In 2004 , 2005 only
- Today
- New search...