Compiler build tools (2012)
Moderators: jsmcortina, muythaibxr
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Compiler build tools (2012)
As binutils 2.23 was released today I've posted some updated build tools.
http://www.msextra.com/tools
The gcc has minor tweaks over the 2010 version previously available.
These tools are required for MS3 1.1.x and will be used with the next MS2/Extra pre-3.3 alpha. To use them with older versions you'll need to make small Makefile changes as the executables are prefixed m68hc11-elf
I've only uploaded the Linux zip so far, the Cygwin one is still building and takes hours.
James
http://www.msextra.com/tools
The gcc has minor tweaks over the 2010 version previously available.
These tools are required for MS3 1.1.x and will be used with the next MS2/Extra pre-3.3 alpha. To use them with older versions you'll need to make small Makefile changes as the executables are prefixed m68hc11-elf
I've only uploaded the Linux zip so far, the Cygwin one is still building and takes hours.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Compiler build tools (2012)
Windows (Cygwin) build tools were uploaded yesterday and tested by Jean. You need to be sure your Cygwin is up to date though or they silently fail to work.
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Super MS/Extra'er
- Posts: 9130
- Joined: Sun May 02, 2004 6:51 am
- Location: Quebec, Canada
- Contact:
Re: Compiler build tools (2012)
Just to elaborate on what James mentioned, you can find out which version of Cygwin you have with this:
The latest version is 1.7.17 and is known to work. The older version 1.7.7 is known NOT to work and compiling will simply fail to work without giving any indication of what is wrong. The versions between these two have not been tested.
Jean
Code: Select all
uname -r
Jean
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: Compiler build tools (2012)
i thought i have a go at installing under ubuntu
but i did not get very far
but i did not get very far
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Compiler build tools (2012)
You probably want to check the Ubuntu support forums. This might do the job though:
James
Code: Select all
$ sudo bash
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: Compiler build tools (2012)
i think it worked or atleast an s19 file came out
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Compiler build tools (2012)
If you want to compare, use 'cmp' or 'diff'
e.g.
The source posted should build the same s19 as the posted 1.1.3 beta s19 on 32bit systems.
On 64bit systems there are two lines of code that build differently, I know why and I've altered the source. The resulting code works just the same though.
James
e.g.
Code: Select all
cmp the_original_ms3.s19 ms3.s19
diff -u -w the_original_ms3.s19 ms3.s19
On 64bit systems there are two lines of code that build differently, I know why and I've altered the source. The resulting code works just the same though.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: Compiler build tools (2012)
this is on a 64 bit pc
with ms3 1.1.3 and ms3 pre1.2
with ms3 1.1.3 and ms3 pre1.2
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Compiler build tools (2012)
You aren't comparing the same code version - so of course it is different!!
James
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: Compiler build tools (2012)
i guess this is wat it looks like when there is no difference ?
http://www.msextra.com/forums/viewtopic ... .3#p339267
http://www.msextra.com/forums/viewtopic ... .3#p339267
Re: Compiler build tools (2012)
Hi! I just just compiled ms2extra_3.2.4 for the first time on my fresh linux install.
I downloaded the 2012 binutils because they were the 'newest'. Then I found that the makefile was still trying to use the old tools. I changed the makefile and got it to build, but it got me wondering if I am supposed to be using the old tools for some reason... I will probably try it in a couple hours, but I thought I should ask here, too...
Also, a mention of this issue at http://www.msextra.com/tools/ could save people a little confusion in the future.
Thanks!
-mouse
I downloaded the 2012 binutils because they were the 'newest'. Then I found that the makefile was still trying to use the old tools. I changed the makefile and got it to build, but it got me wondering if I am supposed to be using the old tools for some reason... I will probably try it in a couple hours, but I thought I should ask here, too...
Also, a mention of this issue at http://www.msextra.com/tools/ could save people a little confusion in the future.
Thanks!
-mouse
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: Compiler build tools (2012)
due to a recent bug in the latest ubuntu kernel
i did a reinstall of the tools after ubuntu reinstall
but for some reason is does not work now ?
i did a reinstall of the tools after ubuntu reinstall
but for some reason is does not work now ?
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Compiler build tools (2012)
I'm guessing you don't have a directory called c:/ on a unix system?
What firmware release was this? The Makefile might need adjusting.
James
What firmware release was this? The Makefile might need adjusting.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
Re: Compiler build tools (2012)
It might not be directly relevant to the case but it's easier to get help with all *nix problems when using the C language (english) to get untranslated error messages.
If you run make with the variable LANG=C prior you get the output in untranslated english.
If you run make with the variable LANG=C prior you get the output in untranslated english.
Code: Select all
ronald@ronald-System-Product-Name:~/msii$ LANG=C make
Volvo 740 GLT -89, B234F MS3+MS3X Full-Sequential / Wasted Spark
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: Compiler build tools (2012)
the files seem to be there
tools version 2012 -10 -24
ubuntu 12.04 LTS 3.2.39 had a kernel bug that complety freezed up my system
i went on with the latest 12.04.2 LTS wich has the 3.5.23 kernel but an update to 3.5.26 gave the same system freeze
currently i have the 12.04.2 LTS with the 3.5.23 kernel on a 1 terrabyte drive on wich i made an ntfs partion to hopefully get a drive letter assigment
but no suchs luck
tools version 2012 -10 -24
ubuntu 12.04 LTS 3.2.39 had a kernel bug that complety freezed up my system
i went on with the latest 12.04.2 LTS wich has the 3.5.23 kernel but an update to 3.5.26 gave the same system freeze
currently i have the 12.04.2 LTS with the 3.5.23 kernel on a 1 terrabyte drive on wich i made an ntfs partion to hopefully get a drive letter assigment
but no suchs luck
Re: Compiler build tools (2012)
Could you run the following commands?
file /usr/bin/m68hc11-elf-gcc
ls -l /usr/bin/m68hc11-elf-gcc
If the binary is there but you still can't execute it usally means it's a 32/64-bit issue, however the previously mentioned commands should show if that's the case.
file /usr/bin/m68hc11-elf-gcc
ls -l /usr/bin/m68hc11-elf-gcc
If the binary is there but you still can't execute it usally means it's a 32/64-bit issue, however the previously mentioned commands should show if that's the case.
Volvo 740 GLT -89, B234F MS3+MS3X Full-Sequential / Wasted Spark
-
- Master MS/Extra'er
- Posts: 606
- Joined: Sat Apr 11, 2009 12:54 pm
- Location: Aalsmeer the netherlands
- Contact:
Re: Compiler build tools (2012)
it had worked before on my 64 bit machine
i assumed the ls-I was capital letter " i "
i assumed the ls-I was capital letter " i "
Re: Compiler build tools (2012)
I'm not running Ubuntu myself but you'll need to install the correct ia32 libraries to be able to run the compiler.
Have you installed for example ia32-libs-multiarch?
PS. The ls -l is a small L but it doesn't matter now since this issue seems to be architecture related.
Have you installed for example ia32-libs-multiarch?
PS. The ls -l is a small L but it doesn't matter now since this issue seems to be architecture related.
Volvo 740 GLT -89, B234F MS3+MS3X Full-Sequential / Wasted Spark
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Compiler build tools (2012)
Nope, lowercase LMS2tester wrote:it had worked before on my 64 bit machine
i assumed the ls-I was capital letter " i "
I don't have a 64bit Linux install or I'd re-build the binaries in 64bit mode and test here.
James
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
-
- Site Admin
- Posts: 39620
- Joined: Mon May 03, 2004 1:34 am
- Location: Birmingham, UK
- Contact:
Re: Compiler build tools (2012)
You might also want to try:
to see what libraries the programme is trying to use.
Mine reports:
James
Code: Select all
ldd /usr/bin/m68hc11-elf-gcc
Mine reports:
Code: Select all
[jsm@jsm2 ~]$ ldd /usr/bin/m68hc11-elf-gcc
linux-gate.so.1 => (0x00647000)
libc.so.6 => /lib/libc.so.6 (0x0090e000)
/lib/ld-linux.so.2 (0x008ed000)
I can repair or upgrade Megasquirts in UK. http://www.jamesmurrayengineering.co.uk
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".
My Success story: http://www.msextra.com/forums/viewtopic ... 04&t=34277
MSEXTRA documentation at: http://www.msextra.com/doc/index.html
New users, please read the "Forum Help Page".