[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: we need a release announcement -- soon [source material]



In article <20000806165537.A723@watervalley.net> Chris Lawrence <quango@watervalley.net> wrote:
[snip]
> You can do it if you use the "pentium-builder" package.  Kind of a
> misnomer, really; if you export DEBIAN_BUILDARCH=68060, it will build
> 68060 optimized packages on m68k ;-)  I doubt it works with
> "new-style" gcc arch specifications (-march=68060 vs. -m68060)
> though. 
[snip]

Hello!
It does allready, as far as I understand it.
          cu andreas

| #!/usr/bin/perl
| if ($ENV{DEBIAN_BUILDARCH} eq undef) {
|         exec('gcc.real',@ARGV);
| }
| elsif ($ARGV[0] ne '--print-libgcc-file-name') {
|         exec('gcc.real',"-mcpu=$ENV{DEBIAN_BUILDARCH}",
|              "-march=$ENV{DEBIAN_BUILDARCH}",@ARGV);
| }
| else {
|         $_=`gcc.real @ARGV`;
|         s:/i486:/$ENV{DEBIAN_BUILDARCH}:;
|         print $_;
| }



Reply to: