• 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: -init flag in a converted project
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -init flag in a converted project


  • Subject: Re: -init flag in a converted project
  • From: "Peter O'Gorman" <email@hidden>
  • Date: Wed, 29 Jun 2005 23:50:06 +0900

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

msi wrote:
| During build i get the linker warnings:
|
| /usr/bin/ld: warning flag: -init _MyInitRoutine ignored (-dylib was  not
| specified
| /usr/bin/ld: warning specified initialization routine symbol name
| ignored, output file type has no initialization routine
|
|
| Did the way to specify a init routine change with version 2? What did  i
| miss?
|

try using __attribute__((constructor)) which should get the init routine
called, however it seems like it is worth a bug report. There is no reason
for -init not to work with bundles, in my opinion.

Peter
- --
Peter O'Gorman - http://www.pogma.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (Darwin)

iQCVAwUBQsK1HriDAg3OZTLPAQKBVAP/Z4Yxhfm1dSoEtNrzff37SgrflssggBOo
zk/tJcj4q3//pAFl80iFHeCMj0VJHgtPmvAEiVPtc9oH+2oOvnKw6OYQ6Jp/sY4y
PwSPikh6WtEweua4n+ZHTUAzASZj8kypfjzvfP5z6Kow6O28UuFYggEhOP9mIcj3
mjss+wxP6NU=
=19Jk
-----END PGP SIGNATURE-----
_______________________________________________
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


References: 
 >-init flag in a converted project (From: msi <email@hidden>)

  • Prev by Date: Kevin Lou/Toronto/IBM is out of the office.
  • Next by Date: Xcode 2.1 ignores cached precompiled header
  • Previous by thread: -init flag in a converted project
  • Next by thread: [OT] Using ObjectAlloc or MallocDebug on a Dashboard widget
  • Index(es):
    • Date
    • Thread