Xcode using wrong and different version of GCC for linking

I have had this problem with Xcode for several versions now. I am working on plain old C code, but I am using OpenMP. The code compiles just fine with gcc-4.2. If I set up a target to compile the code with OpenMP support and using version 4.2 of gcc, it again compiles just fine...until it gets to the link phase. It then suddenly decides to try linking with gcc-4.0 instead of 4.2. And therefore, it fails because it can't find any of the OpenMP libraries. Anybody else have this issue? Is there a setting somewhere I'm missing? I've got a nasty hack where I made gcc-4.0 a softlink to gcc-4.2. It works, but this is of course distasteful. A real solution would be nice.
Note, I have not tried creating a brand new project file..that's a lot of work as there are many files and targets involved. But I will try it if I have to.
Current version of Xcode is 3.1.3. Thanks again.
David

Not really, unless the answer is to build a whole new project file. I found this discussion earlier, but it didn't really provide any new information except the idea of creating a new project file. But like I said, if I have to do this, I will. But I don't want to go through the effort if there is a simpler solution...and without knowing for sure that it will even work.
Thank you very much for your reply.
Is there some defaults file I can check for what linker is used for a target? Some file I can edit directly?

Similar Messages

  • Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    Is there any system level support for RAW files from an Olympus XZ-10 camera.  I use Lion and iPhoto version 9.4.2

    If there is I can not find it - Google provides a list of possible methods form Adobe and others
    LN

  • How do I find and older version of instagram for iOS 6.1.6

    How do I find and older version of instagram for 4th generation touch iOS 6.1.6?

    In iTunes on your computer, download the App you want a compatible version for using the same Apple Id that the iPod has for the App Store. For Paid Apps its best to consult with the App maker to make sure there is a compatible App. With the App Downloaded to iTunes on a computer you can go into The App Store App on your iPod, Tap on Purchased, and Look for the App there. Tap on it to begin the download. It will likely say its not compatible, but if there is a compatible version it will offer to download it.
    Install the latest compatible version of an app on an earlier version of iOS or OS X - Apple Support

  • I have the latest itunes and I use Windows and suddenly after working fine for years, itunes will not synch with OUtlook anymore. Any ideas?

    I have the latest itunes and I use Windows and suddenly, after working fine for years, itunes will not synch with Outlook anymore. Any ideas?

    Contact NIK for updated/upgraded versions of their plug-ins.  They have been having a lot of issues with their plug-ins.

  • I used a GarageBand loop in a video I made for youtube. I want to submit this video for revenue. First, is this legal? Second, youtube requires written permission to use songs, and provides a comment box for proof of permission. What do I put in this box?

    I used a GarageBand loop in a video I made for youtube. I want to submit this video for revenue. First, is this legal? Second, youtube requires written permission to use songs, and provides a comment box for proof of permission. What do I put in this box to prove It's ok for me to make ad revenue from my video?

    Yes, you can use GarageBand loops for commercial purposes. Here's the Apple Doc:
    http://support.apple.com/kb/HT2931
    (Basically the only thing it excludes is to re-distribute the loops as loops.)
    I don't know about the YouTube form, maybe you just fill in "Apple Loops", they certainly have come across this before.

  • I have an invoice that I paid to use photoshop and now it is asking for serial number however it does not show a serial number when I log in

    I have an invoice that I paid to use photoshop and now it is asking for serial number however it does not show a serial number when I log in

    Please then use your web Browser  address http://www.adobe.com/  and sign in with your Adobe User ID and Password to your account the has your Subscription and use https://www.adobe.com/account/my-products-services.html capture the page which shows you have a subscription like I showed you I have.
    Open Adobe Creative Cloud desktop application use the APP tab and capture that scree to show Photoshop is installed and up to date like I did. Capture that screen. Show us you have installed Photoshop and its up to date.
    Open Photoshop and use menu Help it should show tha its activated because there will be a menu item Sign Out. If it is Sign In, Sign in  using the account that has the subscription the one you used above to Activate Photoshop.

  • What is "use SSL" and "S/MIME" mail settings for?

    What is "use SSL" and "S/MIME" mail settings for?

    it has do with encrypting your mail when sent over the web

  • I need a different version of Firefox for work. 4.0 isn't working correctly with my work program and I don't know how to download an older version.

    I have an online job that requires me to use a different version of firefox. My computer already has 4.0 on it and I need to know how to change it to an older version so I can use it for work.

    http://support.mozilla.com/en-US/kb/Installing+a+previous+version+of+Firefox
    http://www.mozilla.com/en-US/firefox/all-older.html

  • Partition Restore Cold Backup Different System and Different Version DB

    Is it possible, can we restore the cold backup at different database version and different operating system(but same ENDIAN_FORMAT) ????????
    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .
    If it is possible. How can i do this.

    My original system HP-UX (64-bit) and database version 10.2.0.3.0 i have cold backup and i want to partion restore on Linux Redhot 5.5 (64-bit), database version 10.1.0.4.0 .1. AFAIK you can not do it i mean wiht cold backup move from HP to linux
    2. You can try to use exp-imp if you want to change db version.
    See below notes:
    Master Note For Oracle Database Upgrades and Migrations [ID 1152016.1]
    Different Upgrade Methods For Upgrading Your Database [ID 419550.1]
    Regard
    Helios

  • Using scripts with different versions of AppleScript

    Hi,
    I have a script that works perfectly in my Apple Script Editor v2.4.3 and Language AppleScript 2.2.1   I've given that script to a friend of mine with AppleScript Editor 2.7 and Apple Script Language 2.4
    The script does not work properly in their AppleScript Editor, does anyone know why this might be and/or how to remedy it?  Is there a way for them to download Language 2.2.1 to use or is there a way to figure out how I need to update my code to work for the 2.4 language.
    Thanks

    Hello
    Whilst scripts using certain features of the latest version of AppleScript language won't even complile on previous versions, scripts written for previous versions should usually work in later versions with some exceptions.
    cf.
    https://developer.apple.com/library/mac/releasenotes/AppleScript/RN-AppleScript/
    https://developer.apple.com/library/mac/releasenotes/AppleScript/RN-AppleScript/ RN-AppleScript.pdf
    - Notable change introduced in 10.8 is new requirement on referencing file system object.
    E.g.,
    open "/path/to/file"
    may work under 10.7 but not under 10.8 or later. Instead you need to use:
    open "/path/to/file" as POSIX file
    etc.
    - Notable change introduced in 10.9 is new requirement on using Accessibility and GUI scripting.
    cf.
    OS X: Using AppleScript with Accessibility and Security features in Mavericks
    http://support.apple.com/kb/HT5914
    Good luck,
    H

  • Apple id in iPhone is wrong and different from my real Apple id

    My Apple ID in my iPhone is wrong and is different from my real Apple id

    Access Settings->ITunes and App stores and tap on the Apple ID, then sign out. Then sign in with the correct Apple ID.

  • Is there a different version of firefox for 64 bit windows 7? if so, where do i go to get it. I try installing and it doesn't work.

    I had an issue with my school website today, they said i could have issues with the new version of firefox, so i decided to go back to the 6.0.2 version of firefox. I open and run the file to start the process of setup, and it extracts the file. It then asked me how i wanted to run the file, and then, it just does nothing. I cannot even find it on the computer, so i don't know if it is just not installing at all or what. I have no idea what to do about this. I am currently running 64 bit vista, and i dont know if i just got the 32 bit version, or what.

    Firefox 2.0.0.20 is the last ever release for Mac OSX 10.3.9 and earlier versions. Get it here:
    http://download.mozilla.org/?product=firefox-2.0.0.20&os=osx&lang=en-US

  • Can't recover Windows XP original setting using Rescue and Recovery version 4 on my T61

    Hello,
    Few days ago I recovered Windows original settings. However, after making some error installing my personal programs I wanted to start all over and then the RnR asked for password! I gave the single password I'm using but it wouldn't let me. 
    I remember seeing a windows while installing all the devices asking to enter a password, but I didn't manage to come to the computer before it restarted.
    HELP!!! How can I fix it?
    Many thanks, 
    Nir

    can you restore to factory settings you shouldn't need a PW to do that normally when R&R has a set password it will stay on the PW prompt page until the PW is entered I don't believe you can recover the PW not that I know of anyway . & forum rules don't allow post about getting around security measures so I couldn't post it if I knew
    Thinkpad R61 7733-1GU
    Thinkpad X61T 7762-54U
    Thinkpad X60T 6363-4GU
    Did a member help you today? Thank them with a Kudo!
    If a post answers your question, please mark it as an "Accepted Solution"!
    Regards,
    GMAC

  • I use Acer Iconia A500 and I can't start Aurora and Nightly version of firefox for mobile.

    When I start programs return me force close.

    Hi,
    I'm sorry you're having this problem. The Aurora and Nightly versions of Firefox mobile are unstable, so I would suggest downloading new versions each day and filing bugs if they force close (and if you are interested in helping us to test the unstable versions, which we really appreciate!).
    If you want the stability, you should download and install the latest Firefox version 9 from the android market.
    Thanks,
    Michelle

  • IPhoto '11 and previous version Projects missing their linked photos

    This concerns iPhoto '11 (9.2.1) running under Lion 10.7.2. Fully maintained.
    For the past couple of years my wife has been making iPhoto hardcover books ('projects') using photos from within various versions of iPhoto. Yesterday she completed her latest book and uploaded it off for printing. She then decided to order an additional copy of a book she'd made a couple of years ago, and opened the project file in iPhoto. For a brief moment there was a screen caption saying 'upgrading', and then a message to say upgrading was successful, and please to check book before printing.
    So she did - and whilst the pages and layouts were there, and text captions, ALL the inserted photos were missing! All the photos show up in the source list on the righthandside of iPhoto, but none of them are linked into the project book! She checked back into previous books (projects), and other than a couple of recent books, all were the same - the pages, layout and text were fine, but no linked-in photos.
    So quitting iPhoto and reopening command-option to get to the maintenance section, ticking all the boxes to examine and rebuild, after a few hours the result was the same - all the past projects were devoid of linked-in pictures!
    Worse still - the project she completed yesterday, and had sent for printing, now had some of its photos inserted sideways, or upside-down! Clicking on the photo on the page opens it the correct way around, and not as shown on the page layout!
    Going back into TimeMachine and extracting the iPhoto library from 6 months ago, opening it in iPhoto '11 (9.2.1) on a different machine gives the same result as above - the 'upgrading' message, the 'success and check' message, and the resultant unlinked photos. NOTE: once a previous project has been selected from the list, the 'upgrading' process is instant, unstoppable and not undoable.
    Do anyone have any explanantions or suggestions on how to resolve these issues?

    well....
    update this post.....
    It's strange.... I have news.... maybe I have the solution but I have to test if I have lost something....
    I opened time machine and simply cut & paste Pictures folder from backup to my folder, then opened iphoto with option key .... iphoto check updates on net and download last updates showing a popup that informes me that updating library to last iphoto version I will not be able to see photos with previous version of iphoto.
    once updated the software i can see all photos..... now i just have to check if there are all photos and i have not lost anything.....
    ^_^

Maybe you are looking for