Re: Compiling to platform independent code
- Posted by _tom (admin) Sep 07, 2018
- 1980 views
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