Thread overview
gdcgnu - RPM/DEB packages
Dec 19, 2006
Jeff
Dec 22, 2006
Jeff
December 18, 2006
I put my RPM packages up at: http://gdcgnu.sourceforge.net/

They're built for Fedora Core 5, but if you can live with
them being for "redhat-linux" instead of "linux-gnu", then
you can use the Alien tool to convert them to DEB packages:

fakeroot alien --keep-version --scripts gdc-0.20-1.i386.rpm

Source packages are also provided (+ nosrc.rpm, without GCC),
that can build an entire GCC collection plus stand-alone GDC.
On Fedora Core, you need to use --with compat32 to build them.

Otherwise these GNU packages should match the Mac/Win ones ?

--anders

PS. I plan to post real DEBs later too, once I figure it out.
December 19, 2006
Awesome, thanks for doing this; I think it'll make a lot of people happy. I'm at work at the moment, but I'll be sure to check them out when I get home. :)
December 22, 2006
Curious:


jeff@meatpopsicle:~/Downloads/D$ fakeroot alien --keep-version --scripts gdc-0.20-1.i386.rpm
gdc_0.20-1_i386.deb generated
jeff@meatpopsicle:~/Downloads/D$ sudo dpkg -i gdc_0.20-1_i386.deb
(Reading database ... 167368 files and directories currently installed.)
Preparing to replace gdc 0.20-1 (using gdc_0.20-1_i386.deb) ...
Unpacking replacement gdc ...
Setting up gdc (0.20-1) ...
[: 6: configure: bad number


Has anyone had success with alien-generated debs for this?




Anders F Björklund wrote:
> I put my RPM packages up at: http://gdcgnu.sourceforge.net/
> 
> They're built for Fedora Core 5, but if you can live with
> them being for "redhat-linux" instead of "linux-gnu", then
> you can use the Alien tool to convert them to DEB packages:
> 
> fakeroot alien --keep-version --scripts gdc-0.20-1.i386.rpm
> 
> Source packages are also provided (+ nosrc.rpm, without GCC),
> that can build an entire GCC collection plus stand-alone GDC.
> On Fedora Core, you need to use --with compat32 to build them.
> 
> Otherwise these GNU packages should match the Mac/Win ones ?
> 
> --anders
> 
> PS. I plan to post real DEBs later too, once I figure it out.
December 22, 2006
Jeff wrote:

> jeff@meatpopsicle:~/Downloads/D$ fakeroot alien --keep-version --scripts gdc-0.20-1.i386.rpm
> gdc_0.20-1_i386.deb generated
> 
> Has anyone had success with alien-generated debs for this?

Try again, without the --scripts (they don't seem to work anyway) and:
ln -s /lib/libgcc_s.so.1 /usr/lib/*-redhat-linux/4.0.3/libgcc_s.so

It installed OK on Ubuntu Dapper.

--anders