Re: Compiling to platform independent code

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

If you run the one liner Euphoria program with the Interpreter does it do the same thing? I think the program is working in GUI mode for Euphoria rather than Console mode. After looking in traninit.e, I think it is possible to recompile it in a way so it becomes a console program.

To compile under Linux using gcc, I did the following:

   gcc -I. *.c -o helloworld /usr/local/lib/eu.a -lm -ldl -lpthread 

Under Watcom, there are distinct link flags necessary you want the program to be used from the command line, and we do want that. It is very encouraging that you got a Windows executable from those files generated on Linux.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu