On 17 February 2005 20:24, Georg Martius wrote:
> 2. Stub files (@Simon)
> The problem I ran into was that the FILE_stub.o files are not placed
> at the correct(?) directory according to the position of FILE in the
> hierarchical library.
> Example:
> ghc -c wxcore/src/Graphics/UI/WXCore/Events.
The original code in the makefile.lib replaced
(basename input.hs) with (basename output.o)
and
*.hi with *.o
which is a quite weird approach to the problem. I'am not sure but I
think the new approach is better:
let the .o files be correct through the -odir flag
replace (dir input
Georg Martius wrote:
Hi,
Patrick and I found some answers to the questions/problems we encountered.
Finally got the thing to work. (patches appended)
Great!
I have a possible fix:
add -odir out/... to the call of ghc -M. This produces correct paths
for the .o files.
Ok, this makes sense and, i
Hi folks,
thanks to Simon for enlighten me about the correct functionality of -odir and
-hidir.
Now, we use -odir and -hidir for compilation as well as for dependency file
generation. It seems to be a much better approach than before. However I ran
into 2 problems again:
1. The cross-dependencie
On Thu, 17 Feb 2005 16:36:48 -, Simon Marlow <[EMAIL PROTECTED]> wrote:
On 17 February 2005 14:54, Daan Leijen wrote:
A more general question: We doesn't -ohi dir/filename.hi is not
reflected in the dependencies.
I tried:
ghc -M -odir out -ohi out/A.hi A.hs
but nothing changed.
Simon??
This is
On 17 February 2005 16:25, Georg Martius wrote:
> Another bug in ghc!
>> /usr/bin/ghc -M wxcore/src/Graphics/UI/WXCore/WxcClassTypes.hs \
>> -iout/wxcore/imports -Iwxc/include -iwxcore/src \
>> -odir out/wxcore/imports/Graphics/UI/WXCore/ produces (among
>> others):
>>
out/wxcore/imports/Grap
On 17 February 2005 14:54, Daan Leijen wrote:
>> A more general question: We doesn't -ohi dir/filename.hi is not
>> reflected in the dependencies.
>> I tried:
>>
>>> ghc -M -odir out -ohi out/A.hi A.hs
>>
>> but nothing changed.
>
> Simon??
This is because ghc -M works like --make, in that it
On 17 February 2005 13:48, Daan Leijen wrote:
> Secondly, maybe ghc should not generate the spurious extra rules?
> (and generate exactly what it generated at version 6.2.2). What do
> you think Simon?
ghc -M now works like --make and GHCi: it follows dependencies. In
fact, it's using the same c
Hi again,
Fuck! The problem is different indeed!
As Patrick pointed out earlier, the problem with the import-paths is the -M
run, not the normal compilation run.
/usr/bin/ghc -M wxcore/src/Graphics/UI/WXCore/WxcClassTypes.hs \
-iout/wxcore/imports -Iwxc/include
works fine with ghc-6.2, but ghc-
On Thu, 17 Feb 2005 14:48:11 +0100, Daan Leijen <[EMAIL PROTECTED]> wrote:
Georg Martius wrote:
Hi,
Patrick and I found some answers to the questions/problems we encountered.
Finally got the thing to work. (patches appended)
Great!
I have a possible fix:
add -odir out/... to the call of ghc -M.
Hi,
Patrick and I found some answers to the questions/problems we encountered.
Finally got the thing to work. (patches appended)
Versions: ghc-6.4.20050215
wxHaskell-0.8.
1. dep-files
the new ghc produces a different dependency file. It includes also dependencies for imported modules. i
Grab the STABLE snapshot after tonight's build, or get it directly from
CVS (checkout the tag ghc-6-4-branch).
Cheers,
Simon
On 15 February 2005 13:05, Patrick Scheibe wrote:
> Hi Simon,
>
> thank you for having a look at this. I will test it and I hope can
> compile wxHaskell tonight.
Hi Simon,
thank you for having a look at this. I will test it and I hope can compile
wxHaskell tonight.
Where is the fixed version of the ghc? Is it one of the stable night releases
or should I make a update of the developer cvs tree of ghc??
Cheers
Patrick
On Tuesday 15 February 2005 12:25,
Thanks this looks like a bug that was introduced recently. Now fixed.
Cheers,
Simon
On 08 February 2005 11:43, Patrick Scheibe wrote:
> Hi,
>
>>
>> Could you tell us what command line was supposed to generate the
>> Map.d.in or Map.d file? It may be a bug, there were a few changes
>>
Hi,
>
> Could you tell us what command line was supposed to generate the
> Map.d.in or Map.d file? It may be a bug, there were a few changes in
> the driver recently.
>
> Cheers,
> Simon
I hope I can help you. It would be better Daan would have a look, because it
is his code and he knows
On 07 February 2005 19:28, Patrick Scheibe wrote:
> It seems that there are changes in the OpenGl library during the last
> month. So I decided to load a really young cvs version of the ghc
> (ghc-6.5.20050206-src.tar.bz2). The compilation works fine.
>
> My Problem is, that I also need the wxHas
16 matches
Mail list logo