comp.lang.ada
 help / color / mirror / Atom feed
From: Simon Wright <simon@pushface.org>
Subject: Re: How to create a GPR project for ARM Cortex?
Date: Sun, 12 Nov 2017 08:06:04 +0000
Date: 2017-11-12T08:06:04+00:00	[thread overview]
Message-ID: <lyvaifgbv7.fsf@pushface.org> (raw)
In-Reply-To: fa68d5fb-5a63-4254-bfec-088a499eccfd@googlegroups.com

Johan Söderlind Åström <johaa1993@gmail.com> writes:

> "-Tsrc/STM32L072CZEx_FLASH.ld" relative path does not work.
> "-Wl,-Map=build/main.map,--cref" does not work.
> "-Wa,-a,-ad,-alms=""build/main.lst""" does not work.

The linker runs in the Object_Dir, which those paths are not relative
to. You can say e.g.

   "-T" & Project'Project_Dir & "src/STM32L072CZEx_FLASH.ld"

> "-o main.elf" does not work.

Perhaps it does work, but leaves main.elf in the Object_Dir?

  reply	other threads:[~2017-11-12  8:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-11-11 19:18 How to create a GPR project for ARM Cortex? Johan Söderlind Åström
2017-11-11 20:12 ` Simon Wright
2017-11-11 22:05   ` Johan Söderlind Åström
2017-11-12  8:06     ` Simon Wright [this message]
2017-11-12 10:18       ` Johan Söderlind Åström
2017-11-12 11:39         ` Simon Wright
2017-11-12  8:54   ` Simon Wright
2017-11-12 14:29 ` Johan Söderlind Åström
2017-11-13 10:54   ` Simon Wright
2017-11-13 19:08     ` Johan Söderlind Åström
replies disabled

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