Re: compiling issue on link using the -plat option with TDM-GCC-64

new topic     » goto parent     » topic index » view thread      » older message » newer message
clkeriolet said...

Hi everybody, I try to compile for Linux using -plat a small testcl.ex on my Windows10 PC. I get the message : cannot find -ldl . I suppose there is a missing library ? I cannot find out which one and where to get it. Maybe some of you have an idea about that . Thanks for help !

Unfortunately, cross-compiling just isn't that straight-forward. Some of the translator options, like -arch and -plat, seem to exist purely for use in building Euphoria itself.

It should possible to cross-compile applications from Linux to Windows by using -plat and -cc-prefix, but I doubt it'll work the other way around. You'd need a Linux compiler that runs on Windows and TDM-GCC is built for Windows.

-Greg

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

Search



Quick Links

User menu

Not signed in.

Misc Menu