g++ compile options

This is a discussion on g++ compile options within the Linux Programming forums, part of the Platform Specific Boards category; if I am using an intel Core 2 Duo CPU, what would be my cpu match for the optimization option ...

  1. #1
    Registered User
    Join Date
    Jun 2007
    Posts
    30

    g++ compile options

    if I am using an intel Core 2 Duo CPU, what would be my cpu match for the optimization option [-march= ??????] ?

  2. #2
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,417
    Which version of g++ do you have, there are quite a few you know.
    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.

  3. #3
    Registered User
    Join Date
    Jun 2007
    Posts
    30
    I just checked. It is 3.4.6 .

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Dev-C++: Can anyone please compile this?
    By SG57 in forum C Programming
    Replies: 6
    Last Post: 08-31-2006, 08:30 AM
  2. dvv-cpp not able to compile?
    By Rune Hunter in forum C++ Programming
    Replies: 12
    Last Post: 10-23-2004, 06:36 PM
  3. Replies: 3
    Last Post: 03-27-2004, 11:15 AM
  4. compile once, compile twice ...error
    By Benzakhar in forum Windows Programming
    Replies: 6
    Last Post: 12-28-2003, 05:00 AM
  5. trying to compile a dll
    By Hobo in forum Windows Programming
    Replies: 1
    Last Post: 10-16-2001, 12:19 AM

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