comp.lang.ada
 help / color / mirror / Atom feed
From: jan.de.kruyf@gmail.com
Subject: Re: GNAT stm34f4 zfp question.
Date: Tue, 3 Mar 2015 12:13:01 -0800 (PST)
Date: 2015-03-03T12:13:01-08:00	[thread overview]
Message-ID: <509ccc08-d4ec-4915-926b-d43c9747c754@googlegroups.com> (raw)
In-Reply-To: <ddbbaec2-3072-4e96-9eb9-547acecbda64@googlegroups.com>

On Tuesday, March 3, 2015 at 7:15:29 PM UTC+2, Patrick Noffke wrote:

> 
> I had a linking issue with the ravenscar-sfp runtime.  The linker was finding 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 libraries the linking problems were fixed.
> 
> Here is my final linking command in my own Makefile:
> 
> 	@$(CC) --RTS=$(RTS) $(LD_FLAGS) -Wl,--gc-sections -nostdinc -nodefaultlibs -nostartfiles -T$(LINKER_SCRIPT) -L$(RTS_INSTALL_DIR) $(OBJS) $(RTS_INSTALL_DIR)/libgnat.a $(RTS_INSTALL_DIR)/libgnarl.a -lgcc -o $@
> 
> where
> 
> LD_FLAGS := -fmessage-length=0 -gnatA -mcpu=cortex-m4 -mlittle-endian -mfpu=fpv4-sp-d16 -march=armv7e-m -mfloat-abi=hard -mthumb
> 
> (This was for a Cortex-M4 MCU.)
> 

Thank you Patrick,
Highly appreciated. I have entertained myself for the last half hour reading the ugx manual that came with the package. There is some useful info there 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.

  reply	other threads:[~2015-03-03 20:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-03  7:45 GNAT stm34f4 zfp question jan.de.kruyf
2015-03-03  9:20 ` jan.de.kruyf
2015-03-03 17:15   ` Patrick Noffke
2015-03-03 20:13     ` jan.de.kruyf [this message]
2015-03-04 15:22     ` jan.de.kruyf
2015-03-04 18:28       ` Simon Wright
2015-03-04 20:03         ` jan.de.kruyf
2015-03-18 17:58         ` Simon Wright
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox