www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.dwt - less than 1 minute to build dwt.lib by DMD 1.031

reply yidabu <yidabu.spam gmail.com> writes:
the steps are:
1 rename tango\sys\win32\Types.di to Types.d

2 run dsss build dwt, copy and paste dwt_static file generated by dsss, then
close dsss
3 run dmd  dwt_static




-- 
yidabu <yidabu.spam gmail.com>
http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese):
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/
Jul 30 2008
next sibling parent yidabu <yidabu.spam gmail.com> writes:
how about include the DMD cmdfile in dwt package, it's too long to build lib
via DSSS:

cmdfile of dwt-debug :

-version=TANGOSVN
-debug
-g
-unittest
-lib
dwt\accessibility\AccessibleControlListener.d
dwt\accessibility\AccessibleListener.d
dwt\accessibility\AccessibleTextListener.d
dwt\accessibility\ACC.d
dwt\accessibility\Accessible.d
dwt\accessibility\AccessibleAdapter.d
dwt\accessibility\AccessibleControlAdapter.d
dwt\accessibility\AccessibleControlEvent.d
dwt\accessibility\AccessibleEvent.d
dwt\accessibility\AccessibleTextAdapter.d
dwt\accessibility\AccessibleTextEvent.d
dwt\custom\BidiSegmentListener.d
dwt\custom\CBannerLayout.d
dwt\custom\CLayoutData.d
dwt\custom\CTabFolder2Listener.d
dwt\custom\CTabFolderLayout.d
dwt\custom\CTabFolderListener.d
dwt\custom\MovementListener.d
dwt\custom\PaintObjectListener.d
dwt\custom\SashFormLayout.d
dwt\custom\ScrolledCompositeLayout.d
dwt\custom\TableTreeEditor.d
dwt\custom\TextChangeListener.d
dwt\custom\SashFormData.d
dwt\custom\StyledTextEvent.d
dwt\custom\TableTree.d
dwt\custom\AnimatedProgress.d
dwt\custom\BidiSegmentEvent.d
dwt\custom\Bullet.d
dwt\custom\BusyIndicator.d
dwt\custom\CBanner.d
dwt\custom\CCombo.d
dwt\custom\CLabel.d
dwt\custom\CTabFolder.d
dwt\custom\CTabFolder2Adapter.d
dwt\custom\CTabFolderAdapter.d
dwt\custom\CTabFolderEvent.d
dwt\custom\CTabItem.d
dwt\custom\ControlEditor.d
dwt\custom\ExtendedModifyEvent.d
dwt\custom\ExtendedModifyListener.d
dwt\custom\LineBackgroundEvent.d
dwt\custom\LineBackgroundListener.d
dwt\custom\LineStyleEvent.d
dwt\custom\LineStyleListener.d
dwt\custom\MovementEvent.d
dwt\custom\PaintObjectEvent.d
dwt\custom\PopupList.d
dwt\custom\ST.d
dwt\custom\SashForm.d
dwt\custom\ScrolledComposite.d
dwt\custom\StackLayout.d
dwt\custom\StyledTextContent.d
dwt\custom\StyledTextDropTargetEffect.d
dwt\custom\StyledTextListener.d
dwt\custom\StyledTextPrintOptions.d
dwt\custom\TableCursor.d
dwt\custom\TableEditor.d
dwt\custom\TableTreeItem.d
dwt\custom\TextChangedEvent.d
dwt\custom\TextChangingEvent.d
dwt\custom\TreeEditor.d
dwt\custom\VerifyKeyListener.d
dwt\custom\ViewForm.d
dwt\custom\ViewFormLayout.d
dwt\custom\StyledTextRenderer.d
dwt\custom\StyleRange.d
dwt\custom\DefaultContent.d
dwt\custom\StyledText.d
dwt\dnd\DNDEvent.d
dwt\dnd\DNDListener.d
dwt\dnd\DragSourceListener.d
dwt\dnd\DropTargetListener.d
dwt\dnd\ByteArrayTransfer.d
dwt\dnd\Clipboard.d
dwt\dnd\DND.d
dwt\dnd\DragSource.d
dwt\dnd\DragSourceAdapter.d
dwt\dnd\DragSourceEffect.d
dwt\dnd\DragSourceEvent.d
dwt\dnd\DropTarget.d
dwt\dnd\DropTargetAdapter.d
dwt\dnd\DropTargetEffect.d
dwt\dnd\DropTargetEvent.d
dwt\dnd\FileTransfer.d
dwt\dnd\ImageTransfer.d
dwt\dnd\OleEnumFORMATETC.d
dwt\dnd\TableDragSourceEffect.d
dwt\dnd\TableDropTargetEffect.d
dwt\dnd\TextTransfer.d
dwt\dnd\Transfer.d
dwt\dnd\TransferData.d
dwt\dnd\TreeDragSourceEffect.d
dwt\dnd\TreeDropTargetEffect.d
dwt\dnd\URLTransfer.d
dwt\dnd\HTMLTransfer.d
dwt\dnd\RTFTransfer.d
dwt\dwthelper\ByteArrayInputStream.d
dwt\dwthelper\InputStream.d
dwt\dwthelper\BufferedInputStream.d
dwt\dwthelper\WeakHashMap.d
dwt\dwthelper\WeakRef.d
dwt\dwthelper\FileInputStream.d
dwt\dwthelper\ResourceBundle.d
dwt\dwthelper\XmlTranscode.d
dwt\dwthelper\FileOutputStream.d
dwt\dwthelper\OutputStream.d
dwt\dwthelper\Runnable.d
dwt\dwthelper\System.d
dwt\dwthelper\ByteArrayOutputStream.d
dwt\dwthelper\File.d
dwt\dwthelper\InflaterInputStream.d
dwt\dwthelper\utils.d
dwt\events\ArmListener.d
dwt\events\ControlListener.d
dwt\events\DisposeListener.d
dwt\events\DragDetectListener.d
dwt\events\ExpandListener.d
dwt\events\FocusListener.d
dwt\events\HelpListener.d
dwt\events\KeyListener.d
dwt\events\MenuDetectListener.d
dwt\events\MenuListener.d
dwt\events\ModifyListener.d
dwt\events\MouseListener.d
dwt\events\MouseMoveListener.d
dwt\events\MouseTrackListener.d
dwt\events\MouseWheelListener.d
dwt\events\PaintListener.d
dwt\events\ShellListener.d
dwt\events\TraverseListener.d
dwt\events\TreeListener.d
dwt\events\VerifyListener.d
dwt\events\ArmEvent.d
dwt\events\ControlAdapter.d
dwt\events\ControlEvent.d
dwt\events\DisposeEvent.d
dwt\events\DragDetectEvent.d
dwt\events\ExpandAdapter.d
dwt\events\ExpandEvent.d
dwt\events\FocusAdapter.d
dwt\events\FocusEvent.d
dwt\events\HelpEvent.d
dwt\events\KeyAdapter.d
dwt\events\KeyEvent.d
dwt\events\MenuAdapter.d
dwt\events\MenuDetectEvent.d
dwt\events\MenuEvent.d
dwt\events\ModifyEvent.d
dwt\events\MouseAdapter.d
dwt\events\MouseEvent.d
dwt\events\MouseTrackAdapter.d
dwt\events\PaintEvent.d
dwt\events\SelectionAdapter.d
dwt\events\SelectionEvent.d
dwt\events\ShellAdapter.d
dwt\events\ShellEvent.d
dwt\events\TraverseEvent.d
dwt\events\TreeAdapter.d
dwt\events\TreeEvent.d
dwt\events\TypedEvent.d
dwt\events\VerifyEvent.d
dwt\events\SelectionListener.d
dwt\graphics\DeviceData.d
dwt\graphics\Drawable.d
dwt\graphics\ImageLoaderListener.d
dwt\graphics\ImageDataLoader.d
dwt\graphics\Color.d
dwt\graphics\Cursor.d
dwt\graphics\Device.d
dwt\graphics\Font.d
dwt\graphics\FontData.d
dwt\graphics\FontMetrics.d
dwt\graphics\GC.d
dwt\graphics\GCData.d
dwt\graphics\GlyphMetrics.d
dwt\graphics\Image.d
dwt\graphics\ImageData.d
dwt\graphics\ImageLoader.d
dwt\graphics\ImageLoaderEvent.d
dwt\graphics\LineAttributes.d
dwt\graphics\PaletteData.d
dwt\graphics\Path.d
dwt\graphics\PathData.d
dwt\graphics\Pattern.d
dwt\graphics\Point.d
dwt\graphics\RGB.d
dwt\graphics\Rectangle.d
dwt\graphics\Region.d
dwt\graphics\Resource.d
dwt\graphics\TextLayout.d
dwt\graphics\TextStyle.d
dwt\graphics\Transform.d
dwt\internal\C.d
dwt\internal\CloneableCompatibility.d
dwt\internal\DWTEventListener.d
dwt\internal\Lock.d
dwt\internal\SerializableCompatibility.d
dwt\internal\gdip\native.d
dwt\internal\gdip\Gdip.d
dwt\internal\image\JPEGSegment.d
dwt\internal\image\JPEGVariableSizeSegment.d
dwt\internal\image\LZWNode.d
dwt\internal\image\PngChunkReader.d
dwt\internal\image\PngFileReadState.d
dwt\internal\image\PngHuffmanTables.d
dwt\internal\image\PngIendChunk.d
dwt\internal\image\PngLzBlockReader.d
dwt\internal\image\TIFFModifiedHuffmanCodec.d
dwt\internal\image\TIFFRandomFileAccess.d
dwt\internal\image\JPEGAppn.d
dwt\internal\image\JPEGArithmeticConditioningTable.d
dwt\internal\image\JPEGComment.d
dwt\internal\image\JPEGEndOfImage.d
dwt\internal\image\JPEGFixedSizeSegment.d
dwt\internal\image\JPEGFrameHeader.d
dwt\internal\image\JPEGHuffmanTable.d
dwt\internal\image\JPEGQuantizationTable.d
dwt\internal\image\JPEGRestartInterval.d
dwt\internal\image\JPEGScanHeader.d
dwt\internal\image\JPEGStartOfImage.d
dwt\internal\image\LEDataOutputStream.d
dwt\internal\image\LZWCodec.d
dwt\internal\image\PngChunk.d
dwt\internal\image\PngDecodingDataStream.d
dwt\internal\image\PngIdatChunk.d
dwt\internal\image\PngIhdrChunk.d
dwt\internal\image\PngInputStream.d
dwt\internal\image\PngPlteChunk.d
dwt\internal\image\PngTrnsChunk.d
dwt\internal\image\TIFFDirectory.d
dwt\internal\image\FileFormat.d
dwt\internal\image\GIFFileFormat.d
dwt\internal\image\JPEGDecoder.d
dwt\internal\image\JPEGFileFormat.d
dwt\internal\image\LEDataInputStream.d
dwt\internal\image\OS2BMPFileFormat.d
dwt\internal\image\PNGFileFormat.d
dwt\internal\image\PngDeflater.d
dwt\internal\image\PngEncoder.d
dwt\internal\image\PngHuffmanTable.d
dwt\internal\image\TIFFFileFormat.d
dwt\internal\image\WinBMPFileFormat.d
dwt\internal\image\WinICOFileFormat.d
dwt\internal\ole\win32\extras.d
dwt\internal\ole\win32\COM.d
dwt\internal\ole\win32\COMAPI.d
dwt\internal\ole\win32\COMTYPES.d
dwt\internal\ole\win32\DOCOBJ.d
dwt\internal\ole\win32\EXDISP.d
dwt\internal\ole\win32\MSHTMHST.d
dwt\internal\ole\win32\OAIDL.d
dwt\internal\ole\win32\OBJIDL.d
dwt\internal\ole\win32\OLEIDL.d
dwt\internal\ole\win32\ifs.d
dwt\internal\opengl\win32\WGL.d
dwt\internal\opengl\win32\native.d
dwt\internal\win32\OS.d
dwt\internal\win32\WINAPI.d
dwt\internal\win32\WINTYPES.d
dwt\internal\DWTEventObject.d
dwt\internal\Platform.d
dwt\internal\ImageList.d
dwt\internal\BidiUtil.d
dwt\internal\Compatibility.d
dwt\internal\Library.d
dwt\layout\FillData.d
dwt\layout\FillLayout.d
dwt\layout\FormAttachment.d
dwt\layout\FormData.d
dwt\layout\FormLayout.d
dwt\layout\GridData.d
dwt\layout\GridLayout.d
dwt\layout\RowData.d
dwt\layout\RowLayout.d
dwt\ole\win32\OleEvent.d
dwt\ole\win32\OleEventTable.d
dwt\ole\win32\OLE.d
dwt\ole\win32\OleFunctionDescription.d
dwt\ole\win32\OleParameterDescription.d
dwt\ole\win32\OlePropertyDescription.d
dwt\ole\win32\OleAutomation.d
dwt\ole\win32\OleClientSite.d
dwt\ole\win32\OleControlSite.d
dwt\ole\win32\OleEventSink.d
dwt\ole\win32\OleListener.d
dwt\ole\win32\OlePropertyChangeSink.d
dwt\ole\win32\Variant.d
dwt\ole\win32\OleFrame.d
dwt\opengl\GLCanvas.d
dwt\opengl\GLData.d
dwt\printing\PrintDialog.d
dwt\printing\Printer.d
dwt\printing\PrinterData.d
dwt\widgets\Shell.d
dwt\widgets\Slider.d
dwt\widgets\Spinner.d
dwt\widgets\Synchronizer.d
dwt\widgets\TabFolder.d
dwt\widgets\TabItem.d
dwt\widgets\Table.d
dwt\widgets\TableColumn.d
dwt\widgets\TableItem.d
dwt\widgets\Text.d
dwt\widgets\ToolBar.d
dwt\widgets\ToolItem.d
dwt\widgets\ToolTip.d
dwt\widgets\Tracker.d
dwt\widgets\Tray.d
dwt\widgets\TrayItem.d
dwt\widgets\Tree.d
dwt\widgets\TreeColumn.d
dwt\widgets\TreeItem.d
dwt\widgets\TypedListener.d
dwt\widgets\Widget.d
dwt\widgets\Display.d
dwt\widgets\Control.d
dwt\widgets\Decorations.d
dwt\widgets\FileDialog.d
dwt\widgets\Menu.d
dwt\widgets\MenuItem.d
dwt\widgets\RunnableLock.d
dwt\widgets\Listener.d
dwt\widgets\Button.d
dwt\widgets\Canvas.d
dwt\widgets\Caret.d
dwt\widgets\ColorDialog.d
dwt\widgets\Combo.d
dwt\widgets\Composite.d
dwt\widgets\CoolBar.d
dwt\widgets\CoolItem.d
dwt\widgets\DateTime.d
dwt\widgets\Dialog.d
dwt\widgets\DirectoryDialog.d
dwt\widgets\Event.d
dwt\widgets\EventTable.d
dwt\widgets\ExpandBar.d
dwt\widgets\ExpandItem.d
dwt\widgets\FontDialog.d
dwt\widgets\Group.d
dwt\widgets\IME.d
dwt\widgets\Item.d
dwt\widgets\Label.d
dwt\widgets\Layout.d
dwt\widgets\Link.d
dwt\widgets\List.d
dwt\widgets\MessageBox.d
dwt\widgets\Monitor.d
dwt\widgets\ProgressBar.d
dwt\widgets\Sash.d
dwt\widgets\Scale.d
dwt\widgets\ScrollBar.d
dwt\widgets\Scrollable.d
dwt\program\Program.d
dwt\DWT.d
dwt\DWTError.d
dwt\DWTException.d
-ofdwt-debug.lib




-- 
yidabu <yidabu.spam gmail.com>
http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese):
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/
Jul 30 2008
prev sibling parent yidabu <yidabu.spam gmail.com> writes:
program link in the "dmd -lib" builded dwt.lib, the executable size will
floated to 15 MB, it's a dmd bug?

 


-- 
yidabu <yidabu.spam gmail.com>
http://www.dsource.org/projects/dwin

D 语言-中文(D Chinese):
http://www.d-programming-language-china.org/
http://bbs.d-programming-language-china.org/
http://dwin.d-programming-language-china.org/
http://scite4d.d-programming-language-china.org/
Jul 30 2008