Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] Creating nativecode apps
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Damien Bobillot <damien.bobillot@m...>
Subject: Re: [Caml-list] Creating nativecode apps

--Apple-Mail-3--157265477
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1;
	delsp=yes;
	format=flowed


Le 22 juil. 05 =E0 06:49, Jonathan Roewen a =E9crit :

> Where could I find information about how the ocamlopt compiler
> generates object files?
>
> I'm almost at a point where DST could retrofit the ocamlopt.opt
> compiler to run on it, and it might be an idea to write some tools in
> ocaml to do things like linking and what not so that we don't need a C
> environment to be self-hosting.

ocamlopt work exactly the same way ocamlc does.

"ocamlopt -c file.ml" to compile one ocaml source (you'll get a =20
file.cmx and a file.o files)

"ocamlopt -o test file.cmx alib.cmxa" to link the executable against =20
the alib library.

--=20
Damien alias Schmurtz
aim:goim?screenname=3Dschmuuurtz


--Apple-Mail-3--157265477
Content-Transfer-Encoding: base64
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Disposition: attachment;
	filename=smime.p7s

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIGIjCCAtsw
ggJEoAMCAQICAw54xzANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UEChMcVGhh
d3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNvbmFsIEZyZWVt
YWlsIElzc3VpbmcgQ0EwHhcNMDUwNDEzMTc1MTAxWhcNMDYwNDEzMTc1MTAxWjBJMR8wHQYDVQQD
ExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSYwJAYJKoZIhvcNAQkBFhdkYW1pZW4uYm9iaWxsb3RA
bTR4Lm9yZzCCASIwDQYJKoZIhvcNA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