Re: Irv: Your win GTK wrapper

new topic     » goto parent     » topic index » view thread      » older message » newer message

Al Getz wrote:

>Im no stranger to .dll's.  The WinClass library links to many of
>them.  I've created my own dll's for windows also, some small,
>some large, written in C, C++, or asm.
>
>Now im branching out to the Linux platform, and have little or
>no documentation on any libraries, and not even that good of an
>idea what the basics are in Linux.
>
>Windows was a natural extension of what i had done in
>programming prior to the Windows explosion, so i had no trouble
>making the transition from 'dos' to Windows.  With Linux, i have
>a feeling it will be similar but i just havent read enough on
>the basics yet.

Well, just jump right in - try this - put it in a file called hello.c:

#include <stdio.h>
int main() {
    printf("Hello, Linux\n");
    return 0;
}

Now, from any old terminal or console window, type:

gcc hello.c -o hello

If all goes well, type:

./hello

And you should get your reward...

As long as it isn't Windows specific, most C code ports readily
to Linux.  I've already ported one 15,000 line C program from
Windows to Linux, with little problems (e.g., findfirst/next to
opendir/readdir).

And, most of console Euphoria just works under Linux.  For
instance, ed, and most of the other demos.

So dive right in!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu