Hello David,
Okey. I just replicated the way you create tech files and tech includes. I could just skip the gcc part and just directly include it into your scmos.tech generation.
It looked kind of odd anyway that you're using gcc for generating the tech file.
Well, that's not my doing and as far as I know that gcc preprocessing dates back to 1985. I attempted once to revamp the whole thing before it eventually occurred to me that the Orbit 2um process it was based on was long, long gone and there was not much point in putting any effort into it.
BUT, that said, I have now figured out what you are doing, which is to keep the existing SCMOS rules and just make the LibreSilicon process an additional style for "cifoutput". That actually seems fine to me, although I would personally rather abandon the whole existing SCMOS scheme and start from scratch, as the existing SCMOS tech does not have any of the several hundred additions I have made to the techfile format over the course of 25 years. So if you are "riding on" the existing SCMOS format, you are starting with a sort of old and hobbled version of magic.
For purposes of a quick-and-dirty way to get it working with minimal effort, though, what you have is fine.
---Tim
+--------------------------------+-------------------------------------+ | R. Timothy Edwards (Tim) | email: tim@opencircuitdesign.com | | Open Circuit Design | web: http://opencircuitdesign.com | | 19601 Jerusalem Road | phone: (240) 489-3255 | | Poolesville, MD 20837 | cell: (408) 828-8212 | +--------------------------------+-------------------------------------+