Re: problemslinking Zlib

2019-07-10 Thread Chris Johns
On 11/7/19 4:53 pm, Sebastian Huber wrote: > On 11/07/2019 08:45, Chris Johns wrote: >> On 11/7/19 4:39 pm, Sebastian Huber wrote: >>> >>> I sent a GCC patch doing this a couple of year ago and it was rejected. The >>> alternative was to add a separate libjffs2.a. >>> >> >> I could not find anythin

Re: problemslinking Zlib

2019-07-10 Thread Sebastian Huber
On 11/07/2019 08:45, Chris Johns wrote: On 11/7/19 4:39 pm, Sebastian Huber wrote: I sent a GCC patch doing this a couple of year ago and it was rejected. The alternative was to add a separate libjffs2.a. I could not find anything about this with google to see why. https://lists.rtems.org/

Re: problemslinking Zlib

2019-07-10 Thread Chris Johns
On 11/7/19 4:39 pm, Sebastian Huber wrote: > > I sent a GCC patch doing this a couple of year ago and it was rejected. The > alternative was to add a separate libjffs2.a. > I could not find anything about this with google to see why. Chris ___ devel m

Re: problemslinking Zlib

2019-07-10 Thread Sebastian Huber
On 11/07/2019 02:12, Chris Johns wrote: On 11/7/19 2:20 am, Sebastian Huber wrote: - Am 10. Jul 2019 um 15:14 schrieb joelj...@rtems.org: On Wed, Jul 10, 2019 at 6:39 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: On 10/07/2019 13:33, Nils Hölscher wrote: I am currently

Re: problemslinking Zlib

2019-07-10 Thread Chris Johns
On 11/7/19 2:20 am, Sebastian Huber wrote: > - Am 10. Jul 2019 um 15:14 schrieb joel j...@rtems.org: > >> On Wed, Jul 10, 2019 at 6:39 AM Sebastian Huber < >> sebastian.hu...@embedded-brains.de> wrote: >> >>> On 10/07/2019 13:33, Nils Hölscher wrote: I am currently trying to add the fdt-s

Re: problemslinking Zlib

2019-07-10 Thread Sebastian Huber
- Am 10. Jul 2019 um 15:14 schrieb joel j...@rtems.org: > On Wed, Jul 10, 2019 at 6:39 AM Sebastian Huber < > sebastian.hu...@embedded-brains.de> wrote: > >> On 10/07/2019 13:33, Nils Hölscher wrote: >> > I am currently trying to add the fdt-shell commands to my application >> > but rtems zli

Re: problemslinking Zlib

2019-07-10 Thread Joel Sherrill
On Wed, Jul 10, 2019 at 6:39 AM Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 10/07/2019 13:33, Nils Hölscher wrote: > > I am currently trying to add the fdt-shell commands to my application > > but rtems zlib won't link with -lz added to gcc. > > The short answer is that you h

Re: problemslinking Zlib

2019-07-10 Thread Nils Hölscher
Thanks this concluded my problem. On Wed, 10 Jul 2019 at 13:39, Sebastian Huber < sebastian.hu...@embedded-brains.de> wrote: > On 10/07/2019 13:33, Nils Hölscher wrote: > > I am currently trying to add the fdt-shell commands to my application > > but rtems zlib won't link with -lz added to gcc. >

Re: problemslinking Zlib

2019-07-10 Thread Sebastian Huber
On 10/07/2019 13:33, Nils Hölscher wrote: I am currently trying to add the fdt-shell commands to my application but rtems zlib won't link with -lz added to gcc. The short answer is that you have to use "-lrtemscpu -lz" on the command line. -- Sebastian Huber, embedded brains GmbH Address :