* Starting with bcc and ELKS
@ 2009-03-10 22:26 silvercreekvalley
2009-03-10 23:21 ` David Given
0 siblings, 1 reply; 5+ messages in thread
From: silvercreekvalley @ 2009-03-10 22:26 UTC (permalink / raw)
To: linux-8086
Hi,
I've just started looking at the ELKS software and
have made a start with the bcc development environment.
I can compile and wondered if there is an easy way of
generating executables that run on regular linux.
eg.
bcc -Ml -z input.c
and then use objcopy? Not sure what the command
sequence is though for say a Fedora distribution?
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Starting with bcc and ELKS
2009-03-10 22:26 Starting with bcc and ELKS silvercreekvalley
@ 2009-03-10 23:21 ` David Given
2009-03-11 1:42 ` Ben Weiss
0 siblings, 1 reply; 5+ messages in thread
From: David Given @ 2009-03-10 23:21 UTC (permalink / raw)
To: linux-8086
On Tue, 10 Mar 2009 15:26:23 -0700 (PDT)
silvercreekvalley <silvercreekvalley@yahoo.com> wrote:
[...]
> I've just started looking at the ELKS software and
> have made a start with the bcc development environment.
>
> I can compile and wondered if there is an easy way of
> generating executables that run on regular linux.
Somewhere --- possibly shipped with your bcc --- there should be a command called elksemu that will let you run ELKS binaries built with bcc. But this stuff is all pretty archaic so I don't know if it still works.
The binaries themselves are 16 bit code and won't run on a normal Linux system without help.
--
David Given
dg@cowlark.com
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Starting with bcc and ELKS
2009-03-10 23:21 ` David Given
@ 2009-03-11 1:42 ` Ben Weiss
2009-03-11 21:18 ` silvercreekvalley
0 siblings, 1 reply; 5+ messages in thread
From: Ben Weiss @ 2009-03-11 1:42 UTC (permalink / raw)
To: linux-8086
> silvercreekvalley <silvercreekvalley@yahoo.com>
> wrote:
> [...]
> > I've just started looking at the ELKS software and
> > have made a start with the bcc development
> environment.
> >
> > I can compile and wondered if there is an easy way of
> > generating executables that run on regular linux.
>
> Somewhere --- possibly shipped with your bcc --- there
> should be a command called elksemu that will let you run
> ELKS binaries built with bcc. But this stuff is all pretty
> archaic so I don't know if it still works.
>
> The binaries themselves are 16 bit code and won't run
> on a normal Linux system without help.
>
> --
> David Given
> dg@cowlark.com
> --
(Sorry, David- This was supposed to go to the list, not only to you)
I've never tried this, but don't you have to have BINFMT_AOUT or BIMFMT_MISC enabled in your kernel?
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Starting with bcc and ELKS
2009-03-11 1:42 ` Ben Weiss
@ 2009-03-11 21:18 ` silvercreekvalley
2009-03-11 22:09 ` Hans
0 siblings, 1 reply; 5+ messages in thread
From: silvercreekvalley @ 2009-03-11 21:18 UTC (permalink / raw)
To: linux-8086
> > ELKS binaries built with bcc. But this stuff is all
> pretty
> > archaic so I don't know if it still works.
I couldnt get the various flags to work, and objcopy
didnt seem to do the trick. It just makes emulation
a bit easier.
>
> I've never tried this, but don't you have to have
> BINFMT_AOUT or BIMFMT_MISC enabled in your kernel?
>
>
The documentation mentions Linux 2.0 / 2.1 so I'm
thinking of installing an older Linux to see if I
can patch the kernel as discussed in the docs.
Tracking down an actual 8086 XT is quite tricky
these days to run the code, so its useful to
be able to emulate. I think there are some actual
IBM XT emulators out there which I might try.
Thanks
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Starting with bcc and ELKS
2009-03-11 21:18 ` silvercreekvalley
@ 2009-03-11 22:09 ` Hans
0 siblings, 0 replies; 5+ messages in thread
From: Hans @ 2009-03-11 22:09 UTC (permalink / raw)
To: silvercreekvalley, linux-8086
----- Original Message -----
From: "silvercreekvalley" <silvercreekvalley@yahoo.com>
To: <linux-8086@vger.kernel.org>
Sent: Wednesday, March 11, 2009 9:18 PM
Subject: Re: Starting with bcc and ELKS
>
>
>> > ELKS binaries built with bcc. But this stuff is all
>> pretty
>> > archaic so I don't know if it still works.
>
> I couldnt get the various flags to work, and objcopy
> didnt seem to do the trick. It just makes emulation
> a bit easier.
>
>
>>
>> I've never tried this, but don't you have to have
>> BINFMT_AOUT or BIMFMT_MISC enabled in your kernel?
>>
>>
>
> The documentation mentions Linux 2.0 / 2.1 so I'm
> thinking of installing an older Linux to see if I
> can patch the kernel as discussed in the docs.
>
> Tracking down an actual 8086 XT is quite tricky
> these days to run the code, so its useful to
> be able to emulate. I think there are some actual
> IBM XT emulators out there which I might try.
A few to check out (there are more):
http://dioscuri.sourceforge.net/ (comes with ELKS diskimage)
http://www.hampa.ch/pce/index.html
http://www.xs4all.nl/~rjoris/retro/
http://www.shinelife.co.uk/legacy-ibm-pc-emulator/
However, IA-32 emulators like Bochs/Qemu etc also work fine.
Hans
www.ht-lab.com
>
> Thanks
>
>
>
>
> --
> 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] 5+ messages in thread
end of thread, other threads:[~2009-03-11 22:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-10 22:26 Starting with bcc and ELKS silvercreekvalley
2009-03-10 23:21 ` David Given
2009-03-11 1:42 ` Ben Weiss
2009-03-11 21:18 ` silvercreekvalley
2009-03-11 22:09 ` Hans
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox