Das Forum zu Z88OS (Open Source) / The newsgroup for Z88OS (open source)

Moderatoren: ccad, mz15, auroraIco, Lehrstuhl

Benutzeravatar
vom finzi
#1585
Hallo everybody, please excuse my English but my German is terrible. :oops:
I would like to do some work on Z88r to integrate it in other software I developed in the past.
I'm actually using LccWin32 for my projects and I have some difficulties in building Z88r (V14) with it.
(with nmake everything was ok)

May be someone have already a .prj file or some istructions?

For information.
my idea is to have the possibility of processing a "standard" Nastran or Marc file:
Nodes,
Connectivity (Brick, terta, tria, quad, truss, beam),
boundary conditions (fixed disp.),
Element property (shell thckness, truss or beam section, ...),
materials (linear elastic),
multiple load cases (poin load, pressure).

So I think to follow these steps:
1 - conver Nastran/Marc file to Z88 files (plus additional i2 files for multiple load cases)
2 - modify Z88r to have the possibility to deal with multiple load cases (may be in a command line version).

Is this possible in your opinion?

Thank a lot for your support.

Andrea Finzi
vom ccad
#1587
Hello Andrea,

in fact, LCCWIN32 is a fine compiler and in the past I compiled Z88 with it. I did not try it with the version 14 but it should and will work anyway. Perhaps this would be the easyist way: Go to the Directory /src, then to /z88r and mix the files of /common and /win into one new directory. Now you have all the nesessary files for a compile run. Start LCCWIN32, i.e. the GUI, make a new project and enter all the files from your new directory. Don't forget to enter the proper path to the Z88R include files.

Best regards

Prof. Rieg
Benutzeravatar
vom finzi
#1588
Hello Prof. Rieg,
it works:
1) all sources in one directory;
2) proper path to the Z88R include files;
3) proper defines;
4) pure ansic option (if not, sintax errors are reported).

Annex.: .prj and make file's description

Thank you,
Andrea

PS is there a place were I can see the developping team targets and activities?

; Wedit project file. Syntax: Name = value
[z88r_Lccwin32]
PrjFiles=70
File1=z88r.rc
....................
File70=apla88.c
ProjectFlags=0
Frame=1 1 1022 766
StatusBar=0,0,132,784
Name=z88r_Lccwin32
CurrentFile=C:\prg\z88\z88v14os\src\z88r\lccwin32\bhexa88.c
OpenFiles=70
ProjectPath=c:\prg\z88\z88v14os\src\z88r\lccwin32
SourcesDir=C:\prg\z88\z88v14os\src\z88r\lccwin32
Defines=WIN32 _WINDOWS NDEBUG FR_XWIN32 FR_WIN FR_XDOUB FR_XLONG
IncludeFilesCount=9
IncludeFile0=C:\prg\z88\z88v14os\src\z88r\lccwin32
IncludeFile1=c:\prg\lcc\include
Libraries=comctl32.lib
LinkerArgs=
ProjectTime=74640
MakeName=c:\prg\lcc\bin\make.exe
MakeDir=C:\prg\z88\z88v14os\src\z88r\lccwin32\lcc
Exe=c:\prg\z88\z88v14os\src\z88r\lccwin32\lcc\z88r_lccwin32.exe
DebuggerArguments=
DbgExeName=c:\prg\z88\z88v14os\src\z88r\lccwin32\lcc\z88r_lccwin32.exe
DbgDir=c:\prg\z88\z88v14os\src\z88r\lccwin32\lcc
CompilerFlags=16783948
Useframework=0
NumberOfBreakpoints=0
ErrorFile=C:\prg\z88\z88v14os\src\z88r\lccwin32\lcc\z88r_Lccwin32.err
NrOfFileProcessors=0
OpenFile1="C:\prg\z88\z88v14os\src\z88r\lccwin32\bhexa88.c" 10 125 125 1296 522
......................................
OpenFile70="C:\prg\z88\z88v14os\src\z88r\lccwin32\apla88.c" 1 0 0 1171 397
____________________________________________________________________________________________
# Wedit Makefile for project z88r_Lccwin32
SRCDIR=c:\prg\z88\z88v14os\src\z88r\lccwin32
CFLAGS=-I"C:\prg\z88\z88v14os\src\z88r\lccwin32" -I"c:\prg\lcc\include" -DWIN32 -D_WINDOWS -DNDEBUG -DFR_XWIN32 -DFR_WIN -DFR_XDOUB -DFR_XLONG -O -g4 -A -ansic
CC=$(LCCROOT)\bin\lcc.exe
LINKER=$(LCCROOT)\bin\lcclnk.exe
OBJS=\
z88r.res \
z88r.obj \
...........................
apla88.obj

LIBS=comctl32.lib
EXE=z88r_lccwin32.exe

$(EXE): $(OBJS) Makefile
$(LINKER) -subsystem windows -o $(SRCDIR)\lcc\z88r_lccwin32.exe $(OBJS) $(LIBS)

# Build z88r.res
Z88R_RC=\
$(SRCDIR)\Z88R.ICO\
$(SRCDIR)\Z88R.CUR\
$(SRCDIR)\Z88R.BMP\

z88r.res: $(Z88R_RC) $(SRCDIR)\z88r.rc
$(LCCROOT)\bin\lrc.exe -I$(SRCDIR) -I"C:\prg\z88\z88v14os\src\z88r\lccwin32" -I"c:\prg\lcc\include" -DWIN32 -D_WINDOWS -DNDEBUG -DFR_XWIN32 -DFR_WIN -DFR_XDOUB -DFR_XLONG $(SRCDIR)\z88r.rc

# Build z88r.c
Z88R_C=\
$(SRCDIR)\z88r.h\
$(SRCDIR)\z88math.h\

z88r.obj: $(Z88R_C) $(SRCDIR)\z88r.c
$(CC) -c $(CFLAGS) $(SRCDIR)\z88r.c

# Build wrim88r.c
WRIM88R_C=\
$(SRCDIR)\z88r.h\
$(SRCDIR)\z88math.h\

wrim88r.obj: $(WRIM88R_C) $(SRCDIR)\wrim88r.c
$(CC) -c $(CFLAGS) $(SRCDIR)\wrim88r.c

.............................................
# Build apla88.c
APLA88_C=\
$(SRCDIR)\z88r.h\
$(SRCDIR)\z88math.h\

apla88.obj: $(APLA88_C) $(SRCDIR)\apla88.c
$(CC) -c $(CFLAGS) $(SRCDIR)\apla88.c

link:
$(LINKER) -subsystem windows -o $(SRCDIR)\lcc\z88r_lccwin32.exe $(OBJS) $(LIBS)

clean:
del $(OBJS) z88r_lccwin32.exe
Benutzeravatar
vom mz15
#1591
Hello finzi,

on top of the startpage from the forum you can find the category "Z88News". There wo post team targets and activities.

regards
mz15
vom ccad
#1595
Hello Andrea,

many thanks for your publication of the project/make files for LCCWIN32. Certainly interesting for folks using this fine free compiler.

Best regards
Prof. Rieg
Benutzeravatar
vom finzi
#1683
Hi,
I forgot to tell that I had to include memory.h in z88ai.c
Ciao,
Andrea

/***********************************************************************
* Fuer Windows
***********************************************************************/
#ifdef FR_WIN
#include <z88r.h>
#include <memory.h> /* FINZI-0 added to compile with lccwin32 */
#endif
Z88Aurora V5 released

Hey Dave, thank you for your feedback. We are gl[…]

Hallo Herrjakel, Ihr System ist eigentlich schon […]

Hallo ich versuche ein eine etwas komplizierteres[…]

3D spacecontroller

Da die Oberfläche von Z88Aurora weiterhin auf[…]