J
jacob navia
legalese is the only thing that counts for them.
They are unable to do anything else.
They are unable to do anything else.
Tristan said:(e-mail address removed) wrote:
.... snip ...
Hmm... Person A considers this behaviour to be correct, and
Person B considers it to be incorrect. However shall we know
who is right? If only there were some arbiter of correctness
for the C language; some sort of supreme authority to which one
could turn to settle disputes on what is and is not permitted
behaviour for an implementation...
jacob said:Bart van Ingen Schenau wrote:
.... snip ...
I am running in a machine with 32 or 64 bits, and I have to keep
the integer interface as MSVC dictates under windows, and under
linux I have to follow gcc
Richard said:jacob navia said:
.... snip ...
Why should it, if it doesn't target a 486? C370 doesn't run on a
486 either, but nobody seems to think that's a problem.
Don't be an arse, you know what he means. What use is a compiler thatCBFalconer said:FYI gcc is NOT the ISO standard for the C language. Nor is MSVC.
CBFalconer said:FYI gcc is NOT the ISO standard for the C language. Nor is MSVC.
So?CBFalconer said:He is repeating his own faults here. He claims (or has claimed)
that lcc-win32 runs under W98. W98 runs on a 486. lcc-win32 does
not.
Keith said:.... snip from navia ...
In your list above, you imply that lcc's treatment of long long
and long double are equivalent. In fact, as I understand it, it
*rejects* long long and *accepts* (and correctly implements) long
double. Do you see the difference?
CBFalconer said:If lcc-win32 rejects long long, it doesn't implement C99.
jacob navia said:Excellent Chuck, excellent.
If I am not compatible with gcc under linux I can't make
a system call, I would have to compile all the OS and all the
system libraries before any user could use my compiler.
Under windows the source code isn't even available.
I could not do any call into the windows API. That means
I wouldn't be able to implement any C library and the
compiler would not run.
You, heathfield, thompson and all the others
only care about legalese you see?
I want usable software.
Tristan said:IIRC, DJGPP targets MS-DOS. Microsoft Windows can emulate MS-DOS,
but why recommend a compiler for a legacy system which the OP's
OS can emulate rather than one which target's the OP's OS itself?
Ian said:Don't be an arse, you know what he means. What use is a compiler
that doesn't follow the ABI for its target platform?
jacob said:CBFalconer wrote:
.... snip ...
Excellent Chuck, excellent.
If I am not compatible with gcc under linux I can't make
a system call, I would have to compile all the OS and all the
system libraries before any user could use my compiler.
Under windows the source code isn't even available.
I could not do any call into the windows API. That means
I wouldn't be able to implement any C library and the
compiler would not run.
The ignorance is yours. If you can build from source, you can imposeCBFalconer said:You are showing an appalling ignorance. You don't need that source
code to call the API. You don't need that API (in general) to
implement the standard C library.
CBFalconer said:Quite likely it is a compiler that meets all the requirements of
the ISO standard for the C language. What use is a compiler that
fails to do this?
Quite likely it is a compiler that meets all the requirements of
the ISO standard for the C language. What use is a compiler that
fails to do this?
Because it is quick and accurate. It also operates from the CLI,
so that you can control everything much better (and quicker) that
through some sort of GUI. The installation is really a version of
gcc.
Then you'd be contradicting a lot of major vendors who have a strong
position in the evolution of C. But then again, you may choose to use
whatever terminology you wish to; nobody has to take you seriously.
Yes, but dereferencing an uninitialized pointer isn't bad luck (it
would merely give you a meaningless value or cause a segfault, which
you would notice right away and fix it).
Obviously that's an exaggerated example; an implementation can't
actually blow up your machine
Anyway, this is again degenerating into a "Yes!" "No!" "Yes!" "No!"
Keith Thompson said:No, long double declarations are not ignored. lcc, as I understand it
from the discussion in this thread, simply chooses to use the same
representation for long double as for double, while treating them as
distinct types. That is perfectly permissible. If you don't believe
me, check the standard.
[...]Flash Gordon said:Jacob has, IMHO, made the correct decision in following the platform
ABI for the platforms he is targeting. He just needs to stamp in big
letters across his documentation that on Windows he does not follow it
for "long double" (for perfectly valid reasons) and so people need to
stick to float/double in interfaces which might be accessed from other
implementations.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.