Debian APT Repository

Alin Rus alin.codejunkie at gmail.com
Wed May 12 19:50:53 UTC 2010


On Wed, May 12, 2010 at 10:34 PM, Kim George <kim.george83 at yahoo.com> wrote:
> Aren't the official debian packages only compiled for direct development,
> don't you guys custom build gcc configured for cross compilation?
>
> ________________________________
> From: "rtems-users-request at rtems.org" <rtems-users-request at rtems.org>
> To: rtems-users at rtems.org
> Sent: Wed, May 12, 2010 3:08:46 PM
> Subject: rtems-users Digest, Vol 44, Issue 15
>
> Send rtems-users mailing list submissions to
>     rtems-users at rtems.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>     http://www.rtems.org/mailman/listinfo/rtems-users
> or, via email, send a message with subject or body 'help' to
>     rtems-users-request at rtems.org
>
> You can reach the person managing the list at
>     rtems-users-owner at rtems.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of rtems-users digest..."
>
>
> Today's Topics:
>
>   1. Debian APT Repository (Kim George)
>   2. Re: Debian APT Repository (Alin Rus)
>   3. Ann: RTEMS open class in Munich/Germany (Thomas Doerfler (nt))
>   4. Re: Debian APT Repository (Alin Rus)
>   5. Re: Debian APT Repository (Joel Sherrill)
>   6. Re: Debian APT Repository (Kim George)
>   7. Re: Debian APT Repository (Joel Sherrill)
>   8. Re: Debian APT Repository (Alin Rus)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Wed, 12 May 2010 10:19:14 -0700 (PDT)
> From: Kim George <kim.george83 at yahoo.com>
> To: RTEMS Users Group <rtems-users at rtems.org>
> Subject: Debian APT Repository
> Message-ID: <487252.30844.qm at web46407.mail.sp1.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> Hi,
>
> I'm interested in setting up the Debian package APT repository and updating
> the wiki with details of Debian based installation of development tools.
>
> >From reading the website it sounds like there's already .deb packages that
> have been created by one of the GSoC people. Can anyone point me towards
> where these are so I can set up the repository.
>
> Cheers,
>
> Kim George
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://www.rtems.org/pipermail/rtems-users/attachments/20100512/db4ad6f0/attachment.htm>
>
> ------------------------------
>
> Message: 2
> Date: Wed, 12 May 2010 20:26:24 +0300
> From: Alin Rus <alin.codejunkie at gmail.com>
> To: Kim George <kim.george83 at yahoo.com>
> Cc: RTEMS Users Group <rtems-users at rtems.org>
> Subject: Re: Debian APT Repository
> Message-ID:
>     <AANLkTin4Waqf4u-cKiYWxSea4Z7G7XD_fMwpaNqsEkN3 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, May 12, 2010 at 8:19 PM, Kim George <kim.george83 at yahoo.com> wrote:
>> Hi,
>> I'm interested in setting up the Debian package APT repository and
>> updating
>> the wiki with details of Debian based installation of development tools.
>> From reading the website it sounds like there's already .deb packages that
>> have been created by one of the GSoC people. Can anyone point me towards
>> where these are so I can set up the repository.
>> Cheers,
>> Kim George
>> _______________________________________________
>> rtems-users mailing list
>> rtems-users at rtems.org
>> http://www.rtems.org/mailman/listinfo/rtems-users
>>
>>
>
> http://epics.nsls2.bnl.gov/debian/
>
>
> ------------------------------
>
> Message: 3
> Date: Wed, 12 May 2010 19:50:05 +0200
> From: "Thomas Doerfler (nt)" <Thomas.Doerfler at imd-systems.de>
> To: RTEMS Users <rtems-users at rtems.com>
> Subject: Ann: RTEMS open class in Munich/Germany
> Message-ID: <4BEAEA4D.8070406 at imd-systems.de>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hello,
>
> due to several requests, we are currently planning another open RTEMS
> class in Munich/Germany to start on
>
>         July 5-8 2010.
>
> Maybe you or some of your colleagues like to join in? See our updated
> website
>
> http://www.embedded-brains.de/index.php?id=rtems_class&L=1
>
> for more details.
>
> The closing date for registrations is June 10 2009. Please note that the
> number of seats is limited and can only be booked on a first come, first
> serve base.
>
> Please use the website form or send us an email if you and/or your
> colleagues are interested to attend, so we can reserve seats for you.
>
> wkr,
>
> Thomas Doerfler.
> --
> --------------------------------------------
> embedded brains GmbH
> Thomas Doerfler          Obere Lagerstr. 30
> D-82178 Puchheim          Germany
> Tel. : +49-89-18 90 80 79-2
> Fax  : +49-89-18 90 80 79-9
> email: Thomas.Doerfler at embedded-brains.de
> PGP public key available on request
>
>
> ------------------------------
>
> Message: 4
> Date: Wed, 12 May 2010 20:51:12 +0300
> From: Alin Rus <alin.codejunkie at gmail.com>
> To: Kim George <kim.george83 at yahoo.com>
> Cc: RTEMS Users Group <rtems-users at rtems.org>
> Subject: Re: Debian APT Repository
> Message-ID:
>     <AANLkTimMKCYgf_cnohXCPMtvzDQ2wcvvzwuXKpJ0mJR1 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, May 12, 2010 at 8:26 PM, Alin Rus <alin.codejunkie at gmail.com> wrote:
>> On Wed, May 12, 2010 at 8:19 PM, Kim George <kim.george83 at yahoo.com>
>> wrote:
>>> Hi,
>>> I'm interested in setting up the Debian package APT repository and
>>> updating
>>> the wiki with details of Debian based installation of development tools.
>>> From reading the website it sounds like there's already .deb packages
>>> that
>>> have been created by one of the GSoC people. Can anyone point me towards
>>> where these are so I can set up the repository.
>>> Cheers,
>>> Kim George
>>> _______________________________________________
>>> rtems-users mailing list
>>> rtems-users at rtems.org
>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>
>>>
>>
>> http://epics.nsls2.bnl.gov/debian/
>>
>
> Ok, just found out that there was a gsoc project, does anyone know if
> it's still maintained?
>
> http://code.google.com/p/rtems-debian-pkg/
>
>
>
> --
> Alin Rus
>
>
> ------------------------------
>
> Message: 5
> Date: Wed, 12 May 2010 12:54:10 -0500
> From: Joel Sherrill <joel.sherrill at OARcorp.com>
> To: Alin Rus <alin.codejunkie at gmail.com>
> Cc: RTEMS Users Group <rtems-users at rtems.org>,    Kim George
>     <kim.george83 at yahoo.com>
> Subject: Re: Debian APT Repository
> Message-ID: <4BEAEB42.6010409 at oarcorp.com>
> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
>
> On 05/12/2010 12:51 PM, Alin Rus wrote:
>> On Wed, May 12, 2010 at 8:26 PM, Alin Rus<alin.codejunkie at gmail.com>
>> wrote:
>>
>>> On Wed, May 12, 2010 at 8:19 PM, Kim George<kim.george83 at yahoo.com>
>>> wrote:
>>>
>>>> Hi,
>>>> I'm interested in setting up the Debian package APT repository and
>>>> updating
>>>> the wiki with details of Debian based installation of development tools.
>>>>  From reading the website it sounds like there's already .deb packages
>>>> that
>>>> have been created by one of the GSoC people. Can anyone point me towards
>>>> where these are so I can set up the repository.
>>>> Cheers,
>>>> Kim George
>>>> _______________________________________________
>>>> rtems-users mailing list
>>>> rtems-users at rtems.org
>>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>>
>>>>
>>>>
>>> http://epics.nsls2.bnl.gov/debian/
>>>
>>>
>> Ok, just found out that there was a gsoc project, does anyone know if
>> it's still maintained?
>>
>> http://code.google.com/p/rtems-debian-pkg/
>>
>>
>>
> No.  We wanted to merge it and support it but the student's
> approach required the maintenance of 100s of files.  The
> RPM specs are generated by autoconf, Makefile's, sed, etc
> from fragments and are easier to maintain.
>
> If deb packaging can be generated in a similar manner to
> the rpm specs in rtems/contrib/crossrpms, then we would
> love to see this merged.
>
> Then it is just an issue of being able to build them
> at OAR and host them.  That is another entirely
> different issue to address.
>
> --joel
>
>
> --
> Joel Sherrill, Ph.D.            Director of Research&  Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>     Support Available            (256) 722-9985
>
>
>
>
> ------------------------------
>
> Message: 6
> Date: Wed, 12 May 2010 11:27:20 -0700 (PDT)
> From: Kim George <kim.george83 at yahoo.com>
> To: Joel Sherrill <joel.sherrill at oarcorp.com>,    Alin Rus
>     <alin.codejunkie at gmail.com>
> Cc: RTEMS Users Group <rtems-users at rtems.org>
> Subject: Re: Debian APT Repository
> Message-ID: <627789.50470.qm at web46410.mail.sp1.yahoo.com>
> Content-Type: text/plain; charset="us-ascii"
>
> I'd like to try and tackle this automation project. Is there someone willing
> to be a point of contact to help me with any issues or do I just forward
> them to the users group?
>
>
>
> ________________________________
> From: Joel Sherrill <joel.sherrill at oarcorp.com>
> To: Alin Rus <alin.codejunkie at gmail.com>
> Cc: Kim George <kim.george83 at yahoo.com>; RTEMS Users Group
> <rtems-users at rtems.org>
> Sent: Wed, May 12, 2010 1:54:10 PM
> Subject: Re: Debian APT Repository
>
> On 05/12/2010 12:51 PM, Alin Rus wrote:
>> On Wed, May 12, 2010 at 8:26 PM, Alin Rus<alin.codejunkie at gmail.com>
>> wrote:
>>
>>> On Wed, May 12, 2010 at 8:19 PM, Kim George<kim.george83 at yahoo.com>
>>> wrote:
>>>
>>>> Hi,
>>>> I'm interested in setting up the Debian package APT repository and
>>>> updating
>>>> the wiki with details of Debian based installation of development tools.
>>>>  From reading the website it sounds like there's already .deb packages
>>>> that
>>>> have been created by one of the GSoC people. Can anyone point me towards
>>>> where these are so I can set up the repository.
>>>> Cheers,
>>>> Kim George
>>>> _______________________________________________
>>>> rtems-users mailing list
>>>> rtems-users at rtems.org
>>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>>
>>>>
>>>>
>>> http://epics.nsls2.bnl.gov/debian/
>>>
>>>
>> Ok, just found out that there was a gsoc project, does anyone know if
>> it's still maintained?
>>
>> http://code.google.com/p/rtems-debian-pkg/
>>
>>
>>
> No.  We wanted to merge it and support it but the student's
> approach required the maintenance of 100s of files.  The
> RPM specs are generated by autoconf, Makefile's, sed, etc
> from fragments and are easier to maintain.
>
> If deb packaging can be generated in a similar manner to
> the rpm specs in rtems/contrib/crossrpms, then we would
> love to see this merged.
>
> Then it is just an issue of being able to build them
> at OAR and host them.  That is another entirely
> different issue to address.
>
> --joel
>
>
> --
> Joel Sherrill, Ph.D.            Director of Research&  Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>     Support Available            (256) 722-9985
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> <http://www.rtems.org/pipermail/rtems-users/attachments/20100512/db9bca40/attachment-0001.htm>
>
> ------------------------------
>
> Message: 7
> Date: Wed, 12 May 2010 14:02:40 -0500
> From: Joel Sherrill <joel.sherrill at OARcorp.com>
> To: Kim George <kim.george83 at yahoo.com>
> Cc: RTEMS Users Group <rtems-users at rtems.org>
> Subject: Re: Debian APT Repository
> Message-ID: <4BEAFB50.6010805 at oarcorp.com>
> Content-Type: text/plain; charset="ISO-8859-1"; format=flowed
>
> On 05/12/2010 01:27 PM, Kim George wrote:
>> I'd like to try and tackle this automation project. Is there someone
>> willing to be a point of contact to help me with any issues or do I
>> just forward them to the users group?
>>
> Just keep asking on the user's list.  There is more
> knowledge here. :)
>
> --joel
>> ------------------------------------------------------------------------
>> *From:* Joel Sherrill <joel.sherrill at oarcorp.com>
>> *To:* Alin Rus <alin.codejunkie at gmail.com>
>> *Cc:* Kim George <kim.george83 at yahoo.com>; RTEMS Users Group
>> <rtems-users at rtems.org>
>> *Sent:* Wed, May 12, 2010 1:54:10 PM
>> *Subject:* Re: Debian APT Repository
>>
>> On 05/12/2010 12:51 PM, Alin Rus wrote:
>> > On Wed, May 12, 2010 at 8:26 PM, Alin Rus<alin.codejunkie at gmail.com
>> <mailto:alin.codejunkie at gmail.com>>  wrote:
>> >
>> >> On Wed, May 12, 2010 at 8:19 PM, Kim George<kim.george83 at yahoo.com
>> <mailto:kim.george83 at yahoo.com>>  wrote:
>> >>
>> >>> Hi,
>> >>> I'm interested in setting up the Debian package APT repository and
>> updating
>> >>> the wiki with details of Debian based installation of development
>> tools.
>> >>>  From reading the website it sounds like there's already .deb
>> packages that
>> >>> have been created by one of the GSoC people. Can anyone point me
>> towards
>> >>> where these are so I can set up the repository.
>> >>> Cheers,
>> >>> Kim George
>> >>> _______________________________________________
>> >>> rtems-users mailing list
>> >>> rtems-users at rtems.org <mailto:rtems-users at rtems.org>
>> >>> http://www.rtems.org/mailman/listinfo/rtems-users
>> >>>
>> >>>
>> >>>
>> >> http://epics.nsls2.bnl.gov/debian/
>> >>
>> >>
>> > Ok, just found out that there was a gsoc project, does anyone know if
>> > it's still maintained?
>> >
>> > http://code.google.com/p/rtems-debian-pkg/
>> >
>> >
>> >
>> No.  We wanted to merge it and support it but the student's
>> approach required the maintenance of 100s of files.  The
>> RPM specs are generated by autoconf, Makefile's, sed, etc
>> from fragments and are easier to maintain.
>>
>> If deb packaging can be generated in a similar manner to
>> the rpm specs in rtems/contrib/crossrpms, then we would
>> love to see this merged.
>>
>> Then it is just an issue of being able to build them
>> at OAR and host them.  That is another entirely
>> different issue to address.
>>
>> --joel
>>
>>
>> --
>> Joel Sherrill, Ph.D.            Director of Research&  Development
>> joel.sherrill at OARcorp.com <mailto:joel.sherrill at OARcorp.com>
>> On-Line Applications Research
>> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>>    Support Available            (256) 722-9985
>>
>>
>
>
> --
> Joel Sherrill, Ph.D.            Director of Research&  Development
> joel.sherrill at OARcorp.com        On-Line Applications Research
> Ask me about RTEMS: a free RTOS  Huntsville AL 35805
>     Support Available            (256) 722-9985
>
>
>
>
> ------------------------------
>
> Message: 8
> Date: Wed, 12 May 2010 22:08:40 +0300
> From: Alin Rus <alin.codejunkie at gmail.com>
> To: Kim George <kim.george83 at yahoo.com>
> Cc: RTEMS Users Group <rtems-users at rtems.org>
> Subject: Re: Debian APT Repository
> Message-ID:
>     <AANLkTilYMYfJGUZ2zCxNotyQsh6z9VqaJlL0xuuULxf- at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> On Wed, May 12, 2010 at 9:27 PM, Kim George <kim.george83 at yahoo.com> wrote:
>> I'd like to try and tackle this automation project. Is there someone
>> willing
>> to be a point of contact to help me with any issues or do I just forward
>> them to the users group?
>>
>> ________________________________
>> From: Joel Sherrill <joel.sherrill at oarcorp.com>
>> To: Alin Rus <alin.codejunkie at gmail.com>
>> Cc: Kim George <kim.george83 at yahoo.com>; RTEMS Users Group
>> <rtems-users at rtems.org>
>> Sent: Wed, May 12, 2010 1:54:10 PM
>> Subject: Re: Debian APT Repository
>>
>> On 05/12/2010 12:51 PM, Alin Rus wrote:
>>> On Wed, May 12, 2010 at 8:26 PM, Alin Rus<alin.codejunkie at gmail.com>
>>> wrote:
>>>
>>>> On Wed, May 12, 2010 at 8:19 PM, Kim George<kim.george83 at yahoo.com>
>>>> wrote:
>>>>
>>>>> Hi,
>>>>> I'm interested in setting up the Debian package APT repository and
>>>>> updating
>>>>> the wiki with details of Debian based installation of development
>>>>> tools.
>>>>>? From reading the website it sounds like there's already .deb packages
>>>>> that
>>>>> have been created by one of the GSoC people. Can anyone point me
>>>>> towards
>>>>> where these are so I can set up the repository.
>>>>> Cheers,
>>>>> Kim George
>>>>> _______________________________________________
>>>>> rtems-users mailing list
>>>>> rtems-users at rtems.org
>>>>> http://www.rtems.org/mailman/listinfo/rtems-users
>>>>>
>>>>>
>>>>>
>>>> http://epics.nsls2.bnl.gov/debian/
>>>>
>>>>
>>> Ok, just found out that there was a gsoc project, does anyone know if
>>> it's still maintained?
>>>
>>> http://code.google.com/p/rtems-debian-pkg/
>>>
>>>
>>>
>> No.? We wanted to merge it and support it but the student's
>> approach required the maintenance of 100s of files.? The
>> RPM specs are generated by autoconf, Makefile's, sed, etc
>> from fragments and are easier to maintain.
>>
>> If deb packaging can be generated in a similar manner to
>> the rpm specs in rtems/contrib/crossrpms, then we would
>> love to see this merged.
>>
>> Then it is just an issue of being able to build them
>> at OAR and host them.? That is another entirely
>> different issue to address.
>>
>> --joel
>>
>>
>> --
>> Joel Sherrill, Ph.D.? ? ? ? ? ? Director of Research&? Development
>> joel.sherrill at OARcorp.com? ? ? ? On-Line Applications Research
>> Ask me about RTEMS: a free RTOS? Huntsville AL 35805
>> ? ? Support Available? ? ? ? ? ? (256) 722-9985
>>
>>
>>
>
> I guess one way to achieve this would be to "reuse" the official
> debian packages:
>
> apt-get source gcc-4.4
> remove all specific patches
> add rtems patch
> modify rules.patch
> modify prefix rules2
>
> build package
>
> --
> Alin Rus
>
>
> ------------------------------
>
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
>
>
> End of rtems-users Digest, Vol 44, Issue 15
> *******************************************
>

As long as you're using

export GCC_TARGET=$ARCH

you'll also find in rules various configure parameters, also you need
to build gcc using newlib.

IMHO this should be the way to go, it will be also easier to maintain.
-- 
Alin Rus



More information about the users mailing list