Re: [Gems-users] Add a new class and recompile


Date: Sun, 4 Apr 2010 07:50:19 -0600
From: Dan Gibson <degibson@xxxxxxxx>
Subject: Re: [Gems-users] Add a new class and recompile
Try adding this in Ruby's Makefile:
 
ifndef PROTOCOL                                                                                                                                           
PROTOCOL := MOSI_SMP_bcast                                                                                                                         
endif

Regards,
Dan

On Sun, Apr 4, 2010 at 7:48 AM, Mahmood Naderan <mahmood.nt@xxxxxxxxx> wrote:
Can you explain more? I think I have to explicitly point to bin and
obj files but how?

On 4/4/10, Dan Gibson <degibson@xxxxxxxx> wrote:
> If you only use one protocol, it is trivial to hardcode PROTOCOL and
> DESTINATION in Ruby's Makefile (and/or in Opal's Makefile).
>
> Regards,
> Dan
>
> On Sun, Apr 4, 2010 at 2:12 AM, VLIW <fgtnudt@xxxxxxxxx> wrote:
>
>>
>> yes, every time you change the code ,you have to recompile it.
>>  ------------------
>>  Fu GuiTao
>>
>>
>>
>>  ------------------ Original ------------------
>>  *From: * "Mahmood Naderan"<mahmood.nt@xxxxxxxxx>;
>> *Date: * Sun, Apr 4, 2010 01:22 PM
>> *To: * "Gems Users"<gems-users@xxxxxxxxxxx>;
>>  *Subject: * [Gems-users] Add a new class and recompile
>>
>> Hi,
>> If I change something in the codes and add for example another class,
>> then should I type "make PROTOCOL=MOSI_SMP_bcast
>> DESTINATION=MOSI_SMP_bcast" for ruby and "make
>> DESTINATION=MOSI_SMP_bcast" for opal? It is very time consuming if
>> every time I want to compile my code run those two commands.
>>
>> --
>> // Naderan *Mahmood;
>> _______________________________________________
>> Gems-users mailing list
>> Gems-users@xxxxxxxxxxx
>> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>> Use Google to search the GEMS Users mailing list by adding "site:
>> https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>>
>>
>> _______________________________________________
>> Gems-users mailing list
>> Gems-users@xxxxxxxxxxx
>> https://lists.cs.wisc.edu/mailman/listinfo/gems-users
>> Use Google to search the GEMS Users mailing list by adding "site:
>> https://lists.cs.wisc.edu/archive/gems-users/" to your search.
>>
>>
>>
>
>
> --
> http://www.cs.wisc.edu/~gibson [esc]:wq!
>


--
// Naderan *Mahmood;
_______________________________________________
Gems-users mailing list
Gems-users@xxxxxxxxxxx
https://lists.cs.wisc.edu/mailman/listinfo/gems-users
Use Google to search the GEMS Users mailing list by adding "site:https://lists.cs.wisc.edu/archive/gems-users/" to your search.




--
http://www.cs.wisc.edu/~gibson [esc]:wq!
[← Prev in Thread] Current Thread [Next in Thread→]