GCC Without Xcode (Script)
- From:
-
- Date:
- 2011-08-11 @ 16:08
Hello Brewers,
I have been using GCC without Xcode for a couple of years by manually
extracting packages with Pacifist then merging them into / and have
extensive knowledge of the problem. I have written a script to automate
the process to help others. Please read the README in full.
https://github.com/sorin-ionescu/gcc-without-xcode
Thought, I have been contemplating writing it for a while, since manual
extraction and filtering is time consuming, I give osx-gcc-installer,
which I have noticed a couple of days ago, credit for being the catalyst.
The author of osx-gcc-installer has good intentions, but the project is
flawed:
1) Despite being one of the most aggressive copyright enforcers on the
planet, the author is wilfully distributing copyrighted Apple code without
Apple's permission, not just GCC, and has repeatedly stated that he hopes
that they will not see it. GitHub is not a backwater web site where it
will go unnoticed. While I do not believe that Apple seek to alienate web
developers, lawyers are lawyers, and GitHub will receive a DMCA cease and
desist letter; the project will be deleted.
2) If the author complies with Apple's copyright and no longer distributes
the pre-built packages, then users will make acquaintance with
PackageMaker, and it will not be a happy one.
3) The user will have to download Pacifist or learn the package format and
extract with xar, gzip, and cpio PackageMaker.app from
/Applications/Install
Xcode.app/Contents/Resources/Packages/DeveloperTools.pkg/Applications/Utilities/.
4) Assuming the package builds and is successfully installed, users will
learn that many Homebrew formulas will refuse to build because quite a few
headers are missing. For example, trying to install pianobar to listen to
Pandora will fail because headers from CoreAudio.pkg are missing. The user
will spend hours trying figure what missing files from what packages are
needed.
I have attempted to edit GCC-10.7.pmdoc to add missing SDKs mainly to test
the latest PackageMaker, and I was disappointed to learn that PackageMaker
is still a blob of festering diarrhoea. It is unacceptably buggy; it
forgets settings, has rendering issues, the package tree gets corrupted,
and it is very crash prone. After 14 crashes, I gave priority to my mental
health.
Apple demand that developers create self-contained Foobar.app, and they
themselves do not use PackageMaker to package Mac OS X and applications in
favour of automated scripts. Thus, I suspect they do not bother to test
it.
5) Even if PackageMaker were not crash prone, it is not easy to strip
Xcode cruft from packages because PackageMaker forgets check marks; so,
some rubbish is installed.
6) The Xcode uninstaller will leave cruft behind.
-- Sorin Ionescu
Re: [homebrew] GCC Without Xcode (Script)
- From:
- Mike McQuaid
- Date:
- 2011-08-11 @ 17:59
On 11 Aug 2011, at 17:08, sorin.ionescu@gmail.com wrote:
> I have been using GCC without Xcode for a couple of years by manually
extracting packages with Pacifist then merging them into / and have
extensive knowledge of the problem. I have written a script to automate
the process to help others. Please read the README in full.
Sorry, I'm not sure what you are proposing compared to the Xcode installer
and/or that GCC package. If you're just providing information and not
proposing anything, please ignore this message :)
--
Mike McQuaid
http://mikemcquaid.com
Re: [homebrew] GCC Without Xcode (Script)
- From:
-
- Date:
- 2011-08-12 @ 13:38
Mike,
I am not proposing. I have already created the proper solution to GCC
without Xcode until Apple decide to provide their official solution in the
App Store. In the interest of not pointlessly repeating myself, I have
linked to said solution and asked that those who care read the README in
full and have commented on why the previous solution, what you call the
GCC package, is flawed and should not be used.
Read the message again, or read it for the first time. :)
--
Sorin Ionescu
On Aug 11, 2011, at 1:59 PM, Mike McQuaid wrote:
>
> On 11 Aug 2011, at 17:08, sorin.ionescu@gmail.com wrote:
>
>> I have been using GCC without Xcode for a couple of years by manually
extracting packages with Pacifist then merging them into / and have
extensive knowledge of the problem. I have written a script to automate
the process to help others. Please read the README in full.
>
> Sorry, I'm not sure what you are proposing compared to the Xcode
installer and/or that GCC package. If you're just providing information
and not proposing anything, please ignore this message :)
>
> --
> Mike McQuaid
> http://mikemcquaid.com
>
Re: [homebrew] GCC Without Xcode (Script)
- From:
- Birger J. Nordølum
- Date:
- 2011-08-23 @ 15:42
I'll try this one out. Since the other minimal solution, proved to be
broken in many ways possible.
Thank you.
--
Birger J. Nordølum
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On fredag 12. august 2011 at 15:38, sorin.ionescu@gmail.com wrote:
> Mike,
>
> I am not proposing. I have already created the proper solution to GCC
without Xcode until Apple decide to provide their official solution in the
App Store. In the interest of not pointlessly repeating myself, I have
linked to said solution and asked that those who care read the README in
full and have commented on why the previous solution, what you call the
GCC package, is flawed and should not be used.
>
> Read the message again, or read it for the first time. :)
>
> --
> Sorin Ionescu
>
> On Aug 11, 2011, at 1:59 PM, Mike McQuaid wrote:
>
> >
> > On 11 Aug 2011, at 17:08, sorin.ionescu@gmail.com
(mailto:sorin.ionescu@gmail.com) wrote:
> >
> > > I have been using GCC without Xcode for a couple of years by
manually extracting packages with Pacifist then merging them into / and
have extensive knowledge of the problem. I have written a script to
automate the process to help others. Please read the README in full.
> >
> > Sorry, I'm not sure what you are proposing compared to the Xcode
installer and/or that GCC package. If you're just providing information
and not proposing anything, please ignore this message :)
> >
> > --
> > Mike McQuaid
> > http://mikemcquaid.com