public inbox for linux-8086@vger.kernel.org
 help / color / mirror / Atom feed
* gcc-8086
@ 2004-05-13 15:06 Eduardo Pereira Habkost
  2004-05-13 16:02 ` gcc-8086 Miguel Bolanos
  0 siblings, 1 reply; 5+ messages in thread
From: Eduardo Pereira Habkost @ 2004-05-13 15:06 UTC (permalink / raw)
  To: linux-8086

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

Hi, all,

I've been working on the DJ gcc i86 target patches, and I've been making
it work using gas instead of nasm, and had some progress.

I would like to know if there is anyone interested on the gcc-8086 work,
here, or that have worked on it before. I am starting to look at ELKS
code, and I plan to test their binaries using ELKS.

Another question: is there any interest from the ELKS project in using
GCC to build ELKS? Wouldn't it make easier the work of porting existing
Linux Kernel code to ELKS, for example?

I am wondering how painful would be making the actual Linux Kernel code
work on a 16-bit arch, once we have a working gcc-8086. The Linux code
seems to be "at-least-32-bit dependant" in many parts that are supposed
to be arch-independant. But once those parts are changed, there are some
strong reasons for not doing it?

--
Eduardo

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc-8086
  2004-05-13 15:06 gcc-8086 Eduardo Pereira Habkost
@ 2004-05-13 16:02 ` Miguel Bolanos
  2004-05-13 16:44   ` gcc-8086 Eduardo Pereira Habkost
  0 siblings, 1 reply; 5+ messages in thread
From: Miguel Bolanos @ 2004-05-13 16:02 UTC (permalink / raw)
  To: Eduardo Pereira Habkost; +Cc: linux-8086

Greetings Eduardo,

On Thu, 2004-05-13 at 09:06, Eduardo Pereira Habkost wrote:
> Hi, all,
> 
> I've been working on the DJ gcc i86 target patches, and I've been making
> it work using gas instead of nasm, and had some progress.
> 

nice.

> I would like to know if there is anyone interested on the gcc-8086 work,
> here, or that have worked on it before. I am starting to look at ELKS
> code, and I plan to test their binaries using ELKS.
> 

I haven't get to test it yet... but yeah i'd be interest to see how
useful it can be for us. ATM we use bcc.

> Another question: is there any interest from the ELKS project in using
> GCC to build ELKS? Wouldn't it make easier the work of porting existing
> Linux Kernel code to ELKS, for example?
> 

Porting the existing kernel code... u mean making a fork for elks?

I have been making my own elks kernel based on linux 2.6 kernel.. but i
haven't progress that much due to time availability.. but this have been
more a fun personal project, than anything else.

> I am wondering how painful would be making the actual Linux Kernel code
> work on a 16-bit arch, once we have a working gcc-8086. The Linux code
> seems to be "at-least-32-bit dependant" in many parts that are supposed
> to be arch-independant. But once those parts are changed, there are some
> strong reasons for not doing it?
> 

The first question that comes to my mind is... do u mean to put all the
linux kernel on a 10mb hard disk (if u are lucky to find one this big
for an 8086), even though u know that 99.5% of the code is useless for
ur box?

best wishes

Mike

> --
> Eduardo


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc-8086
  2004-05-13 16:02 ` gcc-8086 Miguel Bolanos
@ 2004-05-13 16:44   ` Eduardo Pereira Habkost
  2004-05-13 17:37     ` gcc-8086 Miguel Bolanos
  2004-05-13 21:15     ` gcc-8086 patch (very experimental) Eduardo Pereira Habkost
  0 siblings, 2 replies; 5+ messages in thread
From: Eduardo Pereira Habkost @ 2004-05-13 16:44 UTC (permalink / raw)
  To: Miguel Bolanos; +Cc: linux-8086

[-- Attachment #1: Type: text/plain, Size: 3726 bytes --]

Hi, Miguel,

On Thu, May 13, 2004 at 10:02:50AM -0600, Miguel Bolanos wrote:
<snip>
> 
> > I would like to know if there is anyone interested on the gcc-8086 work,
> > here, or that have worked on it before. I am starting to look at ELKS
> > code, and I plan to test their binaries using ELKS.
> > 
> 
> I haven't get to test it yet... but yeah i'd be interest to see how
> useful it can be for us. ATM we use bcc.

When I have time (I hope that it will be soon), I'll do some tests
using ELKS, and report them. First, I should try to boot ELKS on my only
8086 machine (an uncommon one, I guess: a hp 200lx palmtop).

> 
> > Another question: is there any interest from the ELKS project in using
> > GCC to build ELKS? Wouldn't it make easier the work of porting existing
> > Linux Kernel code to ELKS, for example?
> > 
> 
> Porting the existing kernel code... u mean making a fork for elks?

I don't know if I would call it a "fork".

I mean trying to make the 2.6 code work on 16-bit. Sure a separated tree
will be needed for this work, as most of the Linux kernel projects. Some
of the work could be used for ELKS, and lots of experience on ELKS,
and even code, would help. If it works, ELKS and Linux would become more
and more similar, but there is a long way ahead before this dream come
true.

(Okay, I am going back to the Real World. I was just wondering if that
could be possible :)


> 
> I have been making my own elks kernel based on linux 2.6 kernel.. but i
> haven't progress that much due to time availability.. but this have been
> more a fun personal project, than anything else.

I've started to do the same thing: playing with the 2.6 code, seeing
how hard would be doing that port. Then I decided look at ELKS first,
then check if it will be worth doing, and if someone haven't thought of
it yet. So here I am.

All these gcc and elks work are being a fun personal project to me, too.

> 
> > I am wondering how painful would be making the actual Linux Kernel code
> > work on a 16-bit arch, once we have a working gcc-8086. The Linux code
> > seems to be "at-least-32-bit dependant" in many parts that are supposed
> > to be arch-independant. But once those parts are changed, there are some
> > strong reasons for not doing it?
> > 
> 
> The first question that comes to my mind is... do u mean to put all the
> linux kernel on a 10mb hard disk (if u are lucky to find one this big
> for an 8086), even though u know that 99.5% of the code is useless for
> ur box?

No, I mean to build only the needed parts, as on the 2.6 code, even
more parts of the kernel are becoming optional at build time,
and there are more that could be done. In a perfect world, we wouldn't
need a separated project for linux-8086, just disable the features you
on't need.

But I didn't tested how small the kernel could be made, even on i386,
removing all unneeded parts. If it is still too big, a lot of the work
would be making unnecessary parts optional. This would help not only
8086 people, but other people that works on embedded systems. If it is
still TOO big, then the work will be even more painful.  8)

BTW, I currently have a 5MB flash disk on my "8086 machine", and should
receive a 256MB ata flash disk for it, soon.

Anyway, my "dream" would be building, from the same Linux kernel tree,
with different options, a kernel as small as ELKS, and the kernel for
my PC or to a server. It seems to be a long way.  :)

> 
> best wishes
> 
> Mike

Just sharing my thoughts. I think that I should show something more
concrete, now, and not only wondering "how nice would it be if we have
foobar ported to 8086".

-- 
Eduardo

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: gcc-8086
  2004-05-13 16:44   ` gcc-8086 Eduardo Pereira Habkost
@ 2004-05-13 17:37     ` Miguel Bolanos
  2004-05-13 21:15     ` gcc-8086 patch (very experimental) Eduardo Pereira Habkost
  1 sibling, 0 replies; 5+ messages in thread
From: Miguel Bolanos @ 2004-05-13 17:37 UTC (permalink / raw)
  To: Eduardo Pereira Habkost; +Cc: linux-8086

Hey! :)

On Thu, 2004-05-13 at 10:44, Eduardo Pereira Habkost wrote:

[...]

> > I haven't get to test it yet... but yeah i'd be interest to see how
> > useful it can be for us. ATM we use bcc.
> 
> When I have time (I hope that it will be soon), I'll do some tests
> using ELKS, and report them. First, I should try to boot ELKS on my only
> 8086 machine (an uncommon one, I guess: a hp 200lx palmtop).
> 

Good we will be looking forward to see those reports.. i will try to
make sometime myself as well and see if i can get some results testing.

Quite an uncommon box btw, but hey its always nice to play with uncommon
hardware :)

[...]

> > Porting the existing kernel code... u mean making a fork for elks?
> 
> I don't know if I would call it a "fork".
> 
> I mean trying to make the 2.6 code work on 16-bit. Sure a separated tree
> will be needed for this work, as most of the Linux kernel projects. Some
> of the work could be used for ELKS, and lots of experience on ELKS,
> and even code, would help. If it works, ELKS and Linux would become more
> and more similar, but there is a long way ahead before this dream come
> true.

Yes.. as i said before i have been doing little bits of this.. but
believe me its NOT such an easy task.. but hey if others are interest i
could share what i've done so far so maybe we can take from there.

> 
> (Okay, I am going back to the Real World. I was just wondering if that
> could be possible :)
> 

Possible yes.. easy? no :)

[...]

> I've started to do the same thing: playing with the 2.6 code, seeing
> how hard would be doing that port. Then I decided look at ELKS first,
> then check if it will be worth doing, and if someone haven't thought of
> it yet. So here I am.
> 

Well i consider it worth it for both the benefit to the community, and
for the learning experience :)

As i said if others are interested some of of us could start doing a bit
of this..

> All these gcc and elks work are being a fun personal project to me, too.
> 

Well i believe most if not all Open Source developers start cool
projects just for fun. :)
Thats part of the charm of the charm of the Open Source Community :)

[...]

> > 
> > The first question that comes to my mind is... do u mean to put all the
> > linux kernel on a 10mb hard disk (if u are lucky to find one this big
> > for an 8086), even though u know that 99.5% of the code is useless for
> > ur box?
> 
> No, I mean to build only the needed parts, as on the 2.6 code, even
> more parts of the kernel are becoming optional at build time,
> and there are more that could be done. In a perfect world, we wouldn't
> need a separated project for linux-8086, just disable the features you
> on't need.
> 
> But I didn't tested how small the kernel could be made, even on i386,
> removing all unneeded parts. If it is still too big, a lot of the work
> would be making unnecessary parts optional. This would help not only
> 8086 people, but other people that works on embedded systems. If it is
> still TOO big, then the work will be even more painful.  8)
> 

Your idea is nice... but sounds quite painfull... but then again if some
how this could be flexible enough to maybe have an arch oriented feature
selection.. but i don't know.. we would have to think about to in the
end get to the conclusion that is easier to write a subset with the
official kernel code style.


> BTW, I currently have a 5MB flash disk on my "8086 machine", and should
> receive a 256MB ata flash disk for it, soon.
> 

nice.

> Anyway, my "dream" would be building, from the same Linux kernel tree,
> with different options, a kernel as small as ELKS, and the kernel for
> my PC or to a server. It seems to be a long way.  :)
> 

Well start doing something to make that dream come true is a good start
:)

> > 
> > best wishes
> > 
> > Mike
> 
> Just sharing my thoughts. I think that I should show something more
> concrete, now, and not only wondering "how nice would it be if we have
> foobar ported to 8086".

Not really... brain storms are always great to then write down concrete
stuff.
hopefully others will join this conversation.. Alan? Harry? Paul? :)

best regards

Mike


^ permalink raw reply	[flat|nested] 5+ messages in thread

* gcc-8086 patch (very experimental)
  2004-05-13 16:44   ` gcc-8086 Eduardo Pereira Habkost
  2004-05-13 17:37     ` gcc-8086 Miguel Bolanos
@ 2004-05-13 21:15     ` Eduardo Pereira Habkost
  1 sibling, 0 replies; 5+ messages in thread
From: Eduardo Pereira Habkost @ 2004-05-13 21:15 UTC (permalink / raw)
  To: linux-8086

[-- Attachment #1: Type: text/plain, Size: 358 bytes --]

On Thu, May 13, 2004 at 01:44:06PM -0300, Eduardo Pereira Habkost wrote:
<snip>
> 
> Just sharing my thoughts. I think that I should show something more
> concrete, now, and not only wondering "how nice would it be if we have
> foobar ported to 8086".

As I said, something more concrete:
http://raisama.net/gcc-8086

Have fun.  :)

--
Eduardo

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2004-05-13 21:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 15:06 gcc-8086 Eduardo Pereira Habkost
2004-05-13 16:02 ` gcc-8086 Miguel Bolanos
2004-05-13 16:44   ` gcc-8086 Eduardo Pereira Habkost
2004-05-13 17:37     ` gcc-8086 Miguel Bolanos
2004-05-13 21:15     ` gcc-8086 patch (very experimental) Eduardo Pereira Habkost

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox