Andrew Johnson
05377e5886
Merged changes from 3.14 branch
...
Includes everything up to revno 12355 on 2012-08-07
2012-08-07 12:31:55 -05:00
Andrew Johnson
b993e29fad
configure: Minor fixes
...
Don't add extraneous characters when SHRLIB_VERSION or GNU_TARGET
are empty. The addprefix or addsuffix functions only include the
prefix/suffix part if the list argument is not empty.
This fixes issues naming libCap5.so at build-time.
2012-08-07 09:41:21 -05:00
Andrew Johnson
8b616ba00a
Merged changes from 3.14 branch
...
Includes everything up to revno 12352 on 2012-07-31
2012-07-31 14:04:38 -05:00
Andrew Johnson
1864ac41fb
Add support for native linux-arm builds.
2012-07-30 17:50:30 -05:00
Andrew Johnson
80da40b32f
Switch darwin to use mkmf for dependencies.
...
The clang preprocessor doesn't understand -MF and we already
have to use mkmf when building fat binaries anyway.
2012-07-27 18:39:15 -05:00
Andrew Johnson
72ddb72ade
Fix up Unix issues from previous commit.
...
Also removed win32-x86-cygwin architecture support files,
use the cygwin-x86 or win32-x86-mingw targets instead.
2012-07-27 18:27:15 -05:00
Andrew Johnson
97490f6977
Reworking of DLL build rules.
...
Allows static libraries and DLLs to be built without having
to do a 'make clean' in between on Cygwin and MinGW targets.
The Cygwin build still crashes when SHARED_LIBRARIES = YES
though, loading Com.dll seems to cause the problem.
2012-07-27 16:24:39 -05:00
Andrew Johnson
3b64840183
Delete remnants of Aix and Borland.
2012-07-20 18:11:15 -05:00
Andrew Johnson
c6aab2390c
More fixes for Cygwin builds.
2012-07-20 17:50:59 -05:00
Andrew Johnson
01272dc73f
More changes needed for Cygwin.
2012-07-18 16:30:54 -05:00
Andrew Johnson
e02aaf5ef9
Various updates for building on Windows/Cygwin/MinGW
2012-07-18 15:35:32 -05:00
Andrew Johnson
64c9d7a32a
Many tweaks to build on Windows.
...
There might be some more to come since I'm not committing
this from my Win32 system.
2012-07-17 14:33:31 -05:00
Andrew Johnson
c79532e4ce
configure: Remove HDEPENDS option.
...
Setting HDEPENDS=NO no longer works and would be hard to
fix, so this commit deletes the option completely.
2012-06-21 17:21:40 -05:00
Andrew Johnson
93bc78d2ed
configure: Don't override CROSS_COMPILER_TARGET_ARCHS on Cygwin
...
All other host architectures have this setting commented out in
their host-specific CONFIG_SITE.<host>.Common files, so the user
doesn't get confused.
2012-06-21 12:09:04 -05:00
Andrew Johnson
2b9d66273c
Merged changes from 3.14 branch.
...
Includes everything up to revno 12343 on 2012-05-21
2012-05-29 16:44:49 -05:00
Andrew Johnson
39ca40fc33
configure: Move GNU_DIR setting for linux-xscale_be
...
All site-specific values should be set in CONFIG_SITE files.
2012-05-16 11:57:17 -05:00
Andrew Johnson
b5e1b0117c
configure: Added linux-microblaze target files
2012-05-16 11:56:14 -05:00
Andrew Johnson
ee327a6440
configure: Use $(PERL) variable to call perl.
2012-05-07 10:36:04 -05:00
Andrew Johnson
45348ad6ca
configure: Replace COMMENT with NOP in ECHO
...
Using COMMENT the ECHO command drops the whole line under -s,
whereas using NOP (':') only drops up to the next ';' terminator.
2012-05-01 10:15:45 -05:00
Andrew Johnson
afd9e69a25
Merged parallel-fixes branch
...
This separates out the rules for %.d files from the rules that
create the related target file (%.o etc). Doing this can reduce
the amount of work to be done when rebuilding applications after
making source changes. For files in O.Common which can be built
by any target architecture this can solve problems when parallel
builds (-j) are used.
2012-04-06 16:13:22 -05:00
Andrew Johnson
09c313764e
Merged changes from 3.14 branch
...
Includes all changes up to revno 12334 on 2012-04-04
2012-04-06 12:22:20 -05:00
Andrew Johnson
3a1252da17
Updates to build for iOS targets
2012-04-06 10:11:34 -05:00
Andrew Johnson
129710f149
configure: Redo Jason Abernathy's SHRLIB fix
...
Now works properly on Darwin where the version number comes
before the .dylib extension. This also makes Windows-specific
conditional tests fully generic.
2012-03-30 14:40:58 -05:00
Andrew Johnson
6b8515b860
configure: Reformat/reword comments in CONFIG_SITE
...
Also moved the GNU_TUNE_CFLAGS setting into the file
os/CONFIG_SITE.Common.linux-x86 since it is arch-specific.
2012-03-30 14:37:57 -05:00
Andrew Johnson
140845fb14
configure: Cleanup MacOS and iOS build settings
...
Makes it easy for users to select which compiler to use.
2012-02-27 14:40:07 -06:00
Andrew Johnson
bf965cc59c
Merged changes from 3.14 branch.
...
Includes all changes up to rev 12323 on 2012-02-20.
2012-02-20 10:01:04 -06:00
Andrew Johnson
3dec8f8c78
configure: Removed _ARM_NWFP_
...
Apparently this hasn't been needed for quite a while.
2012-02-20 09:52:54 -06:00
Janet Anderson
2d6f8c585a
Move DarwinPorts and Fink usage definitions to a CONFIG_SITE file
2012-01-05 10:45:20 -06:00
Andrew Johnson
946ab722a1
Merged changes from 3.14 branch
...
Includes all changes up to the 3.14.12.2 release on 2011-12-12.
2011-12-12 16:16:33 -06:00
Andrew Johnson
e289af684f
configure/linux: Move -g option to OPT_CFLAGS_YES
...
We were adding it to OP_SYS_CFLAGS but if HOST_OPT=NO
you then get two -g options on the gcc command line.
2011-12-07 13:56:04 -06:00
Andrew Johnson
df6f042b5a
configure: Update Apple iOS builds
...
* Default IOS_VERSION to 5.0
* Allow ARMv6 and ARMv7 universal binaries by setting ARCH_CLASS
* Switch from g++ to clang++
2011-12-02 10:42:43 -06:00
Andrew Johnson
2905b5bb72
Parallel build rule fixes
2011-11-14 18:28:26 -06:00
Andrew Johnson
dfb8c8ed2b
Merged the rebased-atomics branch.
...
There are still quite a lot of warnings that need cleaning
up when compiling epicsAtomicTest.cpp on a 64-bit system.
2011-09-09 18:09:48 -05:00
Andrew Johnson
7b82df189e
Prepare configure/os to support vxWorks 6.9
...
I don't think it will work yet though because they removed the
taskVarLib which we use, and there may be other issues too.
2011-09-09 09:41:35 -05:00
Andrew Johnson
dbaa045afc
Merged compiler-specific include files branch.
2011-09-01 11:42:37 -05:00
Andrew Johnson
1862b33328
configure: Adjust instructions for switching to clang
2011-08-31 17:32:32 -05:00
Andrew Johnson
86c373370f
configure: Show how to switch to clang on Linux.
2011-08-26 16:49:36 -05:00
Janet Anderson
e76dc17dfb
Move linux-x86 GNU compiler tune c flag setting to CONFIG_SITE file.
2011-08-22 09:31:26 -05:00
Janet Anderson
4a18db9f99
Initial version
2011-08-19 16:20:53 -05:00
Janet Anderson
71c232afc3
Initial version
2011-08-19 16:20:36 -05:00
Janet Anderson
5f1378971d
Initial version
2011-08-19 16:20:19 -05:00
Janet Anderson
7b53bd5265
Initial version
2011-08-19 16:19:51 -05:00
Janet Anderson
f48c625cb1
Added -mtune=generic cflag. Changed -m32 to OP_SYS flags.
2011-08-19 15:57:06 -05:00
Janet Anderson
3c83a35d9d
Added comment about specifying specific machine type and/or cpu type
2011-08-19 15:56:48 -05:00
Janet Anderson
061b654f03
Changed += to = to become ARCH_DEP_CFLAGS override.
2011-08-19 15:54:10 -05:00
Jeff Hill
8a8ba04405
o merged in changes from the "compiler specific build" branch
...
o changed implementation of default mutex locked version to be POSIX specific
so we can use a static pthread mutex which is more efficent
2011-08-19 13:48:03 -06:00
Andrew Johnson
d25ee10b71
Merge 3.14 changes from 2011-06-06 to 2011-08-17
2011-08-17 16:36:38 -05:00
Jeff Hill
be1c21fc51
o changed the build system so that we can implement functionality which is compiler specific in a separate file for each compiler. This will avoid accumulating MxN ifdef's where M is the number of OS and N is the number of comilers (worst case). This will make it easier to find code that is compiler specific centralizing all of it under libCom/osi/compiler. That should make it mush easier to port EPICS to run on a new compiler.
...
o refactored compilerDependencies.h into code that is compiler specific (one libCom/osi/compiler/xxx/compilerDependent.h for each comiler) and code that isnt libCom/osi/compilerDependencies.h (this is a new location and is no longer in libCom/misc).
2011-08-17 13:57:46 -06:00
Jeff Hill
b5f1a94fc9
o cosmetic change CONFIG_COMMON
...
o removed setting of default i586 arch from mingw and cygwin CONFIG_SITE
2011-08-16 18:32:41 -06:00
Jeff Hill
1f7f09e818
o removed "-march=i586" from
...
configure/os/CONFIG.Common.cygwin-x86
configure/os/CONFIG.Common.linux-x86
configure/os/CONFIG.Common.win32-x86-cygwin
configure/os/CONFIG.Common.win32-x86-mingw
added commented out "-march=i586" to
configure/os/CONFIG_SITE.cygwin-x86.cygwin-x86
configure/os/CONFIG_SITE.win32-x86-cygwin.win32-x86-cygwin
added "-march=i586" to (I know that this compiler currently defaults to 386)
configure/os/CONFIG_SITE.win32-x86-mingw.win32-x86-mingw
2011-08-11 09:49:09 -06:00