Re: Using SystemConfiguration API inside KEXT
Re: Using SystemConfiguration API inside KEXT
- Subject: Re: Using SystemConfiguration API inside KEXT
- From: John B Brown <email@hidden>
- Date: Tue, 11 May 2010 12:00:59 -0600
Dear Folk,
I see that, in addition to screwing up other GNU utilities, Apple has
screwed up the C and GNU compiler system. This is NOT porting, it is
pulling a SUN; call it standard but make it proprietary.
In order to write and compile C code on an Apple you must ignore the
workings of the C and GNU compilers and use a proprietary Apple system.
That is pure BULLSHIT!
On 5/11/10 11:19 AM, Jean-Daniel Dupas wrote:
Le 11 mai 2010 à 19:11, Uli Kusterer a écrit :
On May 11, 2010, at 6:40 PM, Jean-Daniel Dupas wrote:
gcc include.c
I think you left out the -framework SystemConfiguration option.
Yes, I did it Intentionally. It is required for linking, but not for header lookup, just like you don't need additional flag to use headers in /usr/include but need -lmylib to link it.
-- Jean-Daniel
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
Shalom,
John B. Brown.
[email@hidden]
358 High Street,
Buffalo, Wyoming
82834
"Freedom is not worth having if it does not include
the freedom to make mistakes" Mahatma Gandhi
"If any question why we died, tell them,
because our fathers lied." Rudyard Kipling
"A man who does not know the truth is just an idiot
but a man who knows the truth and calls it a lie
is a crook." Bertolt Brecht
"I wonder whether the world is being run
by smart people who are putting us on
or by imbeciles who really mean it." Mark Twain
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden