public inbox for jit@gcc.gnu.org
 help / color / mirror / Atom feed
* [PATCH] jit: compile and link default-jit.o
@ 2023-12-27  0:22 Martin Rodriguez Reboredo
  2023-12-27 16:09 ` Antoni Boucher
  0 siblings, 1 reply; 3+ messages in thread
From: Martin Rodriguez Reboredo @ 2023-12-27  0:22 UTC (permalink / raw)
  To: jit

This is required for rustc_codegen_gcc's AVR target.

2023-11-27  Martin Rodriguez Reboredo  <yakoyoku@gmail.com>

gcc/
        * Makefile.in: Compile and link default-jit.o.

Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
---
 gcc/Makefile.in | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 4c092094343..48198e54c1f 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2328,6 +2328,12 @@ default-d.o: config/default-d.cc
 	$(COMPILE) $<
 	$(POSTCOMPILE)
 
+# Files used by the JIT language front end.
+
+default-jit.o: config/default-jit.cc
+	$(COMPILE) $<
+	$(POSTCOMPILE)
+
 # Language-independent files.
 
 DRIVER_DEFINES = \
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] jit: compile and link default-jit.o
  2023-12-27  0:22 [PATCH] jit: compile and link default-jit.o Martin Rodriguez Reboredo
@ 2023-12-27 16:09 ` Antoni Boucher
  2023-12-27 16:51   ` Martin Rodriguez Reboredo
  0 siblings, 1 reply; 3+ messages in thread
From: Antoni Boucher @ 2023-12-27 16:09 UTC (permalink / raw)
  To: Martin Rodriguez Reboredo, jit

Hi!
Thanks for finding this!

This should probably be added in my original patch since it's not
merged yet: https://gcc.gnu.org/pipermail/jit/2023q4/001696.html

What do you think?

On Tue, 2023-12-26 at 21:22 -0300, Martin Rodriguez Reboredo wrote:
> This is required for rustc_codegen_gcc's AVR target.
> 
> 2023-11-27  Martin Rodriguez Reboredo  <yakoyoku@gmail.com>
> 
> gcc/
>         * Makefile.in: Compile and link default-jit.o.
> 
> Signed-off-by: Martin Rodriguez Reboredo <yakoyoku@gmail.com>
> ---
>  gcc/Makefile.in | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/gcc/Makefile.in b/gcc/Makefile.in
> index 4c092094343..48198e54c1f 100644
> --- a/gcc/Makefile.in
> +++ b/gcc/Makefile.in
> @@ -2328,6 +2328,12 @@ default-d.o: config/default-d.cc
>  	$(COMPILE) $<
>  	$(POSTCOMPILE)
>  
> +# Files used by the JIT language front end.
> +
> +default-jit.o: config/default-jit.cc
> +	$(COMPILE) $<
> +	$(POSTCOMPILE)
> +
>  # Language-independent files.
>  
>  DRIVER_DEFINES = \


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] jit: compile and link default-jit.o
  2023-12-27 16:09 ` Antoni Boucher
@ 2023-12-27 16:51   ` Martin Rodriguez Reboredo
  0 siblings, 0 replies; 3+ messages in thread
From: Martin Rodriguez Reboredo @ 2023-12-27 16:51 UTC (permalink / raw)
  To: Antoni Boucher, jit

On 12/27/23 13:09, Antoni Boucher wrote:
> Hi!
> Thanks for finding this!
> 
> This should probably be added in my original patch since it's not
> merged yet: https://gcc.gnu.org/pipermail/jit/2023q4/001696.html
> 
> What do you think?

Hi!

Please do so and add my Signed-off-by. Relevant to your patch series is
that I have in my fork [1] [2] some functionalities that request the
target name and set relevant mode flags for libgccjit, if you want to
take a look.

> 
> On Tue, 2023-12-26 at 21:22 -0300, Martin Rodriguez Reboredo wrote:
>> This is required for rustc_codegen_gcc's AVR target.
>>
>> [...]

Link: https://github.com/YakoYakoYokuYoku/gcc/tree/avr-jit [1]
Link: https://github.com/antoyo/gcc/compare/master...YakoYakoYokuYoku:gcc:avr-jit [2]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-12-27 16:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-12-27  0:22 [PATCH] jit: compile and link default-jit.o Martin Rodriguez Reboredo
2023-12-27 16:09 ` Antoni Boucher
2023-12-27 16:51   ` Martin Rodriguez Reboredo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).