This is the mail archive of the
crossgcc@sourceware.org
mailing list for the crossgcc project.
See the CrossGCC FAQ for lots
more information.
Re: Cross compile x86 to solaris2.10 half way through
Kai Ruottu wrote:
SUNWxwplt
SUNWzlib
SUNWzlibx
This list can be not complete, it was based on the list for Solaris9
which was based on
Solaris8... Only some obvious missing stuff was added. There can also
be now removed
obsolete names ot some totally vain stuff...
Trying to find the packages with required stuff can be tough... My
choice was to generate
listings for what these SUNW packages have. The script to generate the
listing for the CD#1
is (for SuSE 9.2 where the mounted CD directory was '/media/cdrecorder'):
/opt/host-sparc-solaris2.10 # cat gen-SW_CD1-SUNW-list.sh
rm -f SW_CD1-list.txt
touch SW_CD1-list.txt
#
ls -1 /media/cdrecorder/Solaris_10/Product | grep SUNW |
while read pkgname
do
echo "Archive name: "$pkgname >> SW_CD1-list.txt
bunzip2 -c
/media/cdrecorder/Solaris_10/Product/$pkgname/archive/none.bz2 | cpio -t
>> SW_CD1-list.txt
echo "" >> SW_CD1-list.txt
done
After having the listings for each CD, the hard work begins: to try to
solve/guess which stuff
could be required. Maybe only very few packages first, but some day
maybe all those GTK
(Gnome Tool Kit?) etc. libs could be required. When seeing these being
required, the listings
are ready and the proper packages could be extracted and their names
added to the 'needed'
list... I maybe forgot to do this, only unpacked some new archives
without remembering to
add their names to the 'SUNWpackages' list. The common rule is: "Don't
do as I do, just do
what I say!" :-)
If having enough disk space, the 4 install CDs for Solaris10 may only
mean 2.8 Gbytes as
packed and less than 10 Gbytes as unpacked, so the solution for a lazy
person could be to
extract everything (with a simple looping script like the previous)
below some '$sysroot',
like my '/opt/host-sparc-solaris2.10'. But the humble wish could be to
not do this, but
collect lists for only the required stuff.... And then share it with
others!
--
For unsubscribe information see http://sourceware.org/lists.html#faq