From: "Nasser M. Abbasi" <nma@12000.org>
Subject: Re: Some questions on packaging Ada code
Date: Wed, 09 Mar 2011 02:44:41 -0800
Date: 2011-03-09T02:44:41-08:00 [thread overview]
Message-ID: <il7lmt$j6u$1@speranza.aioe.org> (raw)
In-Reply-To: slrninelse.66u.localhost@example.org
On 3/9/2011 2:33 AM, localhost@example.org wrote:
>
> I realize that which is why I asked can I generate a standalone Windows
> executable from Linux easily enough or should I build the source on
> Windows. I don't know what steps are involved in cross compiling or if its a
> good idea.
Lets back up a little here to make sure all is clear:
(1) I thought you just wanted to build a Linux executable on Linux.
(2) If you wanted to build a windows executable on Linux, then that is
a different matter.
I was answering based on (1) not (2).
To link to a static library instead of a shared one, I normally
just link to the .a version of the library instead of the .so
version. This is a general statement, there might be specific
things you need to do relating to compiler options and such
depending on which compiler you are using.
If you want to build a windows static executable, then I would do
everything on windows not on Linux. Why make life harder than
it needs to.
--Nasser
next prev parent reply other threads:[~2011-03-09 10:44 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-03-08 18:14 Some questions on packaging Ada code localhost
2011-03-08 20:53 ` Nasser M. Abbasi
2011-03-09 10:32 ` localhost
2011-03-09 0:19 ` R Tyler Croy
2011-03-09 10:33 ` localhost
2011-03-09 10:44 ` Nasser M. Abbasi [this message]
2011-03-09 11:29 ` localhost
2011-03-09 11:22 ` Ludovic Brenta
2011-03-09 11:36 ` localhost
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox