Mailing Lists: Apple Mailing Lists

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

Link Carbon framework from gcc



Hi,

This is slightly off topic, my excuses for that, but I need to know this to proceed with my JNI library.

I use a Makefile and gcc (tried 3.3 & 4.0) to compile a JNI-enabled dynamic library and a few classes are dependent on the Carbon framework for file handling. I pass -FCarbon and I also tried - FCoreServices but I still get errors and my conclusion is that the Carbon frameworked can not be found/linked. I also tried -I/Developer/ Headers/FlatCarbon without success.

When I compile the same library with Xcode, everything works fine. I found in the 'project.pbxproj' the line: HEADER_SEARCH_PATHS = / Developer/Headers/FlatCarbon; but I have no idea how Xcode passes this to the gcc compiler.

Has anyone had similar problems and found an answer to this?

Cheers,

Josef

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/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.