Re: -init flag in a converted project
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