| Author |
Message |
|
|
Posted: Feb 10, 2012 - 05:55 PM |
|

Joined: Mar 03, 2010
Posts: 535
Location: New Delhi, India
|
|
Hi,
Initially i was programming AVR on windows for last 2 years, with WINAVR everything comes ready to use.
Now I have started using UBANTU linux. What is the right toolchain for LINUX. How can make everything working
Please help me in this starting stage  |
|
|
| |
|
|
|
|
|
Posted: Feb 10, 2012 - 07:52 PM |
|


Joined: Jul 18, 2005
Posts: 62312
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
|
|
|
|
Posted: Feb 10, 2012 - 09:17 PM |
|


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL
|
|
|
|
|
|
|
Posted: Feb 11, 2012 - 03:05 AM |
|

Joined: Mar 03, 2010
Posts: 535
Location: New Delhi, India
|
|
|
Quote:
BTW you do mean Ubuntu don't you
Sorry mistake. Its Ubuntu only.
Quote:
What is the diffrence between two packages. Both we have to run some scripts
Quote:
OR build it yourself.
Even the one which cliff sugested we also have to be build Also there is no concept of .EXE files in linux to have one click instalation. |
|
|
| |
|
|
|
|
|
Posted: Feb 11, 2012 - 01:07 PM |
|


Joined: Jul 18, 2005
Posts: 62312
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
Even the one which cliff sugested we also have to be build
No you don't. It's a deb. You just "dpkg -i" to install the prebuilt binaries. I see no point in attempting to build a GCC toolchain for Ubuntu (or any Debian distro) when Bing600 is good enough to build it for you. |
_________________
|
| |
|
|
|
|
|
Posted: Feb 13, 2012 - 01:31 PM |
|


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL
|
|
|
clawson wrote:
Quote:
Even the one which cliff sugested we also have to be build
No you don't. It's a deb. You just "dpkg -i" to install the prebuilt binaries. I see no point in attempting to build a GCC toolchain for Ubuntu (or any Debian distro) when Bing600 is good enough to build it for you.
Linux doesn't have a self extracting package format like Windows does, it uses a distro dependent installer (Yum for Suse, dpkg for debian/ubuntu, etc). In Ubuntu if you double click on the .deb file in the file manager it will probably just install it or offer to do so.
I only built mine since I wanted a native 64 bit image as I'm running the 64 bit kernel on my computer. You might also want to build it yourself if you want to build a version optimized for the processor you are running (but I doubt you would notice the difference in performance). |
|
|
| |
|
|
|
|
|
Posted: Feb 13, 2012 - 02:57 PM |
|


Joined: Jul 18, 2005
Posts: 62312
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
Linux doesn't have a self extracting package format like Windows does, it uses a distro dependent installer (Yum for Suse, dpkg for debian/ubuntu, etc). In Ubuntu if you double click on the .deb file in the file manager it will probably just install it or offer to do so.
But ultimately, as far as the end user is concerned, what's the difference between a .msi on Windows or a .deb on Debian (inc Ubuntu) then? |
_________________
|
| |
|
|
|
|
|
Posted: Feb 13, 2012 - 04:10 PM |
|


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL
|
|
|
clawson wrote:
Quote:
Linux doesn't have a self extracting package format like Windows does, it uses a distro dependent installer (Yum for Suse, dpkg for debian/ubuntu, etc). In Ubuntu if you double click on the .deb file in the file manager it will probably just install it or offer to do so.
But ultimately, as far as the end user is concerned, what's the difference between a .msi on Windows or a .deb on Debian (inc Ubuntu) then?
On a distro like Ubuntu nothing since Canonical has dumbed down the installer for the user to a point and click interface (just like Windows). On a distro like Debian the user must know how to run dpkg in order to install the application. (Which means knowing how to get to the command line!) |
|
|
| |
|
|
|
|
|
Posted: Feb 13, 2012 - 04:23 PM |
|


Joined: Jul 18, 2005
Posts: 62312
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
Quote:
On a distro like Debian the user must know how to run dpkg in order to install the application. (Which means knowing how to get to the command line!)
I've never run dpkg by any other means but the command line
Cliff ("luddite") |
_________________
|
| |
|
|
|
|
|
Posted: Feb 13, 2012 - 04:58 PM |
|


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL
|
|
|
clawson wrote:
Quote:
On a distro like Debian the user must know how to run dpkg in order to install the application. (Which means knowing how to get to the command line!)
I've never run dpkg by any other means but the command line
Cliff ("luddite")
The two of us are old hands at Linux. New Linux users starting via Ubuntu with NO knowledge of command line unix wouldn't 'get it'. |
|
|
| |
|
|
|
|
|
Posted: Feb 15, 2012 - 06:20 PM |
|

Joined: Mar 03, 2010
Posts: 535
Location: New Delhi, India
|
|
Thanks for support.
also i have brought Intel Atom Motherboard,(cheapest available in market) i want to practice linux kernel & application programming.
Please suggest some good tutorial --- or how to start building tool chain or rootfile system & Zimage to see my first program running of ATOM processor .
Please suggest, something on it  |
|
|
| |
|
|
|
|
|
Posted: Feb 15, 2012 - 06:59 PM |
|


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL
|
|
Isn't the Atom x86 code compatible? If this is a standard PC motherboard just start by attaching a HD, DVDrom drive, memory, kb, network, mouse, memory, and power supply and just boot a Linux CD. OR boot using an image on a USB flash stick. If the motherboard supports booting via TFTP off of a network you can set up a TFTP server on another computer (probably not worth the effort at this point).
ANY Linux distro will work, but to start off small Slackware is a good choice. If you don't mind reading the manuals Arch Linux is also a good choice, but it isn't as easy to install. Debian is also good, use the non-graphical install and do NOT select any packages in the final step (command line only none graphical desktop) ... unless you WANT to run a GUI desktop, then pick LXDE or XFC at the start from the 'alternate desktop' menu at boot time. |
|
|
| |
|
|
|
|
|
Posted: Feb 15, 2012 - 08:26 PM |
|


Joined: Jul 18, 2005
Posts: 62312
Location: (using avr-gcc in) Finchingfield, Essex, England
|
|
|
|
|
|
|
Posted: Feb 15, 2012 - 08:40 PM |
|


Joined: Aug 04, 2004
Posts: 1822
Location: Davie, FL
|
|
| There's also 'Linux from scratch' |
|
|
| |
|
|
|
|
|
Posted: Feb 17, 2012 - 04:58 PM |
|

Joined: Mar 03, 2010
Posts: 535
Location: New Delhi, India
|
|
|
|
|
|
|