* Ping!
@ 2006-06-05 16:16 Jody
2006-06-06 2:30 ` Ping! Vikas Kumar
0 siblings, 1 reply; 4+ messages in thread
From: Jody @ 2006-06-05 16:16 UTC (permalink / raw)
To: ELKS
Has anyone been doing any programming on ELKS as of late?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ping!
2006-06-05 16:16 Ping! Jody
@ 2006-06-06 2:30 ` Vikas Kumar
2006-06-06 4:44 ` Ping! Jody
2006-06-06 9:33 ` Ping! Alan Cox
0 siblings, 2 replies; 4+ messages in thread
From: Vikas Kumar @ 2006-06-06 2:30 UTC (permalink / raw)
To: Jody; +Cc: ELKS
I had a question. What is the advantage of using bcc over gcc. Why is
bcc being used in some parts of the code vs gcc in other parts of the
code. A large part of the code where bcc is used to compile uses a lot
of assembly, rather than C. Why was it written this way ? Any pointers
?
Vikas
On 6/5/06, Jody <jbruchon@nc.rr.com> wrote:
> Has anyone been doing any programming on ELKS as of late?
> -
> To unsubscribe from this list: send the line "unsubscribe linux-8086" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ping!
2006-06-06 2:30 ` Ping! Vikas Kumar
@ 2006-06-06 4:44 ` Jody
2006-06-06 9:33 ` Ping! Alan Cox
1 sibling, 0 replies; 4+ messages in thread
From: Jody @ 2006-06-06 4:44 UTC (permalink / raw)
To: ELKS
Here's a short answer.
gcc = 32- or 64-bit code compiler, end of story. Doesn't do 8- or
16-bit code at all. Doesn't handle segmented architecture too well,
from what I understand. 8086/88 = 16-bit segmented architecture with no
mode of "flat" addressing or limitless segment size. Big problem.
bcc = 16-bit capable compiler taken from the Minix system, designed with
the 16-bit real-mode 8086 in mind, handles the ugly intricate details
that gcc can smile and avoid due to the use of flat protected mode
memory blahblahblah.
Assembly is likely used to optimize certain functions or to ensure that
the function behaves correctly independent of changes in bcc and the
8086 libc. ELKS is not intended to be portable across CPUs at all; only
8086 CPUs are targeted, with 80286 protected-mode code that doesn't (and
likely will never) work fully. Linux itself started with a lot of asm
in the code, and as it grew like a virus in popularity, the
arch-specific asm chunks were moved around so that new architectures
could be ported to with more ease. ELKS isn't that popular, thus size
and speed optimized assembly routines are totally acceptable, especially
since we're constantly hitting those damned segment limits already.
That's my take, but I'm not a C programmer. Also, don't send mail to
list subscribers if you send it to the ELKS list, because duplicate
messages are a big irritant of mine. Keep in mind that we get the list,
and thus we're already getting one copy.
Jody
Vikas Kumar wrote:
> I had a question. What is the advantage of using bcc over gcc. Why is
> bcc being used in some parts of the code vs gcc in other parts of the
> code. A large part of the code where bcc is used to compile uses a lot
> of assembly, rather than C. Why was it written this way ? Any pointers
> ?
>
> Vikas
>
> On 6/5/06, Jody <jbruchon@nc.rr.com> wrote:
>
>> Has anyone been doing any programming on ELKS as of late?
>> -
>> To unsubscribe from this list: send the line "unsubscribe linux-8086" in
>> the body of a message to majordomo@vger.kernel.org
>> More majordomo info at http://vger.kernel.org/majordomo-info.html
>>
> -
> To unsubscribe from this list: send the line "unsubscribe linux-8086" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Ping!
2006-06-06 2:30 ` Ping! Vikas Kumar
2006-06-06 4:44 ` Ping! Jody
@ 2006-06-06 9:33 ` Alan Cox
1 sibling, 0 replies; 4+ messages in thread
From: Alan Cox @ 2006-06-06 9:33 UTC (permalink / raw)
To: Vikas Kumar; +Cc: Jody, ELKS
Ar Llu, 2006-06-05 am 22:30 -0400, ysgrifennodd Vikas Kumar:
> I had a question. What is the advantage of using bcc over gcc.
gcc has no complete 8086 target
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-06-06 9:33 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-05 16:16 Ping! Jody
2006-06-06 2:30 ` Ping! Vikas Kumar
2006-06-06 4:44 ` Ping! Jody
2006-06-06 9:33 ` Ping! Alan Cox
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox