1. Doing away with EUDIR

After reading recent posts, I see that it is possible (maybe desirable?) to do away with EUDIR.

I kind of "come and go" when it comes to programming and keeping up with current events. So, obviously, I have missed the discussion on how to not have to have EUDIR set.

Would someone please point me in the direction of that discussion?

new topic     » topic index » view message » categorize

2. Re: Doing away with EUDIR

You can get started here: Set Up the Euphoria Configuration File

-Greg

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

3. Re: Doing away with EUDIR

Thanks. I did see this before, but wasn't sure it was what I was looking for. Still not sure how to use it. No problem, it'll give me something to work on when I'm bored.

Thanks for the help.

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

4. Re: Doing away with EUDIR

ghaberek said...

You can get started here: Set Up the Euphoria Configuration File

-Greg

Looking at that documentation for the configuration file I see that "-c" will execute another configuration file, which subsequent commands may override. If the same configuration file is invoked again, it will not be executed again, which contradicts the statement that later commands override earlier ones. Presumably this behaviour cannot be changed for compatibility reasons. However, it should be emphasized in the documentation.

Arthur

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

5. Re: Doing away with EUDIR

I think the doc is missing some eu.cfg example (at least I couldn't find one handy). Here's one from a thread here: http://openeuphoria.org/forum/119794.wc

[all] 
-d E32  
-eudir /Users/bruceaxtens/Downloads/euphoria-79c875319629  
-i /Users/bruceaxtens/Downloads/euphoria-79c875319629/include  
[translate]  
-gcc   
-con   
-com /Users/bruceaxtens/Downloads/euphoria-79c875319629  
-lib-pic /Users/bruceaxtens/Downloads/euphoria-79c875319629/source/build/euso.a  
-lib /Users/bruceaxtens/Downloads/euphoria-79c875319629/source/build/eu.a  
[bind]  
-eub /Users/bruceaxtens/Downloads/euphoria-79c875319629/source/build/eub  

You've -eudir, -i switch examples there. The -i switch can be relative to where eu.cfg is located which really helps.

Cheers,
Guillermo

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

6. Re: Doing away with EUDIR

ArthurCrump said...
ghaberek said...

You can get started here: Set Up the Euphoria Configuration File

-Greg

Looking at that documentation for the configuration file I see that "-c" will execute another configuration file, which subsequent commands may override. If the same configuration file is invoked again, it will not be executed again, which contradicts the statement that later commands override earlier ones. Presumably this behaviour cannot be changed for compatibility reasons. However, it should be emphasized in the documentation.

Arthur

I have a second draft proposal for changes to the documentation put up on the Wiki. Hopefully it untangles how eu.cfg files work.

It turns out that saying "subsequent commands may override previous commands" is an over simplification. Some switches will override, others will shadow, and it is possible for switches to accumulate data.

If a configuration file could be read more than once, then it would be possible to have an endless loop. I now mention this possibility in the documentation. Notice that include files are read only once.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu