The question rises whether Pascal is written with an uppercase "p" or not
[G4:~/gnu/testgpc/adriaan] adriaan% gpc -c --language=Pascal hello.pas [G4:~/gnu/testgpc/adriaan] adriaan% gpc -c --language=pascal hello.pas gpc: language pascal not recognized
So, gpc expects an uppercase "p". On the other hand:
- ada, fortran and c are written in all lowercase (see the man pages for gcc) - gdb writes Pascal lowercase - gp writes "--pascal=OPTION" lowercase.
Because of this, it came to a surprise to me that --language=pascal didn't work (and it took me some time to find out that --language=Pascal did).
(can't remember if I reported this before)
Regards,
Adriaan van Os
Adriaan van Os wrote:
The question rises whether Pascal is written with an uppercase "p" or not
[G4:~/gnu/testgpc/adriaan] adriaan% gpc -c --language=Pascal hello.pas [G4:~/gnu/testgpc/adriaan] adriaan% gpc -c --language=pascal hello.pas gpc: language pascal not recognized
So, gpc expects an uppercase "p". On the other hand:
- ada, fortran and c are written in all lowercase (see the man pages
for gcc)
- gdb writes Pascal lowercase
- gp writes "--pascal=OPTION" lowercase.
Because of this, it came to a surprise to me that --language=pascal didn't work (and it took me some time to find out that --language=Pascal did).
Well, since Pascal is a proper name, not an acronym, the uppercase letter is actually correct. (The same would be true for Ada, but that's not our business.)
So I think gdb and gp are wrong. I'll change gp (to accept both ways).
Frank
Adriaan van Os wrote:
The question rises whether Pascal is written with an uppercase "p" or not
...
Well, since Pascal is a proper name, not an acronym, the uppercase letter is actually correct. (The same would be true for Ada, but that's not our business.)
Ada is a proper name too!
Frank BraunFrank Braun Rechenzentrum Universitaetsstrasse 31 D-93053 Regensburg Germany
Tel.: +49-941-943-4891
email: frank.braun@rz.uni-regensburg.de
Frank Thomas Braun wrote:
Adriaan van Os wrote:
The question rises whether Pascal is written with an uppercase "p" or not
...
Well, since Pascal is a proper name, not an acronym, the uppercase letter is actually correct. (The same would be true for Ada, but that's not our business.)
Ada is a proper name too!
That's what I said.
Frank