Re: [OT] any good online doc for the details of compiling "hello, world"?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Robert P. J. Day wrote:
On Fri, 30 Oct 2009, Bryn M. Reeves wrote:

On Fri, 2009-10-30 at 02:36 -0400, Robert P. J. Day wrote:
not really a fedora question, but i'm interested in a step-by-step
description of what happens when one compiles and runs "hello,
world". it's sort of a fedora question since i want to relate
those steps to the essential fedora packages and where they come
into play (gcc, cpp, glibc-devel, libgcc, and so on), related to
things like crtbegin, crtend, etc.  i'm thinking you get the idea.
Maybe not exactly what you're looking for but I read this book a few
years ago:

http://savannah.nongnu.org/projects/pgubook/

It's now available under the GNU FDL (although I think a print
edition is still available). It covers basic programming using
assembler and picks apart classic examples like "Hello World" at the
instruction level.

  that doesn't go as deep as i'd like.  actually, after i thought
about it a bit longer, i realized that i'd like a document that gets
into the details of gcc debugging and optimization in the sense of
actually *explaining* it.  it's one thing to read the gcc manual to
see what options are available, but it's quite another to truly
understand what they all represent.

  does such a document exist?

rday
--

========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

            Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

Perhaps an ASM book covering the essentials will help for starters; then, books on compilers and how they work aren't hard to find on the 'net.

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux