Danny Backx wrote:
> On Mon, 2006-12-18 at 10:23 +0000, Pedro Alves wrote:
> 
>>Danny Backx wrote:
>>
>>>The reason I'm also asking about the installation path is I'd want to
>>>create an RPM based on these scripts. Do we keep the funky path for now
>>>(I used to do the same with my scripts in scripts/linux), or do we move
>>>to a "standard" place.
>>>
>>
>>What do you have in mind as a "standard" place?
> 
> 
> Isn't PREFIX=/usr/local the standard ?
> 
> I can't find an accurate description (but one that comes close is on
> http://www.gnu.org/prep/standards/standards.html#Directory-Variables,
> see below).
> 
> My understanding has always been that system components should
> install with PREFIX=/usr and others (additional software, "local"
> packages) with PREFIX=/usr/local .
> 


cegcc's first releases used to set PREFIX=/usr/local. At the time I was
convinced that was the best place.  I remember Chad J saying it wasn't
nice.  I didn't agree at the time, but now I do. :)  Although his 
complain was about not being easy to remove the toolchain,
since it gets mingled up with other apps, my agreement comes from
the fact that I was already bitten by having cegcc headers installed
on /usr/local/include ($prefix/include), and the system compiler
picking those up.  Pretty nasty.  I think cross-toolchains are
special, in the sense that they shouldn't be mixed with the
system headers/libs.  I don't have an official pointer describing
it, but it seems everybody does it.
If we moved to /usr/local, it would be to /usr/local/cegcc
and /usr/local/mingw32 to avoid those problems.

Googling around, it looks that /opt/ whatever is more used
for crosses than /usr/local/$whatever/

google: "/opt" cross
http://www.google.com/search?q=%22%2Fusr%2Flocal%22+cross
1.550.000 results

google: "/usr/local" cross
http://www.google.com/search?q=%22%2Fopt%22+cross
708.000 results

google: "/opt/cross" cross
http://www.google.com/search?q=%22%2Fopt%2Fcross%22+cross
860 results

google: "/usr/local/cross" cross
http://www.google.com/search?q=%22%2Fusr%2Flocal%2Fcross%22+cross
636 results

And nicer googlefight versions of the above:
http://www.googlefight.com/index.php?word1=%2Fopt+cross&word2=%2Fusr%2Flocal+cross
http://www.googlefight.com/index.php?word1=%2Fopt%2Fcross+cross&word2=%2Fusr%2Flocal%2Fcross+cross

Cheers,
Pedro Alves

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to