argile-questions
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Argile-questions] Building in MinGW


From: argile
Subject: Re: [Argile-questions] Building in MinGW
Date: Fri, 5 Apr 2013 11:36:09 +0200

This error most likely happened because a "make clean"
was issued before calling make, which removed precompiled files.

The argile compiler (arc) is written in argile itself, so it is packaged with
precompiled C sources (compiled from argile sources) so that
it can be compiled when no other argile compiler is already installed.

some_source.arg --(arc)--> some_source.c --(gcc)--> executable_program

Indeed it is not clear yet in the README that "make clean" would render
the source of the compiler uncompilable (unless it is already installed).

So you just need to unpack the sources in a fresh directory, then simply do:
./configure
make

However it will still not compile in MinGW32/MSYS because arc uses
dlopen() function from POSIX API .
With MinGW32, it would need LoadLibrary() from Win32 APIĀ  instead.
(i.e. MinGW32/MSYS/Cygwin not yet supported)




On Sun, Mar 17, 2013 at 11:42 AM, Bruce Axtens <address@hidden> wrote:
Dear Argile

address@hidden ~/argile-1.2.0
$ make
makeĀ  all-recursive
make[1]: Entering directory `/home/BruceAxtens/argile-1.2.0'
Making all in argrt
make[2]: Entering directory `/home/BruceAxtens/argile-1.2.0/argrt'
../tools/arc-make.sh std config dbg math array list hash regex
arc-make.sh: # Checking argile dependencies *
arc-make.sh: ../tools/arc.sh ../backup -uRNMLP -p std.p std.arg
arc.sh: arc -uRNMLP -p std.p std.arg
../tools/arc.sh: line 55: exec: arc: not found
arc-make.sh: # Aborting due to error.
make[2]: *** [arg-deps] Error 1
make[2]: Leaving directory `/home/BruceAxtens/argile-1.2.0/argrt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/BruceAxtens/argile-1.2.0'
make: *** [all] Error 2

The context is Windows7,
$ uname -a
MINGW32_NT-6.1 MERCURY 1.0.17(0.48/3/2) 2011-04-24 23:39 i686 Msys

Kind regards,
Bruce "Bugmagnet" Axtens



--
www.nongnu.org/argile/

reply via email to

[Prev in Thread] Current Thread [Next in Thread]