Re: xcode-2.4 cctools-622.3 ld and KEXTs
Re: xcode-2.4 cctools-622.3 ld and KEXTs
- Subject: Re: xcode-2.4 cctools-622.3 ld and KEXTs
- From: "Bhavesh Davda" <email@hidden>
- Date: Thu, 17 Aug 2006 09:14:04 -0700
Hi Peter,
That certainly worked! Thanks!
I had also observed two other changes that seemed to make it work
(without the -no_uuid ld option)
1. Swapping the order of "-ggdb -g3" to "-g3 -ggdb" when compiling the *.o's
and
2. Only compiling with "-g3" without the "-ggdb" flag.
What symbol table formats (STABS versus DWARF) have to do with an
extra load command, and that too a UUID load command, is beyond me,
though.
Should I file a bug?
Thanks!
- Bhavesh
On 8/16/06, Peter O'Gorman <email@hidden> wrote:
On Aug 16, 2006, at 12:30 PM, Bhavesh Davda wrote:
> Hi Rick,
>
> I tried -fapple-kext but the Mach-O image still has the UUID load
> command.
>
> c++-4.0 -o foo bar1.o bar2.o bar3.o -fapple-kext -static -nostdlib -r
> -lkmodc++ -lkmod -lcc_kext -lcpp_kext
>
> So the kext still fails to load using kextload.
How about this:
c++-4.0 -o foo bar1.o bar2.o bar3.o -fapple-kext -Wl,-no_uuid ...
?
I really don't have a clue if it will help though.
Peter
--
Bhavesh P. Davda
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden