Page 1 of 1

Including all needed libraries into build

Posted: Thu Sep 20, 2012 8:57 am
by cara117

How exactly would one compile the needed libraries directly into the Linux port? I'm trying to entirely bypass the enormous X11 structure and have it run on top of another graphics compositor, but not only am I not entirely sure which libraries are relied on, I don't know how to squish them into the final program and not complain about missing libraries...


Including all needed libraries into build

Posted: Fri Sep 28, 2012 2:34 pm
by Universal

Which Linux system are you trying to compile on? There as so many different flavors of Linux, it's sometimes hard to keep track of what you mean.

 

I've successfully been able to compile VBA-M on both Fedora and Ubuntu, from last year to today. I just need to redo my list of things required to make it work, as they still pertain to Fedora 16 and Ubuntu 11.10.


Including all needed libraries into build

Posted: Sat Sep 29, 2012 6:31 pm
by cara117

...maybe I should clarify...

 

I meant "how would I ensure this program runs on any Linux distro out there", not "how am I supposed to compile?". Especially since I intend on using none, I will repeat that, none of the major distros out in the wilds of the Internet. That means no Ubuntu, no Fedora, no Debian, no Slackware, nothing based on what I've already mentioned, etc. Hence, I want to know how to compile the emulator so that all of the needed libraries are internal, just in case there's some package that provides a library that's needed, and I just so happen to not have it installed.

 

... So, enough clarification?


Including all needed libraries into build

Posted: Sat Sep 29, 2012 7:04 pm
by Squall Leonhart

"how would I ensure this program runs on any Linux distro out there"

 

You can't/don't.


Including all needed libraries into build

Posted: Sat Sep 29, 2012 7:05 pm
by Universal

Gotcha. That does explain it. Sadly I have no idea if there are such things as internal libraries on a Linux system. Everything I've compiled had an external library that was linked to in order to run. Only way I know how to compile the emulator so that all the libraries will be provided for it would be compiling to put in an installation package. Those packages would be scripted to search for the libraries and install their packages if not found. That's the only way I can think of that even comes close to what you're asking.


Including all needed libraries into build

Posted: Sun Sep 30, 2012 9:52 am
by cara117

Hm. Fun-sounding... Especially since it will either be running on this: Linux From Scratch or this: Buildroot.

 

As a random idea, does anyone here know how to design PCBs?