GNU Pascal Homepage - gpc - gpc-announce - gpc-de - gpc-doc
Diese Seite auf deutsch

Mail #4031

Back to main page of archive

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  

From: Maurice Lombardi
Subject: gpc-20000707 djgpp native compilation
Date: 13 Jul 2000, 17:14:18

Frank Heckenbach a écrit :
> 
> Maurice Lombardi wrote:
> > ! ADD_RTS_PARENT_DIR = sed -e 's,-B\([^/]\),-B../../\1,g;s,^\([^/][^ ]*\),../../\1,'`
> > ! ADD_RTS_PARENT_DIR = sed -e 's,-B\([^/][^:]\),-B../../\1,g;s,^\([^/][^:][^ ]*\),../../\1,'`
> 
> I think this should be:
> 
> ADD_RTS_PARENT_DIR = sed -e 's,-B\([^/][^:]\),-B../../\1,g;s,^\([^/][^ :]*\),../../\1,'
> 
> But I'm wondering what the space is about, anyway (can the name of
> the compiler ever be a single character?), so I think the following
> is also ok:
> 
> ADD_RTS_PARENT_DIR = sed -e 's,-B\([^/][^:]\),-B../../\1,g;s,^\([^/][^:]*\),../../\1,'

No the [^]* is needed. I have downloaded gpc-20000714 and it fails now.

The relevant part of the output is (with some air interspersed)

cd p/rts && c:/djgpp/bin/make.exe CC="`echo c:/djgpp/gnu/gcc-2.952/build.djg/gcc
/xgcc -Bc:/djgpp/gnu/gcc-2.952/build.djg/gcc/ -Bc:/djgpp/i586-pc-msdosdjgpp/bin/
 -Ic:/djgpp/i586-pc-msdosdjgpp/include' ' | sed -e 's,-B\([^/][^:]\),-B../../\1,
g;s,^\([^/][^:]*\),../../\1,'`" PC="`echo ./xgpc -B./' ' | sed -e 's,-B\([^/][^:
]\),-B../../\1,g;s,^\([^/][^:]*\),../../\1,'`" SHELL="c:/djgpp/bin/bash.exe" CFL
AGS="-O2" AR="ar" AR_FLAGS="rc" RANLIB="ranlib" RANLIB_TEST="[ -f ranlib ] || (
[ "i586-pc-msdosdjgpp" = "i586-pc-msdosdjgpp" ] && [ -f /usr/bin/ranlib -o -f /b
in/ranlib ] )" RTSFLAGS="" DESTDIR="../.." all

make.exe[2]: Entering directory `c:/djgpp/gnu/gcc-2.952/build.djg/gcc/p/rts'

[snip]

../../c:/djgpp/gnu/gcc-2.952/build.djg/gcc/xgcc -Bc:/djgpp/gnu/gcc-2.952/build.d
jg/gcc/ -Bc:/djgpp/i586-pc-msdosdjgpp/bin/ -Ic:/djgpp/i586-pc-msdosdjgpp/include
  -c -I. -W -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing
-declarations -O2  -DRTS_RELEASE_STRING="'`cat /djgpp/gnu/gcc-2.952/gcc/p/rts/rt
s-version`'"  /djgpp/gnu/gcc-2.952/gcc/p/rts/rts.c

c:/djgpp/tmp/dj300000: ../../c:/djgpp/gnu/gcc-2.952/build.djg/gcc/xgcc: command
not found

whereas my modified make-lang.in gave

cd p/rts && c:/djgpp/bin/make.exe CC="`echo
c:/djgpp/gnu/gcc-2.952/build.djg/gcc/xgcc
-Bc:/djgpp/gnu/gcc-2.952/build.djg/gcc/ -Bc:/djgpp/i586-pc-msdosdjgpp/bin/
-Ic:/djgpp/i586-pc-msdosdjgpp/include | sed -e
's,-B\([^/][^:]\),-B../../\1,g;s,^\([^/][^:][^ ]*\),../../\1,'`" PC="`echo
./xgpc -B./ | sed -e 's,-B\([^/][^:]\),-B../../\1,g;s,^\([^/][^:][^
]*\),../../\1,'`" SHELL="c:/djgpp/bin/bash.exe" CFLAGS="-O2" AR="ar"
AR_FLAGS="rc" RANLIB="ranlib" RANLIB_TEST="[ -f ranlib ] || ( [
"i586-pc-msdosdjgpp" = "i586-pc-msdosdjgpp" ] && [ -f /usr/bin/ranlib -o -f
/bin/ranlib ] )" RTSFLAGS="" DESTDIR="../.." all

make.exe[2]: Entering directory `c:/djgpp/gnu/gcc-2.952/build.djg/gcc/p/rts'

[snip]

c:/djgpp/gnu/gcc-2.952/build.djg/gcc/xgcc
-Bc:/djgpp/gnu/gcc-2.952/build.djg/gcc/ -Bc:/djgpp/i586-pc-msdosdjgpp/bin/
-Ic:/djgpp/i586-pc-msdosdjgpp/include -c -I. -W -Wall -Wpointer-arith
-Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -O2 
-DRTS_RELEASE_STRING="'`cat /djgpp/gnu/gcc-2.952/gcc/p/rts/rts-version`'" 
/djgpp/gnu/gcc-2.952/gcc/p/rts/rts.c

I need a great supply of asprin nearby when trying to decipher those sed scripts 

Maurice

Previous mail   Next mail   Unformatted/full headers
Overview  10 days   Subject   Date   Thread   Author  


Replies

Author Subject Date
Tom Schneider gpc-20000707 djgpp native compilation 13 Jul 2000, 11:29:14
Maurice Lombardi gpc-20000707 djgpp native compilation 13 Jul 2000, 17:37:16

In reply to

Author Subject Date
Frank Heckenbach gpc-20000707 djgpp native compilation 12 Jul 2000, 21:36:15

Back to main page of archive


Note: This page contains information that does not originate from the owner of this web site, but from the authors of the mails archived. The owner of this web site is not responsible for the content of such information. Any use of that infomation requires the consent of the respective author.

Where WWW addresses (URLs) in the mails archived are marked as hyperlinks, this is only for the comfort of the reader. The content of the web pages linked to like this does not necessarily reflect the opinion of the owner of this web site or of the authors of the mails archived. The owner of this web site is not responsible for the content of such web pages. Those pages are explicitly not to be considered as part of the content of this page, but merely as references.


This page was created by Crystal 0.999 (Linux 2.4.27/i686).