![]() |
2013-06-18
, 20:08
|
Posts: 473 |
Thanked: 141 times |
Joined on Jan 2009
@ Virginia, USA
|
#21
|
The Following User Says Thank You to VulcanRidr For This Useful Post: | ||
![]() |
2013-06-18
, 23:09
|
|
Posts: 1,986 |
Thanked: 7,698 times |
Joined on Dec 2010
@ Dayton, Ohio
|
#22
|
It's possible ("speed kills, Peaches"), but isn't it usually heat that kills it?
![]() |
2013-06-18
, 23:09
|
Posts: 473 |
Thanked: 141 times |
Joined on Jan 2009
@ Virginia, USA
|
#23
|
The procedure looks correct to me, although the Updating the Firmware page notes that you should power down the N900 between flashing the EMMC and rootfs (by temporarily removing the battery).
The Following 5 Users Say Thank You to VulcanRidr For This Useful Post: | ||
![]() |
2013-06-19
, 08:51
|
Posts: 242 |
Thanked: 169 times |
Joined on Nov 2011
|
#24
|
http://wiki.maemo.org/User:Joerg_rw/tools
http://wiki.maemo.org/Community_SSU/...roken_packages
The Following User Says Thank You to enne30 For This Useful Post: | ||
![]() |
2013-06-19
, 08:51
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#25
|
And yet, I am cursing wifi-switcher and quick-launch for storing their .a and .la in the same directory with .so, when the built package should contain only .so - .a and .la are transitional files used by gcc when generating .so from .c and .h.
Disclaimer: I haven't used gcc, or packaged anything, for a long time. When I package something, I use no makefiles of any kind, preferring plain Debian packaging.
Best wishes.
The Following 2 Users Say Thank You to reinob For This Useful Post: | ||
![]() |
2013-06-19
, 10:04
|
Posts: 2,006 |
Thanked: 3,351 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#26
|
You know. That "packaging" was the norm before some bright heads decided to split every package into "package" and "package-dev" (or -devel, or whatever).
It is highly un-Unix-ish to provide packages without the corresponding development stuff (.h, .la, .a).
The Following User Says Thank You to Wikiwide For This Useful Post: | ||
![]() |
2013-06-19
, 11:15
|
Posts: 1,808 |
Thanked: 4,272 times |
Joined on Feb 2011
@ Germany
|
#27
|
Well, I expect that there is a source-package with .h and .c files, and a binary-package with .so files. Not one package, just two files for one package. Installing .a and .la on user device when user doesn't need them... just consumes space and makes a mess. If there is need for debugging... then you can give to user the whole mess: .c, .h, .patch, .a, .la, .so, whatever. But the binary package for end-user should not contain additional files which are not useful at all. Right?
Yes, it is highly probable that I'm unaware of some special mission of .a and .la files.
I'm not a professional debugger; for me, either program works or it doesn't. I write code in Notepad-Leafpad, compile it in command line by politely asking gcc to do it, and use the final .so or .bin file. Breakpoints don't exist for me. If debugging is necessary, I add print-or-log-or-whatever lines to my code and recompile it, to figure out later what was the problem. I dislike all these makefiles, solutions-projects, compiling environments, etcetera. And on the same level, for me .a and .la are just transient files generated by gcc for gcc. I can easily concede that separating gcc into compiler-assembler-linker-whatever is beneficial; gcc is a joyful program to use. But I have no understanding of .a and .la files - except that .so can work without them.
Best wishes.
![]() |
2013-06-20
, 02:08
|
Posts: 2,006 |
Thanked: 3,351 times |
Joined on Jun 2010
@ N900: Battery low. N950: torx 4 re-used once and fine; SIM port torn apart
|
#28
|
That's why those bright heads split the packages between "normal" and "development". It may be the right thing to do for most people. I myself tend to be very very conservative with "modern" technology
The .a is the static counterpart of the .so, so you need the .a if you want to statically link a library (as opposed to using the .so, for which you need the .la).
The funny thing is that most programs are developed using the traditional way, i.e. a Makefile that builds the program. make install usually installs everything (yes, including .a and .la, etc.)
The .deb packagers (maintainers I think they're called) take that and generally make a mess of it by adding dependencies, using more-or-less common sense (unfortunately not always) and decide to strip one thing or the other or (in the case of Maemo) to "optify" the package after-the-fact (instead of compiling with the appropriate --prefix).
It's actually pretty incredible that things like Maemo, Debian and Ubuntu actually work OK-ish
The Following User Says Thank You to Wikiwide For This Useful Post: | ||
![]() |
2013-06-21
, 02:14
|
Posts: 473 |
Thanked: 141 times |
Joined on Jan 2009
@ Virginia, USA
|
#29
|
![]() |
2013-06-21
, 02:25
|
Posts: 473 |
Thanked: 141 times |
Joined on Jan 2009
@ Virginia, USA
|
#30
|
![]() |
Tags |
fremantle, nokia n900 |
|