Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XCode 2.3 and GCC 4.0 problem



Hi list

Trying to compile some programs, open source and my owns, that used to compile before, using XCode 2.3 and GCC 4.0 I am getting the following error:

Fatal error: invalid listing option `r'

It seems that XCode is passing the assembler a wrong argument, but even if I set a verbose option (-v) in the building settings I am not able to figure out where is the problem.

I think that the problem is that I installed other GCC versions using DarwinPorts to do some cross platform development. I googled the error and found no answer to the problem, but it almost always seems to be related to cross development. Well, I can't simply remove the DarwinPorts installed versions of GCC and its tools because I need them.

If I change the build rules to compile with GCC 3.3 I am able to compile but then there is a link problem, related to a -rpath option. I don't know what to do, any help will be welcome.

Angelo
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/xcode-users/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.