Thread: CCFLAGS & ctr0.o

  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
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Man these questions. Please explain more. Whaddya think we are...psychics?

  3. #3
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,659
    > 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.

Popular pages Recent additions subscribe to a feed