How do you create custom Eiffel libraries?

The default Eiffel libraries are located in the libraries directory within the program directory. I would like to create a custom Eiffel library, which can be placed in the latter location with it's own .ecf file like the existing default Eiffel libraries. How do you create custom the Eiffel libraries from scratch?

Thanks in anticipation.
LVL 2
ArticAsked:
Who is Participating?
 
ArticConnect With a Mentor Author Commented:
Create basic application project and compile.

In project settings System > Library Target: put the libraries target name in Target > Root: edit and check the "Compile All Classes".

Then use compiled project as a library.
0
 
ArticAuthor Commented:
There are corresponding .ecf files for some of the default libraries in the precomp folder in the installation directory. When are they generated? Are they manually generated after creating the library?

Thanks in anticipation.
0
 
fridomCEO/ProgrammerCommented:
I assume you are using  ISE-Eiffel. So I propose you visit www.eiffel.com and check what they write there.

AFAIKT you just have to modify some file for including different  pathes. I think this is  still done in LACE
http://archive.eiffel.com/doc/manuals/technology/lace/subcluster/page.html

But I'm not fully sure about it.
0
What Kind of Coding Program is Right for You?

There are many ways to learn to code these days. From coding bootcamps like Flatiron School to online courses to totally free beginner resources. The best way to learn to code depends on many factors, but the most important one is you. See what course is best for you.

 
ArticAuthor Commented:
Using EiffelStudio 7.0.

Looked on eiffel.com and could only find documentation covering the use of the default libraries within projects.

Shall have a go at the subclusters in Lace link but not sure that it will work as it is for an older version of the software (4.0).

Thanks
0
 
fridomCEO/ProgrammerCommented:
To that time LACE was named ACE. http://tecomp.sourceforge.net/index.php?file=doc/tecomp/ace.txt

So I guess something along that usage will do for you also.

Regards
0
 
ArticAuthor Commented:
Creates .ecf to then be able to use the project as a library.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.