1. euc problems

On both Mac OS X and Ubuntu 9.10, I'm having problems getting euc to work. It runs okay and generates .c files, but the gcc step on both platforms fails. One thing that I've found is that if I manually set the include and libraries options and run gcc by hand, I can get the application to compile and link. When I just use euc, it cannot find the include files or the link-time libraries. I have set both the EUDIR and EUINC environment variables. What else needs to be set so that euc will do the C generation, compile and link steps?

new topic     » topic index » view message » categorize

2. Re: euc problems

NewUser said...

On both Mac OS X and Ubuntu 9.10, I'm having problems getting euc to work. It runs okay and generates .c files, but the gcc step on both platforms fails. One thing that I've found is that if I manually set the include and libraries options and run gcc by hand, I can get the application to compile and link. When I just use euc, it cannot find the include files or the link-time libraries. I have set both the EUDIR and EUINC environment variables. What else needs to be set so that euc will do the C generation, compile and link steps?

Can you copy the output of the euc attempt, showing what happens and all the error messages, at euphoria.pastey.net ? If you can also copy down the fix (the output of manually setting the inclide and libraries option and then running gcc by hand) that would also be helpful.

new topic     » goto parent     » topic index » view message » categorize

3. Re: euc problems

I just pasted the error messages at:

http://euphoria.pastey.net/130647-273g

new topic     » goto parent     » topic index » view message » categorize

4. Re: euc problems

NewUser said...

I just pasted the error messages at:

http://euphoria.pastey.net/130647-273g

That doesn't tell enough to explain what the issue is, although it is clear that the error messages are caused by the fact that the include file can not be found.

However, if EUDIR is set and you have $EUDIR/include/euphoria.h then this should have worked.

Maybe try euc alternatively with the -emake and the -makefile-full options, and then copy&paste emake.bat and Makefile to euphoria.pastey.net ? That should at least tell us where euc is trying to look for the include/euphoria.h file...

new topic     » goto parent     » topic index » view message » categorize

5. Re: euc problems

I had an error in the EUDIR values. Once that was corrected, it now works on Mac OS X and Ubuntu.

new topic     » goto parent     » topic index » view message » categorize

Search



Quick Links

User menu

Not signed in.

Misc Menu