Skip to contentSkip to conversation

compiler for ELKS programs

DISCUSSION [email protected] 1 participant 1 message Jan 20, 2003

lore
Share & tools
lore
#0 lore raw

Thank you Paul and Neil,

Based upon that, I should be able to find the coding style requirements (old style, ANSI, etc) for bcc in the documentation. Any other suggestions as we progress on this project would be appreciated.

Probably the thing that would be most helpful soon would be some links or names of good sample code of programs that already use curses or ncurses for 80 x 25 text screens, particularly ones that scroll both up and down. If anybody has ideas for anything other than C using curses/ncurses, now would be a good time to hear them, too, before we get too commited to that solution.

Yours in peace,

Jerry

Quoted 39 lines · Paul Nasrat

On Sun, Jan 19, 2003 at 10:21:53PM -0500, [email protected] wrote:
Jerry

Quoted 2 lines

I've read that page over several times, and there was some info about compiling ELKS itself. However, if it does say what to use to compile

Dev86 (which may be installed on your linux box already rpm -q dev86 on a rpm derived distro, linux86 on a debian one) contains a compiler called bcc.

So if you have a simple c program like a Hello World. Named hello.c

#include <stdio.h>

main()

{
	printf ("Hello, World!\n");
}

Under linux run:

bcc -o hello hello.c

This will produce a file called hello which is

file hello
hello: Linux-8086 executable not stripped

You should then be able to run this in your elks environment of choice.

Hth

Paul
-
To unsubscribe from this list: send the line "unsubscribe linux-8086" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html