From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.66.65.165 with SMTP id y5mr671630pas.43.1425413581754; Tue, 03 Mar 2015 12:13:01 -0800 (PST) X-Received: by 10.140.101.51 with SMTP id t48mr16388qge.10.1425413581491; Tue, 03 Mar 2015 12:13:01 -0800 (PST) Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!mx02.eternal-september.org!feeder.eternal-september.org!news.glorb.com!peer03.iad.highwinds-media.com!news.highwinds-media.com!feed-me.highwinds-media.com!hl2no3582197igb.0!news-out.google.com!c1ni204qar.1!nntp.google.com!j7no10605192qaq.1!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Tue, 3 Mar 2015 12:13:01 -0800 (PST) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=105.236.22.103; posting-account=orbgeAkAAADzWCTlruxuX_Ts4lIq8C5J NNTP-Posting-Host: 105.236.22.103 References: <07330c00-0317-4bb2-8ffb-67bff98dc9eb@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: <509ccc08-d4ec-4915-926b-d43c9747c754@googlegroups.com> Subject: Re: GNAT stm34f4 zfp question. From: jan.de.kruyf@gmail.com Injection-Date: Tue, 03 Mar 2015 20:13:01 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Received-Bytes: 2512 X-Received-Body-CRC: 3054491976 Xref: news.eternal-september.org comp.lang.ada:25098 Date: 2015-03-03T12:13:01-08:00 List-Id: On Tuesday, March 3, 2015 at 7:15:29 PM UTC+2, Patrick Noffke wrote: >=20 > I had a linking issue with the ravenscar-sfp runtime. The linker was fin= ding the wrong libgnat.a or libgnarl.a (not the one from the specific RTS I= was using). Once I specified the fully qualified path to those two librar= ies the linking problems were fixed. >=20 > Here is my final linking command in my own Makefile: >=20 > @$(CC) --RTS=3D$(RTS) $(LD_FLAGS) -Wl,--gc-sections -nostdinc -nodefault= libs -nostartfiles -T$(LINKER_SCRIPT) -L$(RTS_INSTALL_DIR) $(OBJS) $(RTS_IN= STALL_DIR)/libgnat.a $(RTS_INSTALL_DIR)/libgnarl.a -lgcc -o $@ >=20 > where >=20 > LD_FLAGS :=3D -fmessage-length=3D0 -gnatA -mcpu=3Dcortex-m4 -mlittle-endi= an -mfpu=3Dfpv4-sp-d16 -march=3Darmv7e-m -mfloat-abi=3Dhard -mthumb >=20 > (This was for a Cortex-M4 MCU.) >=20 Thank you Patrick, Highly appreciated. I have entertained myself for the last half hour readin= g the ugx manual that came with the package. There is some useful info ther= e also. But I doubt it will resolve all my wishes. In any case I do coding for relaxation now. With some music its really cool= . This adacore business drives me up the wall. Cheers, may the peace be with you. j.