On Fri, Aug 15, 2008 at 4:20 PM, Peter Gammie <[EMAIL PROTECTED]> wrote:
> Nicola: I had the same problem using the GHC 6.8.2 Debian package.
> Igloo promises me that GHC 6.8.3 fixes this problem, but I haven't
> seen that in the Debian repository yet.
>
GHC 6.8.3 does not have this problem at lea
Nicola: I had the same problem using the GHC 6.8.2 Debian package.
Igloo promises me that GHC 6.8.3 fixes this problem, but I haven't
seen that in the Debian repository yet.
cheers
peter
2008/8/15 Nicola Squartini <[EMAIL PROTECTED]>:
> It works! This is much easier, thank you
>
> Nicola
It works! This is much easier, thank you
Nicola
On Thu, Aug 14, 2008 at 11:30 PM, Agent Zhang <[EMAIL PROTECTED]> wrote:
> 2008/8/15 Nicola Squartini <[EMAIL PROTECTED]>
> >
> > So I run that gcc command manually adding -lpthread at the end of it end
> it works,
> > I get the static binary. Isn
2008/8/15 Nicola Squartini <[EMAIL PROTECTED]>
>
> So I run that gcc command manually adding -lpthread at the end of it end it
> works,
> I get the static binary. Isn't it strange? It could be a gcc problem.
Well, it needn't be that hacky ;) The following command works for me
and it does essenti
Same result.
When I type
$> runhaskell Setup build --verbose=3
I see this
...
gcc -v -o dist/build/lambdaInit/lambdaInit
dist/build/lambdaInit/lambdaInit-tmp/Main.o -static
-L/usr/lib/ghc-6.8.2/lib/hinotify-0.2
-L/usr/lib/ghc-6.8.2/lib/containers-0.1.0.1
-L/home/nicola/ghc//lib/VolumeID-0.1/ghc-
On 2008 Aug 15, at 1:02, Nicola Squartini wrote:
I did the following in my project and this is what I get:
$> runhaskell Setup configure --user --ghc-option="-optl -static"
No space between "-optl" and "-static". The "-pthread" is probably
being misrecognized as a result of the generated
I did the following in my project and this is what I get:
$> runhaskell Setup configure --user --ghc-option="-optl -static"
$> runhaskell Setup build
...
...
/usr/lib/gcc/x86_64-pc-linux-gnu/4.2.1/../../../../lib/librt.a(timer_create.o):
In function `timer_create':
(.text+0x124): undefined refere
tensor5:
>It seems that the -static flag serves a different purpose: according to
>the GHC manual it forces the compiler use the static Haskell libraries,
>but the resulting binary is still dynamically linked to the C libraries.
>What is the correct flag to create a static binary? T
It seems that the -static flag serves a different purpose: according to the
GHC manual it forces the compiler use the static Haskell libraries, but the
resulting binary is still dynamically linked to the C libraries. What is the
correct flag to create a static binary? Thanks
Best Regards
Nicola
__
Jochen L. Leidner wrote:
> sorry for an urgent newbie question: how can I create a statically
> compiled version of a Haskell program on Linux with GHC that does not rely
> on external shared libs (also for any of its libraries it uses)?
Possibly with a great deal of difficulty, depending upon
On 21 May 2004 14:17, Jochen L. Leidner wrote:
> sorry for an urgent newbie question: how can I create a statically
> compiled version of a Haskell program on Linux with GHC that does not
> rely on external shared libs (also for any of its libraries it uses)?
>
> I would like to build a binary th
Hi,
sorry for an urgent newbie question: how can I create a statically
compiled version of a Haskell program on Linux with GHC that does not rely
on external shared libs (also for any of its libraries it uses)?
I would like to build a binary that works on a 3-processor machine with an
older Li
12 matches
Mail list logo