Re: outdated arm-linux-gnueabi compiler requirement
Neil Williams <[email protected]>
| Newsgroups | gmane.linux.debian.devel.embedded |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 13 Feb 2014 16:31:33 +0000 Pierre St-Germain <[email protected]> wrote: > Thanks a lot for your quick reply, sorry about the mailing list... Also, avoid top-posting, it breaks the flow of the message. > I cannot change the platform of the device... > What would be the steps to be able to build a simple(Hello world) > executable for this device(BusyBox v1.12.1 (Linux version 2.6.27, gcc > 4.0.0)? Thanks again! Pierre St-G > > > There are no Emdebian toolchains available for Lenny. > > > > Please, I'm struggling for 3 weeks now, Can you help me? > > > Unlikely. You would need to rebuild everything on the system and > > there is no guarantee that the code would even compile with gcc-4.4, > > plus issues of changes in the kernel between 2.6.27 and 3.2. > > > I think you may have to consider this as a non-upgradeable system > > when you consider how much work it will be to get it running up to > > date software. There is no toolchain available from Emdebian to compile anything for this obsolete device. There probably is no room on the device to install a toolchain to build anything natively, even if those binaries were available from snapshots.debian.org. gcc-4.0 predates any of the current advice on how to build a cross-compiler. I've no idea how to build a cross-compiler using a version of gcc that old. Emdebian toolchains were never covered by snapshots or other archive software - once removed, they have gone forever - and Emdebian has never had enough resources to keep endless archives. You would have to find a way to build a cross-compiler out of gcc-4.0 and with all the other dependencies required for this set of libraries. Some of those dependencies would have to be cross-built, leading to a chicken-and-egg bootstrapping problem. Emdebian cannot help you with that - that is why you may have to consider this as a non-upgradeable system - you can change things which don't need compilation (interpreted scripts, depending on what is actually installed) and that is about all you can expect. If you cannot upgrade all of the software to at least Squeeze, you won't be looking at any new compiled software on that device without enormous amounts of work. None of that work will be useful or interesting to anyone else, so you won't get any support and none of your fixes will be accepted upstream. If you cannot change the platform, change the device. -- Neil Williams ============= http://www.linux.codehelp.co.uk/
signature.asc
(application/pgp-signature, 836 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.22 (GNU/Linux) iQIcBAEBCAAGBQJS/QSKAAoJEPFn5DyBQ7aC2pkP+wbrYeOWgDAAplqesx1T75vr SnHQRWCjUEyZ5PjWVCxHT1koDC2AszDLZTkYrFwf2siONGfIqHpcO6tpa3VUApP7 7cMZ1G9I7lADeKWkwX6c64XX4jLk9G/okqrkcDF/SkDhdiaRS5m2O+ebdNGuHp6K MzDKBsTEdMEGESD3kQTMN+SBGJTZBuPPR60Wsw3NdVzqalTl1wDqZ/VKcxl+EBjw n25svMoZDP9J162E/74SD42KbhF5Hs8WW2FXOOeMV75FFsTKeSXdk86kFbeAftC0 YHqrcR8wA6Zg8mPQWPoRF9Hk1J6QzY0SzNGKgm9Qk5Dstp0k43+69DJyVnbD1y8h G+m1WssZ0Hr/Arp2oE0cxvcVBPDLxmI5hTUU3wjiDjabQd42Kj8TWqPIHGNx03zT K+anY/O9Y9s2XlhbjRX12hJ/YBolOSlEzQEgqK40NYwrZHcXh5yDLMbk3EnFCD89 RMkrv0hAgJTgEEhcjJ82MUAZpHYJ2KEJwkuxU2+K9M7N7Mpa1OJyjAYTmV1I7cbK ZPUDRyyqGd38NHxW8g0h/9jUsmQQEXYiuTraoC/bAJ+OO2ONflr7lSxOs2/0QxGi A8RjSLxL4WB2RH3mKqY/M/tDaCo4kyVfTPAnylOJMTCgEyiKT0CszNWi0QZpBYme gkUKmUpX0F+1FefxpN+0 =XM5O -----END PGP SIGNATURE-----