From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,64fc8d51594bbaad X-Google-Attributes: gid103376,public X-Google-Language: ENGLISH,ASCII-7-bit Newsgroups: comp.lang.ada Subject: Re: Porting GNAT/GCC to FreeBSD References: <447F6576.6020006@lovetemple.adbloccker.net> <447ff962$0$4504$9b4e6d93@newsread2.arcor-online.net> From: M E Leypold Date: 03 Jun 2006 16:42:06 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Some cool user agent (SCUG) NNTP-Posting-Host: 88.72.202.67 X-Trace: news.arcor-ip.de 1149345416 88.72.202.67 (3 Jun 2006 16:36:56 +0200) X-Complaints-To: abuse@arcor-ip.de Path: g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!inka.de!rz.uni-karlsruhe.de!morpheus.pingos.org!news.szaf.org!news.unit0.net!newsfeed.arcor-ip.de!news.arcor-ip.de!not-for-mail Xref: g2news2.google.com comp.lang.ada:4667 Date: 2006-06-03T16:42:06+02:00 List-Id: Hi, Karel Miklav writes: > But I wasn't able to find the build script, only source and binary > packages. Where can I get it? In the source package. Debian has all build stuff in the source tree in sub directory debian/. To get the source tree just say the following on a debian system: $> mkdir gnat # apt-get fetches multiple files, this dir to keep all together $> cd gnat $> apt-get source gnat (... lots of stuff happen here: archive is fetched and unpacked ) $> cd gnat-3.15p/debian/ $> ls changelog README.Debian rules control (...) The build rules are in the file 'rules'. This is actually a makefile and the target from which all build actions flow is (surprisingly) called 'build'. build: build-stamp build-stamp: patch-stamp config-stamp compiler-stamp static-stamp \ shared-stamp tools-stamp dh_testdir touch build-stamp compiler-stamp: config-stamp $(MAKE) CFLAGS='-O2' GNATLIBCFLAGS="$(GNATLIBCFLAGS)" LANGUAGES='c ada' touch compiler-stamp config-stamp: CC=gnatgcc ./configure --prefix=/usr --host=$(OS) --target=$(OS) cd ada && touch treeprs.ads a-einfo.h a-sinfo.h nmake.adb nmake.ads # Prevent running autoheader, which isn't necessary touch cstamp-h.in touch config-stamp (...) and so on. i think xou get picture. Much luck :-). Regards -- Markus