Re: Compiling to platform independent code

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

For some reason gcc is not finding eu.a. Using gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.5) Using atom 32bit Mint18.3 linux.

My OE has /user/local/euphoria/bin/eu.a

So I copied eu.a to the folder containing helloworld

$ gcc -I. *.c -o helloworld eu.a -lm -ldl -lpthread  
init-.c: In function ‘init_literal’: 
init-.c:27:5: warning: implicit declaration of function ‘setran’ [-Wimplicit-function-declaration] 
     setran(); /* initialize random generator seeds */ 
 

_tom

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

Search



Quick Links

User menu

Not signed in.

Misc Menu