• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: xcode-2.4 cctools-622.3 ld and KEXTs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: xcode-2.4 cctools-622.3 ld and KEXTs
      • From: Eric Albert <email@hidden>
References: 
 >xcode-2.4 cctools-622.3 ld and KEXTs (From: "Bhavesh Davda" <email@hidden>)
 >Re: xcode-2.4 cctools-622.3 ld and KEXTs (From: Rick Altherr <email@hidden>)
 >Re: xcode-2.4 cctools-622.3 ld and KEXTs (From: "Bhavesh Davda" <email@hidden>)
 >Re: xcode-2.4 cctools-622.3 ld and KEXTs (From: "Peter O'Gorman" <email@hidden>)

  • Prev by Date: Re: How exactly are we supposed to debug memory problems???
  • Next by Date: Re: XCode/MMX: no automatic EMMS instruction
  • Previous by thread: Re: xcode-2.4 cctools-622.3 ld and KEXTs
  • Next by thread: Re: xcode-2.4 cctools-622.3 ld and KEXTs
  • Index(es):
    • Date
    • Thread