| Newsgroups |
gmane.comp.gnu.mingw.user,gmane.comp.gnu.mingw.msys |
| Message-ID |
<[email protected]> |
This is a multi-part message in MIME format.
--===============4313988345841717686==
Content-Type: multipart/alternative;
boundary="----=_001_NextPart576820713301_=----"
This is a multi-part message in MIME format.
------=_001_NextPart576820713301_=----
Content-Type: text/plain;
charset="us-ascii"
Content-Transfer-Encoding: base64
SGVsbG8sIGV2ZXJ5Ym9keSA6DQoNCiAgICAgICAgaSBjb21waWxlIGEgZXhlIGZpbGUsIGkgd2Fu
dCB0byBleHBvcnQgc29tZSBmdW5jdGlvbnMuDQoNCiAgICAgICAgdGhlIGNvZGUgaXMgOg0KDQoj
ZGVmaW5lIExJQklNT0JJTEVERVZJQ0VfQVBJIF9fZGVjbHNwZWMoIGRsbGV4cG9ydCApDQoNCkxJ
QklNT0JJTEVERVZJQ0VfQVBJIHZvaWQgcHJpbnRfdXNhZ2UoaW50IGFyZ2MsIGNoYXIgKiphcmd2
KQ0Kew0KY2hhciAqbmFtZSA9IE5VTEw7DQoNCm5hbWUgPSBzdHJyY2hyKGFyZ3ZbMF0sICcvJyk7
DQpwcmludGYoIlVzYWdlOiAlcyBbT1BUSU9OU10gW1VESURdXG4iLCAobmFtZSA/IG5hbWUgKyAx
OiBhcmd2WzBdKSk7DQpwcmludGYoIlByaW50cyBkZXZpY2UgbmFtZSBvciBhIGxpc3Qgb2YgYXR0
YWNoZWQgZGV2aWNlcy5cblxuIik7DQpwcmludGYoIiAgVGhlIFVESUQgaXMgYSA0MC1kaWdpdCBo
ZXhhZGVjaW1hbCBudW1iZXIgb2YgdGhlIGRldmljZVxuIik7DQpwcmludGYoIiAgZm9yIHdoaWNo
IHRoZSBuYW1lIHNob3VsZCBiZSByZXRyaWV2ZWQuXG5cbiIpOw0KcHJpbnRmKCIgIC1sLCAtLWxp
c3RcdFx0bGlzdCBVRElEIG9mIGFsbCBhdHRhY2hlZCBkZXZpY2VzXG4iKTsNCnByaW50ZigiICAt
ZCwgLS1kZWJ1Z1x0XHRlbmFibGUgY29tbXVuaWNhdGlvbiBkZWJ1Z2dpbmdcbiIpOw0KcHJpbnRm
KCIgIC1oLCAtLWhlbHBcdFx0cHJpbnRzIHVzYWdlIGluZm9ybWF0aW9uXG4iKTsNCnByaW50Zigi
XG4iKTsNCnByaW50ZigiSG9tZXBhZ2U6IDxodHRwOi8vbGliaW1vYmlsZWRldmljZS5vcmc+XG4i
KTsNCn0NCg0KICAgICAgICBpIHJ1biBtYWtlIGNvbW1hbmQsIHRoZSBleGUgZmlsZSBleHBvcnQg
bm90aGluZy4NCg0KICAgICAgICBpIHdyaXRlIGEgc2ltcGxlIGNvZGUsIHVzaW5nIF9fZGVjbHNw
ZWMoIGRsbGV4cG9ydCApLCB0aGVuIHJ1biBnY2MsIHRoZSBleGUgaGF2ZSBleHBvcnQgZnVuY3Rp
b24uDQoNCiAgICAgICAgaSB3YW50IHRvIGtub3cgaG93IHRvIGV4cG9ydCBmdW5jdGlvbnMgdXNp
bmcgbWFrZWZpbGUgLg0KDQogICAgICAgIFRoYW5rIHlvdSAhDQoNCiAgICAgICAgDQoNCg0KDQoN
CkJlc3QgUmVnYXJkcw0KDQpKYWNraWUgSmkNCg0KRW1haWwgICAgIDogU2VydmljZUBBbmdyeU1h
aWxlci5jb20NCldlYnNpdGU6IGh0dHA6Ly93d3cuQW5ncnlNYWlsZXIuY29tDQo=
------=_001_NextPart576820713301_=----
Content-Type: text/html;
charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html><head><meta http-equiv=3D"content-type" content=3D"text/html; charse=
t=3Dus-ascii"><style>body { line-height: 1.5; }body { font-size: 10.5pt; f=
ont-family: ????; color: rgb(0, 0, 0); line-height: 1.5; }</style></head><=
body>=0A<div><span></span>Hello, everybody :</div><div><br></div><div>&nbs=
p; i compile a exe file, i want to export some functi=
ons.</div><div><br></div><div> the code is :</d=
iv><div><br></div><div><span style=3D"background-color: rgba(0, 0, 0, 0); =
font-size: 10.5pt; line-height: 1.5;">#define LIBIMOBILEDEVICE_API&nb=
sp;__declspec( dllexport )</span></div><div><span style=3D"backg=
round-color: rgba(0, 0, 0, 0); font-size: 10.5pt; line-height: 1.5;"><br><=
/span></div><div><span style=3D"background-color: rgba(0, 0, 0, 0); font-s=
ize: 10.5pt; line-height: 1.5;">LIBIMOBILEDEVICE_API void print_=
usage(int argc, char **argv)</span></div><span style=3D"col=
or: rgb(0, 0, 0); background-color: rgba(0, 0, 0, 0);">{<br><span style=3D=
"white-space: pre;"> </span>char *name =3D NULL;<br><br><sp=
an style=3D"white-space: pre;"> </span>name =3D strrchr(argv[0],=
'/');<br><span style=3D"white-space: pre;"> </span>printf("Usage:&nb=
sp;%s [OPTIONS] [UDID]\n", (name ? name +&nb=
sp;1: argv[0]));<br><span style=3D"white-space: pre;"> </span>printf(=
"Prints device name or a list of attach=
ed devices.\n\n");<br><span style=3D"white-space: pre;"> </span>print=
f(" The UDID is a 40-digit hexadecimal=
number of the device\n");<br><span style=3D"white-spa=
ce: pre;"> </span>printf(" for which the name&nb=
sp;should be retrieved.\n\n");<br><span style=3D"white-space: pr=
e;"> </span>printf(" -l, --list\t\tlist UDID of&=
nbsp;all attached devices\n");<br><span style=3D"white-space: pr=
e;"> </span>printf(" -d, --debug\t\tenable communicat=
ion debugging\n");<br><span style=3D"white-space: pre;"> </span>print=
f(" -h, --help\t\tprints usage information\n");<=
br><span style=3D"white-space: pre;"> </span>printf("\n");<br><span style=
=3D"white-space: pre;"> </span>printf("Homepage: <http://libimobil=
edevice.org>\n");<br>}</span><div><br></div><div> &=
nbsp; i run make command, the exe file export nothing.</div><div><br></div=
><div> i write a simple code, using <span =
style=3D"font-size: 10.5pt; line-height: 1.5; background-color: window;">_=
_declspec( dllexport ), then run gcc, the exe have export functi=
on.</span></div><div><span style=3D"font-size: 10.5pt; line-height: 1.5; b=
ackground-color: window;"><br></span></div><div><span style=3D"font-size: =
10.5pt; line-height: 1.5; background-color: window;"> =
i want to know how to export functions using makefile .</span></div=
><div><span style=3D"font-size: 10.5pt; line-height: 1.5; background-color=
: window;"><br></span></div><div><span style=3D"font-size: 10.5pt; line-he=
ight: 1.5; background-color: window;"> Thank yo=
u !</span></div><div><span style=3D"font-size: 10.5pt; line-height: 1.5; b=
ackground-color: window;"><br></span></div><div><span style=3D"font-size: =
10.5pt; line-height: 1.5; background-color: window;"> =
</span></div><div><br>=0A<div><br></div><hr style=3D"width: 21=
0px; height: 1px;" color=3D"#b5c4df" size=3D"1" align=3D"left">=0A<div><sp=
an><div style=3D"MARGIN: 10px; FONT-FAMILY: verdana; FONT-SIZE: 10pt"><div=
style=3D"line-height: 1.5; color: rgb(144, 144, 144); font-family: 'Arial=
Narrow'; font-size: 12px;"><span style=3D"line-height: 1.5; font-family: =
Verdana; font-size: 14px; color: rgb(0, 0, 0); background-color: window;">=
Best Regards</span></div><div style=3D"line-height: 21px; font-family: Ver=
dana; font-size: 14px;"><div><br></div><div><font color=3D"#ff0000" style=
=3D"line-height: 1.5;"><b>Jackie Ji</b></font></div><div><br></div><div>Em=
ail : <a href=3D"mailto:[email protected]">Servic=
[email protected]</a></div><div>Website: <a href=3D"http://www.angrym=
ailer.com/">http://www.AngryMailer.com</a></div></div></div></span></div>=
=0A</div></body></html>
------=_001_NextPart576820713301_=------
--===============4313988345841717686==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
--===============4313988345841717686==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
MinGW-users mailing list
[email protected]
This list observes the Etiquette found at
http://www.mingw.org/Mailing_Lists.
We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated.
_______________________________________________
You may change your MinGW Account Options or unsubscribe at:
https://lists.sourceforge.net/lists/listinfo/mingw-users
Also: mailto:mingw-users-request-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org?subject=unsubscribe
--===============4313988345841717686==--