EmbeddedRelated.com
Forums
Memfault Beyond the Launch

Embedded C Compiler On Linux Targeting Motorola 68K

Started by cfullinfaw December 13, 2007
Grant Edwards wrote:
<snip>
> Better yet, send them a PO for an IA32 Linux version. When > somebody calls and tells you they have a Solaris version but > not a Linux version, thell them you saw that but thought they > were joking. It's about time they pulled their head out of the > sand and joined the rest of us in the 21st Century. >
As a contented user of Solaris/SPARC, I am personally offended by such inflammatory comments. Linux is in many ways a new religion of a certain generation; as with all religions, intolerance can become a problem. I use Linux when it is appropriate to a specific application, but for robustness, reliability and canonical implementation, Solaris/SVR4 Unix is still a gold standard. Regards, Michael
Grant Edwards <grante@visi.com> writes:

> > I'll admit that there might be a business case for doing like > IAR does and supporting Windows and not Unix. But to support > Windows and Solaris instead of Windows and Linux seems like a > decision that hasn't made sense for over a decade.
Surely it's a sensible business-oriented decision from a commercial compiler company, not the kind of idiocy you'd expect from those Free Software freaks! -- rich walker | Shadow Robot Company | rw@shadow.org.uk technical director 251 Liverpool Road | skype: rich_at_shadow need a Hand? London N1 1LX | +44 20 7700 2487 http://www.shadowrobot.com/hand/
"cfullinfaw" <cfullinfaw@bass-inc.com> writes:

> Can someone point me to where I can get a download of a compiler that will > work on Linux for embedded C targeting the 68K chip?
http://www.codesourcery.com/gnu_toolchains/coldfire/download.html Petter -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail?
On 2007-12-14, msg <msg@_cybertheque.org_> wrote:
> Grant Edwards wrote: ><snip> >> Better yet, send them a PO for an IA32 Linux version. When >> somebody calls and tells you they have a Solaris version but >> not a Linux version, thell them you saw that but thought they >> were joking. It's about time they pulled their head out of the >> sand and joined the rest of us in the 21st Century. > > As a contented user of Solaris/SPARC, I am personally offended > by such inflammatory comments. Linux is in many ways a new > religion of a certain generation; as with all religions, > intolerance can become a problem.
Perhaps the people I know aren't typical, but everybody I know who used to do embedded development under Solaris has switched either to Linux or to Windows. I used to know a lot of different people who did embedded development on SPARC/Solaris. Now I can't think of any.
> I use Linux when it is appropriate to a specific application, > but for robustness, reliability and canonical implementation, > Solaris/SVR4 Unix is still a gold standard.
Perhaps that's true, but my observation leads me to the conclusion that very few embedded developers use SPARC/Solaris these days. -- Grant Edwards grante Yow! Are you the at self-frying president? visi.com
cfullinfaw <cfullinfaw@bass-inc.com> wrote:

> Can someone point me to where I can get a download of a compiler that will > work on Linux for embedded C targeting the 68K chip?
Do it your self, it is not complicated once you get the idea. Download: - binutils-2.16.tar.gz (the latest, on what gas still supports M68K) - gcc-core-4.2.2.tar.bz2 (the wiki page on gcc.gnu.org discusses taking the latest src from svn, which might not be a good idea) - gcc-g++-4.2.2.tar.bz2 cd /home/$USER mkdir src mkdir build bzip2 -d gcc-core-4.2.2.tar.bz2 bzip2 -d gcc-g++-4.2.2.tar.bz2 cd /home/$USER/src tar zxvf /home/$USER/binutils-2.16.tar.gz tar xvf /home/$USER/gcc-core-4.2.2.tar tar xvf /home/$USER/gcc-g++-4.2.2.tar cd /home/$USER/build (for target m68k-X, you need to decide whether coff or elf suits you better, coff is quite simple to process compared to elf) ../src/binutils-2.16/configure --target=m68k-X \\ --prefix=/home/$USER/m68k-gcc (or wherever you want to install the system) make make install export PATH=$PATH:/home/$USER/m68k-gcc/bin rm -rf * ../src/gcc-4.2.2/configure --target=m68k-X \\ --prefix=/home/$USER/m68k-gcc make make install that's it. You might want to build newlib (latest seems to be 1.15.0) also, but I'm not sure which is The Correct Way of doing it. Perhaps someone else knows. -- Jyrki Saarinen http://koti.welho.com/jsaari88/
Grant Edwards wrote:
> Chris Hills <chris@phaedsys.org> wrote: >> <grante@visi.com> writes >>> Bob <StephensDigital@gmail.com> wrote: >>>
... snip ...
>>> >>>> Tasking is now owned by Altium FWIW. >>> >>> And they don't support Linux, only Windows and Solaris. If >>> you're really in a bind, you I suppose could run Windows or >>> Solaris on a VM... >> >> You could of course remove the Linux and run the Free Solaris >> from Sun > > Before doing that you might want to check with to see if IA32 > Solaris is supported by Altium or not. It could be that when > Altium says Sun/Solaris what they mean is SPARC/Solaris. > > Better yet, send them a PO for an IA32 Linux version. When > somebody calls and tells you they have a Solaris version but > not a Linux version, thell them you saw that but thought they > were joking. It's about time they pulled their head out of the > sand and joined the rest of us in the 21st Century. > > I'll admit that there might be a business case for doing like > IAR does and supporting Windows and not Unix. But to support > Windows and Solaris instead of Windows and Linux seems like a > decision that hasn't made sense for over a decade.
Of course it is quite possible that Altium (whoever they may be) has the Solaris compiler, but no personnel who understands how it works or is capable of modifying or adapting it. -- Chuck F (cbfalconer at maineline dot net) <http://cbfalconer.home.att.net> Try the download section. -- Posted via a free Usenet account from http://www.teranews.com
msg wrote:
> Grant Edwards wrote: > <snip> >> Better yet, send them a PO for an IA32 Linux version. When >> somebody calls and tells you they have a Solaris version but >> not a Linux version, thell them you saw that but thought they >> were joking. It's about time they pulled their head out of the >> sand and joined the rest of us in the 21st Century. >> > > As a contented user of Solaris/SPARC, I am personally offended > by such inflammatory comments. Linux is in many ways a new > religion of a certain generation; as with all religions, > intolerance can become a problem. > > I use Linux when it is appropriate to a specific application, > but for robustness, reliability and canonical implementation, > Solaris/SVR4 Unix is still a gold standard. > > Regards, > > Michael
Regardless of the advantages of SPARC and/or Solaris (I haven't tried either, so I can't comment), it is still absurd that a company would support a compiler on Solaris/SPARC and not on Linux. The commonality between all *nix systems is so great for command-line application software that porting is mostly a matter of recompiling for the right target.
Rich Walker wrote:
> Grant Edwards <grante@visi.com> writes: > >> I'll admit that there might be a business case for doing like >> IAR does and supporting Windows and not Unix. But to support >> Windows and Solaris instead of Windows and Linux seems like a >> decision that hasn't made sense for over a decade. > > Surely it's a sensible business-oriented decision from a commercial > compiler company, not the kind of idiocy you'd expect from those Free > Software freaks! >
A sensible business-oriented decision would be to make the compiler work on platforms that people use, based on the potential sales and the cost of the ports (both one-time costs, and later maintainance and support). So if you make a windows-specific gui-based toolchain, the costs of making a Linux port are probably high compared to the potential sales. But if you already make a Solaris toolchain, the costs of the port are minimal and the market is very much larger - that's why commercial software companies that make Solaris software generally also make Linux versions.
On 2007-12-14, CBFalconer <cbfalconer@yahoo.com> wrote:
> Grant Edwards wrote: >> Chris Hills <chris@phaedsys.org> wrote: >>> <grante@visi.com> writes >>>> Bob <StephensDigital@gmail.com> wrote: >>>> > ... snip ... >>>> >>>>> Tasking is now owned by Altium FWIW. >>>> >>>> And they don't support Linux, only Windows and Solaris. If >>>> you're really in a bind, you I suppose could run Windows or >>>> Solaris on a VM... >>> >>> You could of course remove the Linux and run the Free Solaris >>> from Sun >> >> Before doing that you might want to check with to see if IA32 >> Solaris is supported by Altium or not. It could be that when >> Altium says Sun/Solaris what they mean is SPARC/Solaris. >> >> Better yet, send them a PO for an IA32 Linux version. When >> somebody calls and tells you they have a Solaris version but >> not a Linux version, thell them you saw that but thought they >> were joking. It's about time they pulled their head out of the >> sand and joined the rest of us in the 21st Century. >> >> I'll admit that there might be a business case for doing like >> IAR does and supporting Windows and not Unix. But to support >> Windows and Solaris instead of Windows and Linux seems like a >> decision that hasn't made sense for over a decade. > > Of course it is quite possible that Altium (whoever they may be) > has the Solaris compiler, but no personnel who understands how it > works or is capable of modifying or adapting it.
That's a distinct possibility (especially for such an old target). It could be that the last time anybody touched that compiler the Linux market was smaller than the Solaris market. If that's the case, then the chances that they have an IA32/Solaris port are probably nil. -- Grant Edwards grante Yow! HUGH BEAUMONT died at in 1982!! visi.com
In message <13m5hd7h79ps67b@corp.supernews.com>, msg 
<msg@_cybertheque.org_> writes
>Grant Edwards wrote: ><snip> >> Better yet, send them a PO for an IA32 Linux version. When >> somebody calls and tells you they have a Solaris version but >> not a Linux version, thell them you saw that but thought they >> were joking. It's about time they pulled their head out of the >> sand and joined the rest of us in the 21st Century. >> > >As a contented user of Solaris/SPARC, I am personally offended >by such inflammatory comments. Linux is in many ways a new >religion of a certain generation; as with all religions, >intolerance can become a problem.
I am glad you said that. I usually get flamed for saying it! Even though I know many in the industry would agree with you. However due to the religious bigotry (their words) from the Linux camp they won't say it publicly. The Linux market is still too new, unstable and full of religious bigots for many companies to get involved with. In fact I have seem in print is some places that the "overweening messianic inevitability" from some to the Linux camp may well be the cause of it's down fall.
>I use Linux when it is appropriate to a specific application, >but for robustness, reliability and canonical implementation, >Solaris/SVR4 Unix is still a gold standard.
Couldn't agree more. -- \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ \/\/\/\/\ Chris Hills Staffs England /\/\/\/\/ /\/\/ chris@phaedsys.org www.phaedsys.org \/\/\ \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/

Memfault Beyond the Launch