Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Messages - ml3196390801

#1
Quote from: nanomad on August 20, 2012, 04:25:33 PM
Use this: https://launchpad.net/gcc-arm-embedded

Simply extract it somewhere and edit Makefile.inc accordingly
I've been using gcc-4.6 as compiled by the toolchain/summon-arm script.

But my original question was about gcc-4.4, and whether or not the stdio macros could be made compatible with gcc-4.4. (Maybe I'm misdiagnosing what the problem is.) The latest Debian/Ubuntu version available is gcc-4.4, which is the only reason I'm asking.

Is compilation with gcc-4.4 not supported?
#2
I'm new to ML development, but from what I understand, ML uses its own custom stdio.c.

I'm also trying to use an official pre-packaged embedded-Debian arm toolchain, but the most recent version is for gcc-4.4.

So, I'm getting a lot of errors like this:

error: NULL undeclared (first use in this function)

Can the stdio-related macros be updated so that they will compile with an older version of gcc?

I've already compiled ML2.3 successfully using the arm toolchain for gcc-4.6.2, but as I mentioned, the most recent version of gcc for embedded Debian is gcc-4.4.

I think if Debian/Ubuntu people were able to easily install a pre-packaged Debian version of the arm toolchain, it might help spur development from that side of the aisle.
#3
Got it to work on my 600D.

These zebras are fast, w00t!
#4
Quote from: scrax on August 06, 2012, 12:45:25 AM
Hi,

1. You need to check the links posted here, I'm not on ubuntu
2. Fix the script or put it manually in the right place, it's needed
3. no problem it's for documentation
4. ignore
5. ignore

@scrax: I appreciate your answers answers.

1. I had already followed the instructions that you pointed to, but I was looking for people who have located any Debian/Ubuntu repositories for the arm toolchain.

I am not new to development, but I am new to ML, so I am paranoid about bricking my camera by making a stupid mistake.

I don't mind installing the toolchain outside of the filesystem hierarchy standard (FHS), but that defeats the purpose of having a distribution. It would be great if someone knew of a repository out there that works.

2. Yes, I fixed the script myself, but I was pointing out the error, in case it needed to be fixed for people who need to apply the patch. Should the distributed script itself be fixed?

3 & 4 & 5. Can the setup files and Makefiles be amended so that we don't see these errors, or provide a more informative message? Warnings are fine.

Thanks
#5
I'm trying to get things to compile on a Debian system for the first time, but I have a few issues. I don't want to brick my camera, so I am asking out of an abundance of caution:

1. Are there any Debian/Ubuntu repositories for the arm toolchain that people are using with success? I think it would be helpful to include platform-specific instructions in the README files.

2. The toolchain/summon-arm script is looking for patch-gcc-4.6.2-config-arm-t-arm-elf.diff in the wrong place.

3. doc/menuindex.py is complaining about "Could not open menuindex.txt". What should I do about this? Is this safe to ignore, or is it a fatal error?

4. doc/menuindex.py is complaining about "mkdir: cannot create directory `cam': File exists". What should I do about this? Is this safe to ignore, or is it a fatal error?

5. ld is complaining about "stat: cannot stat `autoexec.bin': No such file or directory", but then I objcopy creates an autoexec.bin file. What should I do about this? Is this safe to ignore, or is it a fatal error?

Thanks