Commit graph

173 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
e44656e9bb src/cmp/cmpmain.lsp: when building a standalone executable, wrap everything with a CL_CATCH_ALL to provide an exit point for EXT:QUIT and also to protect from unwanted transfers of control. 2009-11-08 15:38:33 +01:00
Juan Jose Garcia Ripoll
6e7caff184 The :prologue-code in cmp:builder is now executed after cl_boot() and it can be lisp code. 2009-11-01 02:38:36 +01:00
Juan Jose Garcia Ripoll
5a35ce22df When creating a unified fasl, the init function name has to be exported outside the DLL. In cygwin this means adding ECL_DLLEXPORT to +lisp-program-init+. 2009-10-29 14:30:40 +01:00
Juan Jose Garcia Ripoll
a5d5c7d3f6 src/cmp/cmpmain.lsp: clean up the files we create (*.c, *.h) before writing onto them. 2009-10-05 15:54:46 +02:00
Juan Jose Garcia Ripoll
fe000b075a src/cmp/cmpmain.lsp: silence the program "mt" that embeds the manifest in a Windows executable. 2009-10-05 12:12:05 +02:00
Juanjo
bedd620359 src/cmp/cmpmain.lsp: in Windows, embed the manifest file into the executable, dll or fasl, and delete any other automatically generated files (*.exp, *.lib, etc). 2009-10-05 11:00:50 +02:00
Juan Jose Garcia Ripoll
260853ef0a QUIT now unwinds all forms before exiting. In addition it can kill all existing threads. 2009-09-13 20:46:21 +02:00
Juan Jose Garcia Ripoll
e434ebc3aa cmpmain.lsp: ensure that MKSTEMP did not fail or otherwise print a meaningful message 2009-08-31 15:23:10 +02:00
Juan Jose Garcia Ripoll
95ac61115c ECL was still using the deprecated c_string_to_object 2009-08-29 10:53:54 +02:00
Juan Jose Garcia Ripoll
6496d98d23 There was still one place in C:BUNDLE-CC where command line arguments were not surrounded by double quotes - this caused problems when the output file had spaces. 2009-08-12 10:25:45 +02:00
Juan Jose Garcia Ripoll
085a5a4388 Implement a new configuration flag, --enable-rpath. 2009-08-10 23:23:16 +02:00
Juan Jose Garcia Ripoll
f2625c0330 Changed SI:SAFE-EVAL so that when a third value is supplied, it does not set up a condition handler. 2009-08-03 22:11:49 +02:00
Juan Jose Garcia Ripoll
efc4505d58 The ld-format variable can not use tilde-question-mark format because the remaining linker options may contain tildes (happens in Windows) and be misunderstood as format commands 2009-07-24 15:58:45 +02:00
Juan Jose Garcia Ripoll
70a281909a Protect sysfun.lsp from a nasty user that changes the readtable. 2009-07-02 00:13:21 +02:00
Juan Jose Garcia Ripoll
0fa3d1651f The routine compiler-output-values and compile-file still thought that compiler-error < error and that compilation process could not be aborted. 2009-06-25 23:14:51 +02:00
Juan Jose Garcia Ripoll
d35eb63139 Let ECL record source file positions instead of form numbers. 2009-06-10 11:52:42 +02:00
Juan Jose Garcia Ripoll
9ed3b8d762 Remove the previous warning about the compiled file extensions 2009-05-18 10:45:59 +02:00
Juan Jose Garcia Ripoll
fa2cb50c1e Rewrite ENSURE-VALID-FILE-EXTENSION to allow the CONTINUE restart do what it should. Change the variable that rules the behavior to EXT::*UNKNOWN-FILE-TYPES* so that it can be set in ~/.eclrc without loading the compiler. 2009-05-17 13:29:33 +02:00
Juan Jose Garcia Ripoll
78d5ab27f1 The file types in *load-hooks* are strings, so we have to search with string= 2009-05-17 13:09:58 +02:00
Juan Jose Garcia Ripoll
ea55f580ec Fixed typo 2009-05-17 13:04:21 +02:00
Juan Jose Garcia Ripoll
400d00d619 More informative message when COMPILE-FILE gets passed an unknown output file type. 2009-05-17 13:02:03 +02:00
Juan Jose Garcia Ripoll
ba61e87926 Respect the user's choice of binary file extensions in COMPILE-FILE, allowing the registration of new file types when they are unknown to LOAD. 2009-05-17 12:39:52 +02:00
Juan Jose Garcia Ripoll
47d594912f Create two functions for writing comments in and out-of-line, and use them to write the compiled file header (compiler, date, etc). 2009-05-02 15:14:27 +02:00
Juan Jose Garcia Ripoll
38eea852ab Compiled files now carry some comments with the source they came from. 2009-05-02 14:39:01 +02:00
Samium Gromoff
4a5d2a691f Compiler input designation. 2009-05-02 10:12:23 +02:00
Juan Jose Garcia Ripoll
87e95b9909 FILE-STRING-LENGTH only works with file streams. The code compiles again with --disable-unicode. 2009-01-04 13:57:50 +01:00
Juan Jose Garcia Ripoll
c9b36e4005 Merged the new_signals branch. 2008-12-23 12:08:29 +01:00
Juan Jose Garcia Ripoll
6128b5f0ca Reroute MSVC import libraries for object files so that they do not
collide with the libraries generated by asdf:make-build. (S. Gromoff)
2008-12-17 16:33:57 +01:00
Juan Jose Garcia Ripoll
b2457f3806 Merged in latest fixes from master 2008-11-09 20:08:34 +01:00
Juan Jose Garcia Ripoll
ae157bf9ab Delete static libraries before creating a new one. Solves problems with new versions of already installed object files. 2008-10-27 19:19:24 +01:00
Juan Jose Garcia Ripoll
d2a8385f7d Basic support for multibyte external formats 2008-10-23 23:17:35 +02:00
Juan Jose Garcia Ripoll
82dfdc15b8 Move some documentation from help.lsp to the files where functions are defined. Add documentation for a few functions. 2008-10-05 13:24:42 +02:00
jjgarcia
30282ef0e0 A empty file was created by COMPILE and not deleted 2008-09-14 09:17:53 +00:00
jjgarcia
b05ef138e7 Always use unique names for object files. 2008-09-13 20:06:55 +00:00
jjgarcia
ac26fca899 Only three variables *COMPILE-PRINT*, *COMPILE-VERBOSE* and *SUPPRESS-COMPILER-MESSAGES* to govern information printed by COMPILE-FILE/COMPILE 2008-08-21 19:44:47 +00:00
jjgarcia
f537156979 WITH-COMPILATION-UNIT is no longer needed to trap compiler conditions. Compiler now also traps internal errors and prints all errors more beautifully. 2008-08-21 09:53:04 +00:00
jjgarcia
ef7f2dd39a Implemented compiler conditions 2008-08-19 21:58:37 +00:00
jjgarcia
7c2f63ea47 In miwng32, replace dllwrap with gcc -shared 2008-08-04 20:57:51 +00:00
jjgarcia
a34a91df3a One more use of dllwrap had to be made quieter. 2008-08-04 18:07:16 +00:00
jjgarcia
310297e884 Make dllwrap quieter. 2008-08-04 17:55:14 +00:00
jjgarcia
1e7967d0d9 Added a feature to identify we have PDE registration and update *source-location* when reading a file to be compiled 2008-07-12 16:55:07 +00:00
jjgarcia
70c30b8ef9 In compile-file, ensure that :output-file is appended the proper file extension 2008-05-30 23:55:54 +00:00
jgarcia
b213c88975 When system-p is T, the default is :object, not :fasl. 2008-05-19 09:25:49 +00:00
jgarcia
8f28327ddf Simplifed MAKE-ARRAY. Deactivated the old garbage collector. New optimizers for MAKE-ARRAY and VECTOR-PUSH*. Declarations are now held in *cmp-env* instead of in global variables. 2008-05-18 20:08:39 +00:00
jgarcia
f3b1febf4e Merged in changes from sealed_slot branch 2008-05-09 09:48:29 +00:00
jgarcia
76479f7686 Honor the *COMPILE-VERBOSE* flag also in C:BUILDER 2008-05-09 07:47:22 +00:00
jgarcia
14c3b6bdae Some more fixes for windows 2008-05-06 07:48:32 +00:00
jgarcia
cd6b735da8 Avoid using --rpath, since it is not required 2008-03-18 21:51:15 +00:00
jgarcia
2cb141c3ba The symbols from Boehm-Weiser garbage collector are now exported from the DLL also in Windows. This means PROFILE can be built there. In addition, under mingw32 we now only export symbols which have been marked with dllexport. 2008-03-17 08:28:20 +00:00
jgarcia
e7317997df Improved handling of DEBUG and SAFETY declarations 2008-02-08 21:49:47 +00:00