caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* [Caml-list]
@ 2013-11-05 16:14 Zhi Han
  2013-11-05 16:37 ` Eric Cooper
  0 siblings, 1 reply; 2+ messages in thread
From: Zhi Han @ 2013-11-05 16:14 UTC (permalink / raw)
  To: caml-list

[-- Attachment #1: Type: text/plain, Size: 515 bytes --]

Hi,

I am helping managing ocaml in my company. We have encountered difficulties
while upgrading to Debian 7. We are using different versions of gcc. And it
seems that ocaml has written a hard-coded path to gcc while building
itself. And this path is burned in: every time the installed ocaml tries to
compile and link it will use this path.

My question is, is there a way to avoid burning in this path and explicitly
pass the path to gcc while using the compiler?

Thanks for your reply.

---------------
Zhi Han

[-- Attachment #2: Type: text/html, Size: 630 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re:[Caml-list]
  2013-11-05 16:14 [Caml-list] Zhi Han
@ 2013-11-05 16:37 ` Eric Cooper
  0 siblings, 0 replies; 2+ messages in thread
From: Eric Cooper @ 2013-11-05 16:37 UTC (permalink / raw)
  To: caml-list

On Tue, Nov 05, 2013 at 11:14:09AM -0500, Zhi Han wrote:
> My question is, is there a way to avoid burning in this path and explicitly pass
> the path to gcc while using the compiler?

Look at the "-cc" option in the ocamlopt manpage.

-- 
Eric Cooper             e c c @ c m u . e d u

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2013-11-05 16:37 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2013-11-05 16:14 [Caml-list] Zhi Han
2013-11-05 16:37 ` Eric Cooper

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).