Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Thank You for your continued support and contributions!

+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Will rockboxdev.sh upset my system?
« previous next »
  • Print
Pages: [1]

Author Topic: Will rockboxdev.sh upset my system?  (Read 2331 times)

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Will rockboxdev.sh upset my system?
« on: July 01, 2009, 07:52:24 AM »
I've done a forum search for this, but despite some tantalising snippets of information, I can't find a direct answer to this:

I run PCLinuxOS on my machine, and the devs are very insistent about not installing packages from outside their repo.

Obviously, I'm wanting to run rockboxdev.sh, but I get the impression from the Wiki and these forums that it will overwrite my system's gcc version with it's own one and update the PATH to include things that may cause errors with the system operation.

Is this true, or have I misunderstood what it does?
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

Offline gevaerts

  • Administrator
  • Member
  • *
  • Posts: 1053
Re: Will rockboxdev.sh upset my system?
« Reply #1 on: July 01, 2009, 08:18:51 AM »
That's wrong. rockboxdev.sh installs by default in /usr/local/arm-elf/ (or m68-elf,...), and tells you what to add to the PATH. It doesn't change the PATH itself, and you can override the install location
Logged

Offline LambdaCalculus

  • Member
  • *
  • Posts: 2257
  • Dreaming of Turing Machines...
    • The Nostalgia Roadtrip
Re: Will rockboxdev.sh upset my system?
« Reply #2 on: July 01, 2009, 08:21:29 AM »
Quote from: gevaerts on July 01, 2009, 08:18:51 AM
and you can override the install location

This feature was especially useful when I wanted to set up a Rockbox build environment in OpenSolaris; I had to install to /opt/local instead of /usr/local there (OpenSolaris doesn't allow outside apps to install to /usr/local).
Logged
Former Rockbox dev. Rising from the ashes...

Players: iPod Video /w 128GB SSD mod, H320 /w 128GB SSD mod

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: Will rockboxdev.sh upset my system?
« Reply #3 on: July 01, 2009, 09:13:48 AM »
rockboxdev.sh uses your system gcc (which compiles code for your CPU architecture) to compile versions of gcc (and binutils) for the CPU architecture in the targets (e.g. arm, m68k, ...).  It doesn't touch your system ones.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline GodEater

  • Member
  • *
  • Posts: 2829
Re: Will rockboxdev.sh upset my system?
« Reply #4 on: July 01, 2009, 09:35:12 AM »
Quote from: LambdaCalculus379 link=topic=22091.msg152536#msg152536
This feature was especially useful when I wanted to set up a Rockbox build environment in OpenSolaris; I had to install to /opt/local instead of /usr/local there (OpenSolaris doesn't allow outside apps to install to /usr/local).

Because allowing you to install outside apps in /usr/local (which is the WHOLE POINT OF /usr/local) is just dumb if you're a solaris engineer.
« Last Edit: July 01, 2009, 05:31:50 PM by AlexP »
Logged

Read The Manual Please

Offline bascule

  • Rockbox Expert
  • Member
  • *
  • Posts: 1298
Re: Will rockboxdev.sh upset my system?
« Reply #5 on: July 01, 2009, 10:03:37 AM »
Thank you. That's extremely helpful. Not only that, but I don't think I've ever seen such a high density of 'badged' users in a single thread  ;D

* bascule rushes off to run rockboxdev.sh
Logged
DataBase fanboy and author of the totally overhauled Rockbox Sync Tool

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox Development
| |-+  Starting Development and Compiling
| | |-+  Will rockboxdev.sh upset my system?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.173 seconds with 22 queries.