|
From: Miro K. <mir...@gm...> - 2018-08-05 11:53:07
|
Yes, those are very good questions. I would say /mint/slb (and its MagiC counter part /gemsys/magic/xtension) and /gemsys/ldg are indeed a de facto standard but it doesn't answer your concern about different CPU builds. On the other hand, there really isn't any real world scenario (as of yet) requiring the user to care about it -- applications like "setup.app" from various software packages (aniplayer comes to my mind) simply copy all *.slb into given directory. Different CPU builds are solved via setup.app - you can choose your favourite CPU build but only one. So if the user knows that all his SLBs are in some directory, he would just copy new SLB there, either automatically (setup.app) or manually. To make this totally right I'd say FreeMiNT would need to look after $SLBPATH/$CPU in addition to just $SLBPATH, very similar what mintloader.prg does for freemint modules ($SYSDIR + $SYSDIR/<machine specific folder>). And in that case we can come up with any naming scheme we like - m68000, m6802060, m5475, ... but it doesn't look like a priority to me. On Sun, 5 Aug 2018 at 04:07, Thorsten Otto <ad...@th...> wrote: > Not that these are currently used much in FreeMinT (i think the recently > added > gemma.slb is the only one), but is there some standard/convention where to > install shared libraries (the actual code that is loaded by Slbopen(), not > any > helper libraries you might need in your application). > > The automatic build process currently does not install them i think (only > the > development parts). And in the Makefile of eg. gemma, when you do a "make > install", it will be installed to /mint/slb, and cpu-specific > subdirectories. > > The question is: is that base-directory more or less standard? I've also > seen > pathes like /gemsys/slb, and in MagiC they are usually in installed in / > gemsys/magic/xtension. > > Also the names of the cpu-specific sub-directories are questionable. > Currently > the same names as the multi-lib directories from gcc are used (m68020-60, > m5475 etc.). Since /mint (or /gemsys) are usually on the boot partition, > and > thus on a FAT filesystem, at least m68020-60 is not the best choice. > > And then: should the default libs (for plain 68000) be installed in the > base > directory, or also in a dedicated sub-directory, like the others? That > would > make it easier to switch configurations by just setting SLBPATH > accordingly, > without having to copy around actual files. > > > > > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot > _______________________________________________ > Freemint-discuss mailing list > Fre...@li... > https://lists.sourceforge.net/lists/listinfo/freemint-discuss > -- MiKRO / Mystic Bytes http://mikro.atari.org |