Commit graph

182 commits

Author SHA1 Message Date
Juan Jose Garcia Ripoll
d47c766a13 Add empty lines around messages at the beginning of COMPILE-FILE, also at the end, and after a note from SAFE-SYSTEM. 2010-02-19 17:24:04 +01:00
Juan Jose Garcia Ripoll
21057b19bd The old and new compilers now share cmputil.lsp. Toplevel forms are stored both in macroexpanded and non-macroexpanded forms, and the compiler messages print only the innermost form that was not macroexpanded. Improve readability of compiler messages. 2010-02-19 17:16:32 +01:00
Juan Jose Garcia Ripoll
6a550ec8ab COMPILE-FILE-PATHNAME accepts the :EXTERNAL-FORMAT keyword argument. 2010-02-18 09:02:12 +01:00
Juan Jose Garcia Ripoll
32c75cd640 COMPILE-FILE admits the keyword argument :EXTERNAL-FORMAT. 2010-02-17 19:48:33 +01:00
Juan Jose Garcia Ripoll
cee6703602 COMPILE-FILE only outputs NIL when there were serious errors 2010-02-16 22:31:54 +01:00
Juan Jose Garcia Ripoll
092ca8a165 New variables c:*user-ld-flags* and c:*user-cc-flags* 2010-02-03 22:14:07 +01:00
Juan Jose Garcia Ripoll
65c1dbb06f Missing arguments to several warnings (S. Bourakev). 2010-01-25 09:09:10 +01:00
Juan Jose Garcia Ripoll
3447e860eb src/cmp/cmpmain.lsp: in C:BUILDER, when using SI:SAFE-EVAL to execute the prologue and epilogue codes, allow by default to start up the debugger. 2009-11-14 10:49:54 +01:00
Juan Jose Garcia Ripoll
a316938550 EXT:QUIT now stores the exit code of the program and this is returned by standalone executables. 2009-11-09 10:12:45 +01:00
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