[pooma-dev] cygwin builds..
Julian C. Cummings
cummings at linkline.com
Sat Apr 14 18:47:53 UTC 2001
Hi Jim,
I've just checked in a hack to rules.mk that will sidestep
this problem for now. I put a "-" in front of the cp command,
so that errors will be ignored by make and it will continue.
The problem occurs because we have assumed in the build
system that executable files have no filename extension.
But under cygwin they do have an extension, which is .exe.
The cp command fails because the filenames used are wrong.
I think it is hard to actually fix this problem. We could define
a make variable for the filename extension add define it as
".exe" under cygwin. But then we would have to append this
make variable to the name of every executable in every test
code and example code and benchmark code makefile in Pooma.
I believe that would do it, but it's a lot of work and ugliness.
The cp command is there to save each executable in a
PASS-specific file, so that you can build multiple passes
(typically DBG or OPT, with the default being APP) within
the same suite subdirectory. Seems like overkill, but I think
Blanca used this feature to take advantage of reusing template
instantiation information files from a debug build in a subsequent
optimized build. The cp is wasteful; I would have done an mv
followed by a symbolic link to the PASS-specific file.
My change at least allows multiple builds to proceed under cygwin.
-- Julian C.
Dr. Julian C. Cummings
Staff Scientist, CACR/Caltech
(626) 395-2543
cummings at cacr.caltech.edu
-----Original Message-----
From: James Crotinger [mailto:JimC at proximation.com]
Sent: Thursday, April 12, 2001 12:13 PM
To: 'pooma-dev at pooma.codesourcery.com'
Subject: [pooma-dev] cygwin builds..
Has anyone made progress on building under Cygwin? I built the library
(after manually creating the lib/LINUXEGCS directory it didnt get created
by the script and then failed because the directory didnt exist). But
trying to build an application results in the cp: test and test_APP are the
same file error, which causes the build to abort. (It does build one file,
but the make fails so Id have to build one test at a time).
Why does this copy even exist Ive always wondered what it was for.
Jim
---------------------------------------------------
James A. Crotinger
Software Research Scientist
Proximation, LLC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://sourcerytools.com/pipermail/pooma-dev/attachments/20010414/a5800fae/attachment.html>
More information about the pooma-dev
mailing list