> I spent half the day trying to get Apache+PHP to compile. After
> continually being blocked from compiling PHP (various reasons), I
I forgot that PHP was a little harder to get cross-compiled, but in
the end it wouldn't have been anything other than
tricking 'configure' into not doing the tests that fail and just
choose something that sounded right.
> So let me ask a few simple question:
> 1. Using my toolchain I can get most packages to compile (PHP
being an
> exception), but what is the method for installing them into the TS
> flash? Its not like you can just copy the executable over.
If all the programs that you compile are statically linked
executables, then yes you CAN just copy the executables over and run
them. To tell you the truth, I haven't looked into how you actually
select static vs. shared libraries, but everything that I have cross-
compiled has already been statically linked so I haven't had to work
anything out, it just works.
> 2. I can't figure out how the libraries are functioning on the
target?
> Without ld.so.conf and ldconfig, things are not how I understand
them.
And if you do really want to use shared libraries, that's not too
hard anyway. I forget exactly what it was for but you can copy just
about any arm compiled 'ldconfig' (I got mine from one of the
filesystem tarballs on the TS website, a debian fs I think), write
your own ld.so.conf file (it's just a list of paths to libraries)
run ldconfig and away you go.
Hope this helps,
Cheers
Phil
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|