• 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: Is there a way to determine what default options are passed to g++?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a way to determine what default options are passed to g++?


  • Subject: Re: Is there a way to determine what default options are passed to g++?
  • From: Paul Archibald <email@hidden>
  • Date: Fri, 26 May 2006 14:31:21 -0700

I just wrote a lengthy response to Garth, which I will post later.

I wish I knew just what fails with the PPC-built lib, but it is a JNI lib that our Java app is trying to call into, and I don't know how to trace into a JNI from Xcode. Do you know how? My lib loads with Sysytem.loadLibrary(theJNILib), but the first call into it crashes with a signal 11 (SIGSEGV).

On May 26, 2006, at 1:32 PM, Eric Albert wrote:

On May 26, 2006, at 12:30 PM, Paul Archibald wrote:

Does anyone know how to show the default options that are passed to gcc/g++? I am building a universal binary, and I get slightly different output depending on whether I build it on my PPC Powerbook or this IntelMini loaner. I am really close, The Intel build works on the IntelMini and the PPC, but the PPC build only works on the PPC. I want the PPC build to be portable, too.

I think you're trying to solve this in the wrong direction. Rather than looking at compiler options, it'd be good to start by figuring out what's not working in your PPC build when you run it on Intel. That'll help you know where to look to fix the problem.


Hope this helps,
Eric


_______________________________________________ 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
  • Follow-Ups:
    • Re: Is there a way to determine what default options are passed to g++?
      • From: fletcher sandbeck <email@hidden>
References: 
 >Is there a way to determine what default options are passed to g++? (From: Paul Archibald <email@hidden>)
 >Re: Is there a way to determine what default options are passed to g++? (From: Eric Albert <email@hidden>)

  • Prev by Date: Re: Is there a way to determine what default options are passed to g++?
  • Next by Date: Re: Is there a way to determine what default options are passed to g++?
  • Previous by thread: Re: Is there a way to determine what default options are passed to g++?
  • Next by thread: Re: Is there a way to determine what default options are passed to g++?
  • Index(es):
    • Date
    • Thread