Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc3 - building and installing with ditto



>These leads to these questions:
>If ditto is not going to be open source is there an
>equivalent application that can be used within Darwin?
>Is it necessary to use ditto to copy the files to
>install gcc3? Can a recursive copy be used instead?

A recursive copy would overwrite directorories like /usr which wuld be
very nasty, but it is not hard to do it by hand.

Assuming you built in build/dst
1. Copy the files in build/dst/usr/bin to /usr/bin
2. Recursively copy the directory build/dst/usr/include/gcc/darwin/3.x to
/usr/include/gcc/darwin/
3. Recursively copy the directory build/dst/usr/lib/gcc/darwin/3.x to
/usr/lib/gcc/darwin/
4. Recursively copy the directory
build/dst/usr/libexec/gcc/darwin/ppc/3.x to /usr/lib/gcc/darwin/
5 Copy the files in build/dst/usr/share/man/man1 to /usr/share/man/man1

Check the symlinks in bin and man.

I have done this successfully several times on MacOS X before I knew about
ditto!

Bill Northcott
_______________________________________________
darwin-development mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/darwin-development
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.