Diffs for examples/Embedded
Blake McBride <[email protected]> Sat, 3 Jul 2021 07:31:54 -0500
| Newsgroups | gmane.lisp.scheme.bigloo |
|---|---|
| Message-ID | <CABwHSOtr8feTE6qOr28hMU6_hgZKr9zfAEYrXAefBXZAAg6nDQ@mail.gmail.com> |
Greetings, I had to make the following minor changed in examples/Embedded to get it to work: *** bigloo-latest/examples/Embedded/c_main.c 2021-03-22 12:57:58.000000000 -0500 --- bigloo-latest.good/examples/Embedded/c_main.c 2021-07-03 07:20:41.384738841 -0500 *************** *** 8,13 **** --- 8,15 ---- /* The C main. */ /*=====================================================================*/ + #include <stdio.h> + extern int bigloo_initialize( int, char **, char ** ); /*---------------------------------------------------------------------*/ *** bigloo-latest/examples/Embedded/Makefile 2021-03-22 12:57:58.000000000 -0500 --- bigloo-latest.good/examples/Embedded/Makefile 2021-07-03 07:20:22.980665302 -0500 *************** *** 26,32 **** CFLAGS = -g LNFLAGS = LBIGLOO = `$(BIGLOO) -eval '(begin (print *default-lib-dir*) (exit 0))'` ! LIBFLAGS = -L$(DESTDIR)$(LIBDIR) -lbigloogc-$(RELEASE) -lbigloo_s-$(RELEASE) -lbigloogc-$(RELEASE) $(EXTRALIBS) -lm DEST = embedded --- 26,32 ---- CFLAGS = -g LNFLAGS = LBIGLOO = `$(BIGLOO) -eval '(begin (print *default-lib-dir*) (exit 0))'` ! LIBFLAGS = -L$(DESTDIR)$(LIBDIR)/bigloo/$(RELEASE) -lbigloogc-$(RELEASE) -lbigloo_s-$(RELEASE) -lbigloogc-$(RELEASE) $(EXTRALIBS) -lm DEST = embedded