[aspectc-user] Puma and Cygwin compilation problems

Ignacio Albors ignacio at dit.upm.es
Tue Sep 5 14:59:52 CEST 2006


Hi Olaf,

Thanks for your answer.

I've tried minGW instead of Cygwin and it finally works.

But using your command in Cygwin gives the same result as before.

 From now on everything is related to Cygwin.

I've taken a look to the Makefile (Puma/src/Makefile) and executed the 
command manually:

-----------------------

$ /usr/local/src/ac-bin-win32-1.0pre3/ac/ag++.exe --gen_config 
--c_compiler g++
  -o /usr/local/src/ac-1.0pre3/Puma/gen-release/puma.cfg
error: Could not create /usr/local/src/ac-1.0pre3/Puma/gen-release/puma.cfg

-------------------------

But if i use Windows' style absolute path, the file is created:

---------------------------

$ /usr/local/src/ac-bin-win32-1.0pre3/ac/ag++.exe --gen_config 
--c_compiler g++
  -o C:\\cygwin\\usr\\local\\src\\ac-1.0pre3\\Puma\\gen-release\\puma.cfg

----------------------------

Hope it helps.

Thank you again.

Best regards,

Ignacio


Olaf Spinczyk wrote:
> Hi Ignacio,
> 
> we usually cross-compile the windows version on linux. Therefore the 
> default value for the target platform is "linux-release".
> 
> Try it with ...
> 
> make TARGET=win32-release AC=<your path to ac++>/ac++
> 
> (note that AC points to .../ac++ and not .../ag++!)
> 
> Best regards,
> 
> Olaf
> 
> Ignacio Albors wrote:
>> Hello everybody,
>>
>> I'm trying to compile Puma on a Cygwin environment (Windows XP). I'm 
>> using ac-1.0pre3.tar.gz package. I've also downloaded the 
>> ac-bin-win32-1.0pre3.zip package and export the AC variable to point 
>> to the precompiled ag++ binary.
>>
>> This is the output of the make command:
>>
>> ----------------------
>>
>> $ make
>>
>> ---
>> Making PUMA for TARGET=linux-release
>> ---
>>
>> Making tools...
>> Making library...
>> Creating config file...
>> error: Could not create 
>> /usr/local/src/ac-1.0pre3/Puma/gen-release/puma.cfg
>> make[1]: *** [config] Error 1
>> make: *** [src] Error 2
>>
>> -------------------------
>>
>>
>> It seems that is some kind of issue regarding Unix/Windows paths, but 
>> I don't know how could I solve it.
>>
>> Thanks in advance.
>>
>>
>> _______________________________________________
>> aspectc-user mailing list
>> aspectc-user at aspectc.org
>> http://www.aspectc.org/mailman/listinfo/aspectc-user




More information about the aspectc-user mailing list