CCFLAGS & ctr0.o

This is a discussion on CCFLAGS & ctr0.o within the C++ Programming forums, part of the General Programming Boards category; Using a Makefile what does CCFLAGS normally contain? What is crt0.o and how does one create it? Thanks...

  1. #1
    Registered User
    Join Date
    Oct 2001
    Posts
    18

    Question CCFLAGS & ctr0.o

    Using a Makefile what does CCFLAGS normally
    contain?

    What is crt0.o and how does one create it?

    Thanks

  2. #2
    Super Moderator VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,596
    Man these questions. Please explain more. Whaddya think we are...psychics?

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,494
    > Using a Makefile what does CCFLAGS normally contain?
    Whatever compiler options you want
    CCFLAGS = -g
    to enable a debug build is a common one

    > What is crt0.o and how does one create it?
    It's the basic run-time library - crt == C Run Time
    It's probably part of what is produced when whoever created your compiler. It's not something you normally have to deal with
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21